66 TYPE(t_region
),
POINTER :: pregion
72 CHARACTER(CHRLEN) :: rcsidentstring
73 INTEGER :: errorflag,icg,ispecee,nspeciesee
74 TYPE(t_grid),
POINTER :: pgrid
81 rcsidentstring =
'$RCSfile: SPEC_RFLU_AllocateMemoryEEv.F90,v $ $Revision: 1.3 $'
83 global => pregion%global
86 'SPEC_RFLU_AllocateMemoryEEv.F90')
94 nspeciesee = pregion%specInput%nSpeciesEE
100 IF ( nspeciesee > 0 )
THEN
101 ALLOCATE(pregion%spec%eev(eev_spec_xvel:eev_spec_temp,nspeciesee, &
102 pgrid%nCellsTot),stat=errorflag)
103 global%error = errorflag
104 IF (global%error /= err_none)
THEN
105 CALL
errorstop(global,err_allocate,__line__,
'pRegion%spec%eev')
108 DO icg = 1,pgrid%nCellsTot
109 DO ispecee = 1,nspeciesee
110 pregion%spec%eev(eev_spec_xvel,ispecee,icg) = 0.0_rfreal
111 pregion%spec%eev(eev_spec_yvel,ispecee,icg) = 0.0_rfreal
112 pregion%spec%eev(eev_spec_zvel,ispecee,icg) = 0.0_rfreal
113 pregion%spec%eev(eev_spec_temp,ispecee,icg) = 0.0_rfreal
subroutine registerfunction(global, funName, fileName)
subroutine spec_rflu_allocatememoryeev(pRegion)
subroutine errorstop(global, errorCode, errorLine, addMessage)
subroutine deregisterfunction(global)