60 CHARACTER(CHRLEN) :: &
61 RCSIdentString =
'$RCSfile: RFLU_ModCopyData.F90,v $ $Revision: 1.7 $'
107 REAL(RFREAL),
DIMENSION(:,:) :: var,varserial
109 TYPE(t_grid),
POINTER :: pgrid
115 INTEGER :: icg,icg2,ivar,ivarbeg,ivarend
122 'RFLU_ModCopyData.F90')
128 ivarbeg = lbound(var,1)
129 ivarend = ubound(var,1)
131 IF ( (ivarbeg /= lbound(varserial,1)) .OR. &
132 (ivarend /= ubound(varserial,1)) )
THEN
133 CALL
errorstop(global,err_lubound_mismatch,__line__)
136 DO icg = 1,pgrid%nCellsTot
137 icg2 = pgrid%pc2sc(icg)
139 DO ivar = ivarbeg,ivarend
140 varserial(ivar,icg2) = var(ivar,icg)
190 REAL(RFREAL),
DIMENSION(:,:,:) :: var,varserial
192 TYPE(t_grid),
POINTER :: pgrid
198 INTEGER :: icg,icg2,icmp,icmpbeg,icmpend,ivar,ivarbeg,ivarend
205 'RFLU_ModCopyData.F90')
211 icmpbeg = lbound(var,1)
212 icmpend = ubound(var,1)
214 ivarbeg = lbound(var,2)
215 ivarend = ubound(var,2)
217 IF ( (icmpbeg /= lbound(varserial,1)) .OR. &
218 (icmpend /= ubound(varserial,1)) )
THEN
219 CALL
errorstop(global,err_lubound_mismatch,__line__)
222 IF ( (ivarbeg /= lbound(varserial,2)) .OR. &
223 (ivarend /= ubound(varserial,2)) )
THEN
224 CALL
errorstop(global,err_lubound_mismatch,__line__)
227 DO icg = 1,pgrid%nCellsTot
228 icg2 = pgrid%pc2sc(icg)
230 DO icmp = icmpbeg,icmpend
231 DO ivar = ivarbeg,ivarend
232 varserial(icmp,ivar,icg2) = var(icmp,ivar,icg)
281 INTEGER,
DIMENSION(:) :: var,varserial
283 TYPE(t_grid),
POINTER :: pgrid
296 'RFLU_ModCopyData.F90')
302 DO icg = 1,pgrid%nCellsTot
303 icg2 = pgrid%pc2sc(icg)
305 var(icg) = varserial(icg2)
354 REAL(RFREAL),
DIMENSION(:,:) :: var,varserial
356 TYPE(t_grid),
POINTER :: pgrid
362 INTEGER :: icg,icg2,ivar,ivarbeg,ivarend
369 'RFLU_ModCopyData.F90')
375 ivarbeg = lbound(var,1)
376 ivarend = ubound(var,1)
378 IF ( (ivarbeg /= lbound(varserial,1)) .OR. &
379 (ivarend /= ubound(varserial,1)) )
THEN
380 CALL
errorstop(global,err_lubound_mismatch,__line__)
383 DO icg = 1,pgrid%nCellsTot
384 icg2 = pgrid%pc2sc(icg)
386 DO ivar = ivarbeg,ivarend
387 var(ivar,icg) = varserial(ivar,icg2)
subroutine, public rflu_copy_celldatap2s_r3d(global, pGrid, var, varSerial)
subroutine registerfunction(global, funName, fileName)
subroutine, public rflu_copy_celldatas2p_r2d(global, pGrid, var, varSerial)
subroutine, public rflu_copy_celldatap2s_r2d(global, pGrid, var, varSerial)
subroutine, public rflu_copy_celldatas2p_i1d(global, pGrid, var, varSerial)
subroutine errorstop(global, errorCode, errorLine, addMessage)
subroutine deregisterfunction(global)