60 INTEGER :: n1, n2, n1p, n2p, ioff, ijbeg, ijend, errorflag
65 'RFLO_CopyBoundaryData.F90' )
69 IF (
patch%mixt%nSwitches > 0)
THEN
70 ALLOCATE(
patch%mixt%switches(
patch%mixt%nSwitches),stat=errorflag )
71 global%error = errorflag
72 IF (global%error /= 0) CALL
errorstop( global,err_allocate,&
74 patch%mixt%switches(:) = patchprev%mixt%switches(:)
79 IF (
patch%mixt%distrib == bcdat_distrib)
THEN
80 n1p = abs(patchprev%l1end-patchprev%l1beg)
81 n2p = abs(patchprev%l2end-patchprev%l2beg)
85 ijbeg = indij( 0, 0,ioff)
86 ijend = indij(n1,n2,ioff)
87 IF (
patch%mixt%nData > 0)
THEN
88 ALLOCATE(
patch%mixt%vals(
patch%mixt%nData,ijbeg:ijend), &
90 global%error = errorflag
91 IF (global%error /= 0) CALL
errorstop( global,err_allocate,&
94 patchprev%mixt%vals,
patch%mixt%vals )
98 IF (
patch%mixt%nData > 0)
THEN
99 ALLOCATE(
patch%mixt%vals(
patch%mixt%nData,0:1),stat=errorflag )
100 global%error = errorflag
101 IF (global%error /= 0) CALL
errorstop( global,err_allocate,&
103 patch%mixt%vals(:,:) = patchprev%mixt%vals(:,:)
subroutine registerfunction(global, funName, fileName)
subroutine errorstop(global, errorCode, errorLine, addMessage)
subroutine rflo_copyboundarydata(global, patchPrev, patch)
subroutine rflo_interpoldistrib(n1f, n2f, n1c, n2c, nData, valf, valc)
subroutine deregisterfunction(global)