66 TYPE(t_region
),
POINTER :: pregion
67 TYPE(t_plag),
POINTER :: pplag
73 CHARACTER(CHRLEN) :: rcsidentstring
74 INTEGER :: errorflag,ipcl,ivar,naiv,narv,ncv,npclsmax
75 TYPE(t_grid),
POINTER :: pgrid
82 rcsidentstring =
'$RCSfile: PLAG_RFLU_AllocMemTStep.F90,v $ $Revision: 1.8 $'
84 global => pregion%global
87 'PLAG_RFLU_AllocMemTStep.F90')
95 npclsmax = pregion%plag%nPclsMax
110 ALLOCATE(pplag%cvOld(ncv,npclsmax),stat=errorflag)
111 global%error = errorflag
112 IF (global%error /= err_none)
THEN
113 CALL
errorstop(global,err_allocate,__line__,
'pPlag%cvOld')
120 ALLOCATE(pplag%aivOld(naiv,npclsmax),stat=errorflag)
121 global%error = errorflag
122 IF (global%error /= err_none)
THEN
123 CALL
errorstop(global,err_allocate,__line__,
'pPlag%aivOld')
126 ALLOCATE(pplag%arvOld(narv,npclsmax),stat=errorflag)
127 global%error = errorflag
128 IF (global%error /= err_none)
THEN
129 CALL
errorstop(global,err_allocate,__line__,
'pPlag%arvOld')
136 ALLOCATE(pplag%rhs(ncv,npclsmax),stat=errorflag)
137 global%error = errorflag
138 IF (global%error /= err_none)
THEN
139 CALL
errorstop(global,err_allocate,__line__,
'pPlag%rhs')
142 ALLOCATE(pplag%rhsSum(ncv,npclsmax),stat=errorflag)
143 global%error = errorflag
144 IF (global%error /= err_none)
THEN
145 CALL
errorstop(global,err_allocate,__line__,
'pPlag%rhsSum')
154 pplag%cvOld(ivar,ipcl) = 0.0_rfreal
155 pplag%rhs(ivar,ipcl) = 0.0_rfreal
156 pplag%rhsSum(ivar,ipcl) = 0.0_rfreal
160 pplag%aivOld(ivar,ipcl) = 0
164 pplag%arvOld(ivar,ipcl) = 0
subroutine registerfunction(global, funName, fileName)
subroutine errorstop(global, errorCode, errorLine, addMessage)
subroutine deregisterfunction(global)
subroutine plag_rflu_allocmemtstep(pRegion, pPlag)