FLASH-X
Doxygen Generated Documentation From Interface Source Code
Simulation_getVarnameType.F90
Go to the documentation of this file.
1!! NOTICE
2!! Copyright 2022 UChicago Argonne, LLC and contributors
3!!
4!! Licensed under the Apache License, Version 2.0 (the "License");
5!! you may not use this file except in compliance with the License.
6!!
7!! Unless required by applicable law or agreed to in writing, software
8!! distributed under the License is distributed on an "AS IS" BASIS,
9!! WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
10!! See the License for the specific language governing permissions and
11!! limitations under the License.
12!!
33
34
35subroutine Simulation_getVarnameType(varname,vartype)
36implicit none
37
38#include "constants.h"
39#include "Simulation.h"
40
41 integer, intent(out) :: vartype
42 integer, intent(in) :: varname
43
44 vartype = VARTYPE_ERROR ! By default vartype is an ERROR
45
46end subroutine Simulation_getVarnameType
47
48
49! Stub file for getVarnameType
50! given a variable name e.g. DENS_VAR
51! returns the type it belongs to VARTYPE_{GENERIC,PER_VOLUME,PER_MASS}
subroutine Simulation_getVarnameType(varname, vartype)