139 class(GweInterfaceModelType) :: this
141 class(*),
pointer :: disPtr
142 type(TspAdvOptionsType) :: adv_options
143 type(GweCndOptionsType) :: cnd_options
146 adv_options%iAdvScheme = this%iAdvScheme
147 cnd_options%ixt3d = this%ixt3d
151 call this%gridConnection%getDiscretization(castasdisutype(disptr))
152 call this%fmi%fmi_df(this%dis, 0)
154 if (this%inadv > 0)
then
155 call this%adv%adv_df(adv_options)
158 if (this%incnd > 0)
then
159 this%cnd%idisp = this%owner%cnd%idisp
160 call this%cnd%cnd_df(this%dis, cnd_options)
162 if (this%cnd%idisp > 0)
then
163 call mem_reallocate(this%cnd%alh, this%dis%nodes,
'ALH', &
164 trim(this%cnd%memoryPath))
165 call mem_reallocate(this%cnd%alv, this%dis%nodes,
'ALV', &
166 trim(this%cnd%memoryPath))
167 call mem_reallocate(this%cnd%ath1, this%dis%nodes,
'ATH1', &
168 trim(this%cnd%memoryPath))
169 call mem_reallocate(this%cnd%ath2, this%dis%nodes,
'ATH2', &
170 trim(this%cnd%memoryPath))
171 call mem_reallocate(this%cnd%atv, this%dis%nodes,
'ATV', &
172 trim(this%cnd%memoryPath))
173 call mem_reallocate(this%cnd%ktw, this%dis%nodes,
'KTW', &
174 trim(this%cnd%memoryPath))
175 call mem_reallocate(this%cnd%kts, this%dis%nodes,
'KTS', &
176 trim(this%cnd%memoryPath))
179 call mem_allocate(this%est%porosity, this%dis%nodes, &
180 'POROSITY', create_mem_path(this%name,
'EST'))
184 this%neq = this%dis%nodes
185 this%nja = this%dis%nja
186 this%ia => this%dis%con%ia
187 this%ja => this%dis%con%ja
190 call this%allocate_arrays()