62 TYPE(t_region
) :: region
65 INTEGER :: icont, ilev
68 CHARACTER(CHRLEN) :: rcsidentstring
70 INTEGER :: naiv, narv, ncont, ncv, ndv, ntv
71 INTEGER :: iaiv, iarv, icv, idv, ipcl, itv, npclsmax
73 TYPE(t_level
),
POINTER :: plevel
74 TYPE(t_plag),
POINTER :: pplag
79 rcsidentstring =
'$RCSfile: PLAG_InitMemory.F90,v $ $Revision: 1.5 $'
81 global => region%global
84 'PLAG_InitMemory.F90' )
86 IF ( global%myProcid == masterproc .AND. &
87 global%verbLevel > verbose_none )
THEN
88 WRITE(stdout,
'(A,3X,A)') solver_name,
'Initializing memory for PLAG...'
93 DO ilev=1,region%nGridLevels
95 plevel => region%levels(ilev)
96 pplag => region%levels(ilev)%plag
98 ncont = region%plagInput%nCont
99 npclsmax = region%plagInput%nPclsMax
100 naiv = region%levels(ilev)%plag%nAiv
101 narv = region%levels(ilev)%plag%nArv
102 ncv = region%levels(ilev)%plag%nCv
103 ndv = region%levels(ilev)%plag%nDv
104 ntv = region%levels(ilev)%plag%nTv
107 WRITE(stdout,
'(A,3(I2,3X))')
'iCont, cvPlagMass, dvPlagVolu ', &
108 icont, pplag%cvPlagMass(icont), &
109 pplag%dvPlagVolu(icont)
113 pplag%nextIdNumber= 0
114 pplag%nPclsMax = npclsmax
116 DO ipcl = 1, npclsmax
120 pplag%aiv(iaiv,ipcl) = crazy_value_int
121 pplag%aivOld(iaiv,ipcl) = crazy_value_int
127 pplag%arv(iarv,ipcl) = -1.0e+30_rfreal
128 pplag%arvOld(iarv,ipcl) = -1.0e+30_rfreal
137 pplag%cv(icv,ipcl) = -1.0e+30_rfreal
138 pplag%rhs(icv,ipcl) = -1.0e+30_rfreal
139 pplag%rhsSum(icv,ipcl) = -1.0e+30_rfreal
140 pplag%cvOld(icv,ipcl) = -1.0e+30_rfreal
145 pplag%dv(idv,ipcl) = -1.0e+30_rfreal
150 pplag%tv(itv,ipcl) = -1.0e+30_rfreal
157 IF ( ( global%flowType == flow_unsteady ) .AND. &
158 ( global%doStat == active ) )
THEN
subroutine registerfunction(global, funName, fileName)
subroutine, public plag_initstat(pRegion, pPlag)
subroutine plag_initmemory(region)
subroutine, public plag_initeulerianfield(pRegion, pPlag)
subroutine deregisterfunction(global)