64 TYPE(t_region
),
POINTER :: pregion
70 CHARACTER(CHRLEN) :: rcsidentstring
71 INTEGER :: cvmixtpres,cvmixtxvel,cvmixtyvel,cvmixtzvel
78 rcsidentstring =
'$RCSfile: RFLU_SetVarInfo.F90,v $ $Revision: 1.6 $'
80 global => pregion%global
83 'RFLU_SetVarInfo.F90')
89 SELECT CASE ( pregion%mixtInput%fluidModel )
95 CASE ( fluid_model_incomp )
96 cvmixtxvel =
rflu_getcvloc(global,fluid_model_incomp,cv_mixt_xvel)
97 cvmixtyvel =
rflu_getcvloc(global,fluid_model_incomp,cv_mixt_yvel)
98 cvmixtzvel =
rflu_getcvloc(global,fluid_model_incomp,cv_mixt_zvel)
99 cvmixtpres =
rflu_getcvloc(global,fluid_model_incomp,cv_mixt_pres)
101 pregion%mixt%cvInfo(cvmixtxvel) = var_info_posneg
102 pregion%mixt%cvInfo(cvmixtyvel) = var_info_posneg
103 pregion%mixt%cvInfo(cvmixtzvel) = var_info_posneg
104 pregion%mixt%cvInfo(cvmixtpres) = var_info_pos
110 CASE ( fluid_model_comp )
111 pregion%mixt%cvInfo(cv_mixt_dens) = var_info_pos
112 pregion%mixt%cvInfo(cv_mixt_xvel) = var_info_posneg
113 pregion%mixt%cvInfo(cv_mixt_yvel) = var_info_posneg
114 pregion%mixt%cvInfo(cv_mixt_zvel) = var_info_posneg
115 pregion%mixt%cvInfo(cv_mixt_pres) = var_info_pos
122 CALL
errorstop(global,err_reached_default,__line__)
INTEGER function rflu_getcvloc(global, fluidModel, var)
subroutine registerfunction(global, funName, fileName)
subroutine errorstop(global, errorCode, errorLine, addMessage)
subroutine deregisterfunction(global)
subroutine rflu_setvarinfo(pRegion)