65 TYPE(t_region
),
DIMENSION(:),
POINTER :: regions
71 CHARACTER(CHRLEN) :: rcsidentstring
82 rcsidentstring =
'$RCSfile: PLAG_DerivedInputValues.F90,v $ $Revision: 1.4 $'
84 global => regions(1)%global
87 'PLAG_DerivedInputValues.F90')
89 IF ( global%myProcid == masterproc .AND. &
90 global%verbLevel > verbose_none )
THEN
91 WRITE(stdout,
'(A,1X,A)') solver_name, &
92 'Setting derived input variables for particles...'
100 DO ireg = 1,global%nRegions
102 regions(ireg)%mixtInput%computeTv = .true.
103 ncont = regions(ireg)%plagInput%nCont
105 DO ilev = 1,regions(ireg)%nGridLevels
107 IF (regions(ireg)%levels(ilev)%mixt%nTv < 2)
THEN
108 regions(ireg)%levels(ilev)%mixt%nTv = 2
111 regions(ireg)%levels(ilev)%plag%nCv = cv_plag_last + ncont
112 regions(ireg)%levels(ilev)%plag%nDv = dv_plag_last + ncont
113 regions(ireg)%levels(ilev)%plag%nTv = tv_plag_last
114 regions(ireg)%levels(ilev)%plag%nAiv = aiv_plag_last
115 regions(ireg)%levels(ilev)%plag%nArv = arv_plag_last
116 regions(ireg)%levels(ilev)%plag%nEv = ev_plag_last + ncont
122 DO ireg = lbound(regions,1),ubound(regions,1)
124 regions(ireg)%mixtInput%computeTv = .true.
125 ncont = regions(ireg)%plagInput%nCont
127 IF (regions(ireg)%mixtInput%nTv < 2)
THEN
128 regions(ireg)%mixtInput%nTv = 2
131 regions(ireg)%plag%nCv = cv_plag_last + ncont
132 regions(ireg)%plag%nDv = dv_plag_last + ncont
133 regions(ireg)%plag%nTv = tv_plag_last
134 regions(ireg)%plag%nAiv = aiv_plag_last
135 regions(ireg)%plag%nArv = arv_plag_last
136 regions(ireg)%plag%nEv = ev_plag_last + ncont
144 IF ( global%myProcid == masterproc .AND. &
145 global%verbLevel > verbose_none )
THEN
146 WRITE(stdout,
'(A,1X,A)') solver_name, &
147 'Setting derived input variables for particles done.'
subroutine registerfunction(global, funName, fileName)
subroutine deregisterfunction(global)