#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 DEP_F 4 |
| #define DEP_DFDZ 1 |
| #define DEP_DFDX 2 |
| #define DEP_DFDY 3 |
| #define DEP_LAPF 5 |
| 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.
| [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 |
1.4.7