FLASH-X
Doxygen Generated Documentation From Interface Source Code
Functions/Subroutines
Grid_getNumVars.F90 File Reference

Go to the source code of this file.

Functions/Subroutines

subroutine Grid_getNumVars (gridStruct, nVar)
 

Function/Subroutine Documentation

◆ Grid_getNumVars()

subroutine Grid_getNumVars ( integer  gridStruct,
integer  nVar 
)

Returns the number of variables in each mesh data structure. Allows us to write more flexible code that is not dependent on NUNK_VARS and NFACE_VARS, etc.

gridStruct – Integer value representing mesh data structure; one of CENTER,FACEX,FACEY,FACEZ,SCRATCH_CTR,etc. nVar – Number of mesh variables in gridStruct

NOTES

The symbols CENTER,FACEX,FACEY,FACEZ,SCRATCH_CTR, etc., for use in in the gridStruct argument, are defined in header file constants.h .

Definition at line 30 of file Grid_getNumVars.F90.