create_sten_2k.h File Reference

#include "fd.h"

Go to the source code of this file.

Defines

#define DEP_F   4
 value dependency
#define DEP_DFDZ   1
 z-derivative dependency
#define DEP_DFDX   2
 x-derivative dependency
#define DEP_DFDY   3
 y-derivative dependency
#define DEP_LAPF   5
 dependency on all derivs (Laplacian)

Functions

int create_sten2_2k (FILE *stream, IWaveInfo const &ic, int k, int ndim, IPNT gtype[RDOM_MAX_NARR], int stendm[RDOM_MAX_NARR][RDOM_MAX_NARR], STENCIL *sten)
 Create stencils of a 2-2k FD scheme for a 1st order wave equations provided the dependent matrix and grid types of variables (static and dynamic) are given.


Define Documentation

#define DEP_F   4

value dependency

Definition at line 7 of file create_sten_2k.h.

#define DEP_DFDZ   1

z-derivative dependency

Definition at line 9 of file create_sten_2k.h.

#define DEP_DFDX   2

x-derivative dependency

Definition at line 11 of file create_sten_2k.h.

#define DEP_DFDY   3

y-derivative dependency

Definition at line 13 of file create_sten_2k.h.

#define DEP_LAPF   5

dependency on all derivs (Laplacian)

Definition at line 15 of file create_sten_2k.h.


Function Documentation

int create_sten2_2k ( FILE *  stream,
IWaveInfo const &  ic,
int  k,
int  ndim,
IPNT  gtype[RDOM_MAX_NARR],
int  stendm[RDOM_MAX_NARR][RDOM_MAX_NARR],
STENCIL sten 
)

Create stencils of a 2-2k FD scheme for a 1st order wave equations provided the dependent matrix and grid types of variables (static and dynamic) are given.

Parameters:
[in] stream - (FILE *) file stream for dumping run-time messages and warnings
[in] ic - (IWaveInfo const &) info struct including access to dynamic flags
[in] k - (int) spatial order 2k
[in] ndim - (int) grid dimension
[in] gtype - (IPNT *) grid type array, length = m_size
[in] stendm - (int **) stencil dependency matrix, m_size x m_size
[out] sten - (STENCIL *) STENCIL struct pointer


Generated on 5 Jan 2017 for IWAVECORE by  doxygen 1.4.7