Gridfunction size parameters
The number of grid functions and parameters declared in the
setup file accessible
via several preprocessor statements. The perl script which parses
the setup file generates the
sbin/params.x which declares the following:
- NDIM = 3 ( HAD is built for 3-D structured AMR )
- NU : The number of ufuncs
- NV : The number of vfuncs
- NW : The number of wfuncs
- NPAR : The total number of parameters, both user defined and those defined in hyper and amr.
If specific subgroups of ufuncs
or vfuncs have been defined, these
will also be declared here. For example, if the setup file contained the
following declarations:
Example setup script:
ufuncs [G]
{
g11,g12,g13
}
ufuncs [F]
{
D[FV][diss=0], T[FV][diss=0], P[FV], Q
}
then sbin/params.x would also contain the declarations
- NU_G = 3 ( the number of fields defined in ufuncs[G] )
- NU_F = 4 ( the number of fields defined in the ufucns[F] ).
Notes
See Also
setup
Index of all manual pages
Examples
None