64 TYPE(t_region
),
POINTER :: pregion
70 CHARACTER(CHRLEN) :: rcsidentstring
71 INTEGER :: errorflag,ispec,nspecies
72 TYPE(t_grid),
POINTER :: pgrid
79 rcsidentstring =
'$RCSfile: SPEC_RFLU_AllocateMemorySol.F90,v $ $Revision: 1.6 $'
81 global => pregion%global
84 'SPEC_RFLU_AllocateMemorySol.F90')
92 nspecies = pregion%specInput%nSpecies
102 ALLOCATE(pregion%spec%cv(nspecies,pgrid%nCellsTot),stat=errorflag)
103 global%error = errorflag
104 IF (global%error /= err_none)
THEN
105 CALL
errorstop(global,err_allocate,__line__,
'pRegion%spec%cv')
108 ALLOCATE(pregion%spec%cvInfo(nspecies),stat=errorflag)
109 global%error = errorflag
110 IF (global%error /= err_none)
THEN
111 CALL
errorstop(global,err_allocate,__line__,
'pRegion%spec%cvInfo')
118 IF ( pregion%mixtInput%flowModel == flow_navst )
THEN
119 ALLOCATE(pregion%spec%tv(nspecies,pgrid%nCellsTot),stat=errorflag)
120 global%error = errorflag
121 IF (global%error /= err_none)
THEN
122 CALL
errorstop(global,err_allocate,__line__,
'pRegion%spec%tv')
125 nullify(pregion%spec%tv)
subroutine spec_rflu_allocatememorysol(pRegion)
subroutine registerfunction(global, funName, fileName)
subroutine errorstop(global, errorCode, errorLine, addMessage)
subroutine deregisterfunction(global)