134 class(VirtualModelType) :: this
135 integer(I4B) :: stage
136
137 integer(I4B) :: nodes, nodesuser, nja, njas, icondir
138 logical(LGP) :: is_reduced
139
140 if (stage == stg_aft_mdl_df) then
141
142 call this%map(this%idsoln%base(), (/stg_aft_mdl_df/))
143 call this%map(this%con_ianglex%base(), (/stg_aft_mdl_df/))
144 call this%map(this%dis_icondir%base(), (/stg_aft_mdl_df/))
145 call this%map(this%dis_ndim%base(), (/stg_aft_mdl_df/))
146 call this%map(this%dis_nodes%base(), (/stg_aft_mdl_df/))
147 call this%map(this%dis_nodesuser%base(), (/stg_aft_mdl_df/))
148 call this%map(this%dis_nja%base(), (/stg_aft_mdl_df/))
149 call this%map(this%dis_njas%base(), (/stg_aft_mdl_df/))
150
151 else if (stage == stg_bfr_exg_ac) then
152
153 nodes = this%dis_nodes%get()
154 nodesuser = this%dis_nodesuser%get()
155 is_reduced = (nodes /= nodesuser)
156 call this%map(this%moffset%base(), (/stg_bfr_exg_ac/))
157 if (is_reduced) then
158 call this%map(this%dis_nodeuser%base(), nodes, (/stg_bfr_exg_ac/))
159 else
160
161 call this%map(this%dis_nodeuser%base(), 0, (/stg_never/))
162 end if
163
164 else if (stage == stg_bfr_con_df) then
165
166 nodes = this%dis_nodes%get()
167 nja = this%dis_nja%get()
168 njas = this%dis_njas%get()
169 icondir = this%dis_icondir%get()
170
171 call this%map(this%dis_xorigin%base(), (/stg_bfr_con_df/))
172 call this%map(this%dis_yorigin%base(), (/stg_bfr_con_df/))
173 call this%map(this%dis_angrot%base(), (/stg_bfr_con_df/))
174 if (icondir > 0) then
175 call this%map(this%dis_xc%base(), nodes, (/stg_bfr_con_df/))
176 call this%map(this%dis_yc%base(), nodes, (/stg_bfr_con_df/))
177 else
178 call this%map(this%dis_xc%base(), 0, (/stg_never/))
179 call this%map(this%dis_yc%base(), 0, (/stg_never/))
180 end if
181 call this%map(this%dis_top%base(), nodes, (/stg_bfr_con_df/))
182 call this%map(this%dis_bot%base(), nodes, (/stg_bfr_con_df/))
183 call this%map(this%dis_area%base(), nodes, (/stg_bfr_con_df/))
184
185 call this%map(this%con_ia%base(), nodes + 1, (/stg_bfr_con_df/))
186 call this%map(this%con_ja%base(), nja, (/stg_bfr_con_df/))
187 call this%map(this%con_jas%base(), nja, (/stg_bfr_con_df/))
188 call this%map(this%con_ihc%base(), njas, (/stg_bfr_con_df/))
189 call this%map(this%con_hwva%base(), njas, (/stg_bfr_con_df/))
190 call this%map(this%con_cl1%base(), njas, (/stg_bfr_con_df/))
191 call this%map(this%con_cl2%base(), njas, (/stg_bfr_con_df/))
192 if (this%con_ianglex%get() > 0) then
193 call this%map(this%con_anglex%base(), njas, (/stg_bfr_con_df/))
194 else
195 call this%map(this%con_anglex%base(), 0, (/stg_never/))
196 end if
197
198 end if
199