57 TYPE(t_region
) :: region
62 INTEGER :: icont, ipatch, itile
65 CHARACTER(CHRLEN) :: rcsidentstring
67 INTEGER :: bctype, ncont, npatches, ntiles
69 INTEGER :: ilev, n1, n2
71 INTEGER,
POINTER,
DIMENSION(:) :: pcvtilemass
73 REAL(RFREAL),
POINTER,
DIMENSION(:,:) :: prhs
75 TYPE(t_patch),
POINTER :: ppatch
81 rcsidentstring =
'$RCSfile: PLAG_InjcTileZeroRhs.F90,v $ $Revision: 1.4 $'
83 global => region%global
86 'PLAG_InjcTileZeroRhs.F90' )
91 ilev = region%currLevel
92 npatches = region%nPatches
95 npatches = region%grid%nPatches
97 ncont = region%plagInput%nCont
104 ppatch => region%levels(ilev)%patches(ipatch)
107 ppatch => region%patches(ipatch)
110 bctype = ppatch%bcType
114 IF (bctype>=bc_injection .AND. bctype<=bc_injection+bc_range)
THEN
119 n1 = abs(ppatch%l1end -ppatch%l1beg ) + 1
120 n2 = abs(ppatch%l2end -ppatch%l2beg ) + 1
124 ntiles = ppatch%nBFaces
127 ptileplag => ppatch%tilePlag
129 pcvtilemass => ptileplag%cvTileMass
130 prhs => ptileplag%rhs
135 prhs(cv_tile_momnrm,itile) = 0.0_rfreal
136 prhs(cv_tile_ener ,itile) = 0.0_rfreal
139 prhs( pcvtilemass(icont),itile) = 0.0_rfreal
subroutine registerfunction(global, funName, fileName)
subroutine plag_injctilezerorhs(region)
subroutine deregisterfunction(global)