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

Go to the source code of this file.

Functions/Subroutines

subroutine Simulation_getVarnameType (varname, vartype)
 

Function/Subroutine Documentation

◆ Simulation_getVarnameType()

subroutine Simulation_getVarnameType ( integer, intent(in)  varname,
integer, intent(out)  vartype 
)

Given a variable name (e.g., DENS_VAR), this subroutine returns the type in vartype as one of GENERIC, PER_VOLUME, or PER_MASS.

If the simulation is not configured correctly, VARTYPE_ERROR may be returned instead.

varname : name of variable

vartype : type of variable varname.

NOTES An implementation of this subroutine is usually automatically generated at setup time and should not be edited.

Definition at line 35 of file Simulation_getVarnameType.F90.