1 | #include "./SmbAnalysis.h"
|
---|
2 | #include "../toolkits/toolkits.h"
|
---|
3 | #include "../classes/classes.h"
|
---|
4 | #include "../shared/shared.h"
|
---|
5 | #include "../modules/modules.h"
|
---|
6 |
|
---|
7 | /*Model processing*/
|
---|
8 | void SmbAnalysis::CreateConstraints(Constraints* constraints,IoModel* iomodel){/*{{{*/
|
---|
9 | /*No constraints*/
|
---|
10 | }/*}}}*/
|
---|
11 | void SmbAnalysis::CreateLoads(Loads* loads, IoModel* iomodel){/*{{{*/
|
---|
12 | /*No loads*/
|
---|
13 | }/*}}}*/
|
---|
14 | void SmbAnalysis::CreateNodes(Nodes* nodes,IoModel* iomodel){/*{{{*/
|
---|
15 | ::CreateNodes(nodes,iomodel,SmbAnalysisEnum,P1Enum);
|
---|
16 | }/*}}}*/
|
---|
17 | int SmbAnalysis::DofsPerNode(int** doflist,int domaintype,int approximation){/*{{{*/
|
---|
18 | return 1;
|
---|
19 | }/*}}}*/
|
---|
20 | void SmbAnalysis::UpdateElements(Elements* elements,IoModel* iomodel,int analysis_counter,int analysis_type){/*{{{*/
|
---|
21 |
|
---|
22 | int smb_model;
|
---|
23 | bool isdelta18o,ismungsm,isd18opd;
|
---|
24 |
|
---|
25 | /*Update elements: */
|
---|
26 | int counter=0;
|
---|
27 | for(int i=0;i<iomodel->numberofelements;i++){
|
---|
28 | if(iomodel->my_elements[i]){
|
---|
29 | Element* element=(Element*)elements->GetObjectByOffset(counter);
|
---|
30 | element->Update(i,iomodel,analysis_counter,analysis_type,P1Enum);
|
---|
31 | counter++;
|
---|
32 | }
|
---|
33 | }
|
---|
34 |
|
---|
35 | /*Figure out smb model: */
|
---|
36 | iomodel->FindConstant(&smb_model,"md.smb.model");
|
---|
37 |
|
---|
38 | switch(smb_model){
|
---|
39 | case SMBforcingEnum:
|
---|
40 | iomodel->FetchDataToInput(elements,"md.smb.mass_balance",SmbMassBalanceEnum,0.);
|
---|
41 | break;
|
---|
42 | case SMBgembEnum:
|
---|
43 | iomodel->FetchDataToInput(elements,"md.smb.Ta",SmbTaEnum);
|
---|
44 | iomodel->FetchDataToInput(elements,"md.smb.V",SmbVEnum);
|
---|
45 | iomodel->FetchDataToInput(elements,"md.smb.dswrf",SmbDswrfEnum);
|
---|
46 | iomodel->FetchDataToInput(elements,"md.smb.dlwrf",SmbDlwrfEnum);
|
---|
47 | iomodel->FetchDataToInput(elements,"md.smb.P",SmbPEnum);
|
---|
48 | iomodel->FetchDataToInput(elements,"md.smb.eAir",SmbEAirEnum);
|
---|
49 | iomodel->FetchDataToInput(elements,"md.smb.pAir",SmbPAirEnum);
|
---|
50 | iomodel->FetchDataToInput(elements,"md.smb.zTop",SmbZTopEnum);
|
---|
51 | iomodel->FetchDataToInput(elements,"md.smb.dzTop",SmbDzTopEnum);
|
---|
52 | iomodel->FetchDataToInput(elements,"md.smb.dzMin",SmbDzMinEnum);
|
---|
53 | iomodel->FetchDataToInput(elements,"md.smb.zY",SmbZYEnum);
|
---|
54 | iomodel->FetchDataToInput(elements,"md.smb.zMax",SmbZMaxEnum);
|
---|
55 | iomodel->FetchDataToInput(elements,"md.smb.zMin",SmbZMinEnum);
|
---|
56 | iomodel->FetchDataToInput(elements,"md.smb.Tmean",SmbTmeanEnum);
|
---|
57 | iomodel->FetchDataToInput(elements,"md.smb.C",SmbCEnum);
|
---|
58 | iomodel->FetchDataToInput(elements,"md.smb.Tz",SmbTzEnum);
|
---|
59 | iomodel->FetchDataToInput(elements,"md.smb.Vz",SmbVzEnum);
|
---|
60 | InputUpdateFromConstantx(elements,0.,SmbIsInitializedEnum);
|
---|
61 | iomodel->FetchDataToInput(elements,"md.smb.Dzini",SmbDziniEnum);
|
---|
62 | iomodel->FetchDataToInput(elements,"md.smb.Dini",SmbDiniEnum);
|
---|
63 | iomodel->FetchDataToInput(elements,"md.smb.Reini",SmbReiniEnum);
|
---|
64 | iomodel->FetchDataToInput(elements,"md.smb.Gdnini",SmbGdniniEnum);
|
---|
65 | iomodel->FetchDataToInput(elements,"md.smb.Gspini",SmbGspiniEnum);
|
---|
66 | iomodel->FetchDataToInput(elements,"md.smb.ECini",SmbECiniEnum);
|
---|
67 | iomodel->FetchDataToInput(elements,"md.smb.Wini",SmbWiniEnum);
|
---|
68 | iomodel->FetchDataToInput(elements,"md.smb.Aini",SmbAiniEnum);
|
---|
69 | iomodel->FetchDataToInput(elements,"md.smb.Tini",SmbTiniEnum);
|
---|
70 | iomodel->FetchDataToInput(elements,"md.smb.Sizeini",SmbSizeiniEnum);
|
---|
71 | break;
|
---|
72 | case SMBpddEnum:
|
---|
73 | iomodel->FindConstant(&isdelta18o,"md.smb.isdelta18o");
|
---|
74 | iomodel->FindConstant(&ismungsm,"md.smb.ismungsm");
|
---|
75 | iomodel->FetchDataToInput(elements,"md.thermal.spctemperature",ThermalSpctemperatureEnum);
|
---|
76 | iomodel->FetchDataToInput(elements,"md.smb.s0p",SmbS0pEnum);
|
---|
77 | iomodel->FetchDataToInput(elements,"md.smb.s0t",SmbS0tEnum);
|
---|
78 | if(isdelta18o || ismungsm){
|
---|
79 | iomodel->FetchDataToInput(elements,"md.smb.temperatures_lgm",SmbTemperaturesLgmEnum);
|
---|
80 | iomodel->FetchDataToInput(elements,"md.smb.temperatures_presentday",SmbTemperaturesPresentdayEnum);
|
---|
81 | iomodel->FetchDataToInput(elements,"md.smb.precipitations_presentday",SmbPrecipitationsPresentdayEnum);
|
---|
82 | iomodel->FetchDataToInput(elements,"md.smb.precipitations_lgm",SmbPrecipitationsLgmEnum);
|
---|
83 | }
|
---|
84 | else{
|
---|
85 | iomodel->FetchDataToInput(elements,"md.smb.precipitation",SmbPrecipitationEnum);
|
---|
86 | iomodel->FetchDataToInput(elements,"md.smb.monthlytemperatures",SmbMonthlytemperaturesEnum);
|
---|
87 | }
|
---|
88 | break;
|
---|
89 | case SMBd18opddEnum:
|
---|
90 | iomodel->FindConstant(&ismungsm,"md.smb.ismungsm");
|
---|
91 | iomodel->FindConstant(&isd18opd,"md.smb.isd18opd");
|
---|
92 | iomodel->FetchDataToInput(elements,"md.thermal.spctemperature",ThermalSpctemperatureEnum);
|
---|
93 | iomodel->FetchDataToInput(elements,"md.smb.s0p",SmbS0pEnum);
|
---|
94 | iomodel->FetchDataToInput(elements,"md.smb.s0t",SmbS0tEnum);
|
---|
95 | if(isd18opd){
|
---|
96 | iomodel->FetchDataToInput(elements,"md.smb.temperatures_presentday",SmbTemperaturesPresentdayEnum);
|
---|
97 | iomodel->FetchDataToInput(elements,"md.smb.precipitations_presentday",SmbPrecipitationsPresentdayEnum);
|
---|
98 | }
|
---|
99 |
|
---|
100 | break;
|
---|
101 | case SMBgradientsEnum:
|
---|
102 | iomodel->FetchDataToInput(elements,"md.smb.href",SmbHrefEnum);
|
---|
103 | iomodel->FetchDataToInput(elements,"md.smb.smbref",SmbSmbrefEnum);
|
---|
104 | iomodel->FetchDataToInput(elements,"md.smb.b_pos",SmbBPosEnum);
|
---|
105 | iomodel->FetchDataToInput(elements,"md.smb.b_neg",SmbBNegEnum);
|
---|
106 | break;
|
---|
107 | case SMBgradientselaEnum:
|
---|
108 | iomodel->FetchDataToInput(elements,"md.smb.ela",SmbElaEnum);
|
---|
109 | iomodel->FetchDataToInput(elements,"md.smb.b_pos",SmbBPosEnum);
|
---|
110 | iomodel->FetchDataToInput(elements,"md.smb.b_neg",SmbBNegEnum);
|
---|
111 | iomodel->FetchDataToInput(elements,"md.smb.b_max",SmbBMaxEnum);
|
---|
112 | iomodel->FetchDataToInput(elements,"md.smb.b_min",SmbBMinEnum);
|
---|
113 | break;
|
---|
114 | case SMBhenningEnum:
|
---|
115 | iomodel->FetchDataToInput(elements,"md.smb.smbref",SmbSmbrefEnum,0.);
|
---|
116 | break;
|
---|
117 | case SMBcomponentsEnum:
|
---|
118 | iomodel->FetchDataToInput(elements,"md.smb.accumulation",SmbAccumulationEnum,0.);
|
---|
119 | iomodel->FetchDataToInput(elements,"md.smb.evaporation",SmbEvaporationEnum,0.);
|
---|
120 | iomodel->FetchDataToInput(elements,"md.smb.runoff",SmbRunoffEnum,0.);
|
---|
121 | break;
|
---|
122 | case SMBmeltcomponentsEnum:
|
---|
123 | iomodel->FetchDataToInput(elements,"md.smb.accumulation",SmbAccumulationEnum,0.);
|
---|
124 | iomodel->FetchDataToInput(elements,"md.smb.evaporation",SmbEvaporationEnum,0.);
|
---|
125 | iomodel->FetchDataToInput(elements,"md.smb.melt",SmbMeltEnum,0.);
|
---|
126 | iomodel->FetchDataToInput(elements,"md.smb.refreeze",SmbRefreezeEnum,0.);
|
---|
127 | break;
|
---|
128 | default:
|
---|
129 | _error_("Surface mass balance model "<<EnumToStringx(smb_model)<<" not supported yet");
|
---|
130 | }
|
---|
131 |
|
---|
132 |
|
---|
133 |
|
---|
134 | }/*}}}*/
|
---|
135 | void SmbAnalysis::UpdateParameters(Parameters* parameters,IoModel* iomodel,int solution_enum,int analysis_enum){/*{{{*/
|
---|
136 |
|
---|
137 | int numoutputs;
|
---|
138 | char** requestedoutputs = NULL;
|
---|
139 | bool isdelta18o,ismungsm,isd18opd,interp;
|
---|
140 | int smb_model;
|
---|
141 | IssmDouble *temp = NULL;
|
---|
142 | int N,M;
|
---|
143 |
|
---|
144 | parameters->AddObject(iomodel->CopyConstantObject("md.smb.model",SmbEnum));
|
---|
145 |
|
---|
146 | iomodel->FindConstant(&smb_model,"md.smb.model");
|
---|
147 | iomodel->FindConstant(&interp,"md.timestepping.interp_forcings");
|
---|
148 |
|
---|
149 | switch(smb_model){
|
---|
150 | case SMBforcingEnum:
|
---|
151 | /*Nothing to add to parameters*/
|
---|
152 | break;
|
---|
153 | case SMBgembEnum:
|
---|
154 | parameters->AddObject(iomodel->CopyConstantObject("md.smb.aIdx",SmbAIdxEnum));
|
---|
155 | parameters->AddObject(iomodel->CopyConstantObject("md.smb.swIdx",SmbSwIdxEnum));
|
---|
156 | parameters->AddObject(iomodel->CopyConstantObject("md.smb.denIdx",SmbDenIdxEnum));
|
---|
157 | parameters->AddObject(iomodel->CopyConstantObject("md.smb.outputFreq",SmbOutputFreqEnum));
|
---|
158 | parameters->AddObject(iomodel->CopyConstantObject("md.smb.cldFrac",SmbCldFracEnum));
|
---|
159 | parameters->AddObject(iomodel->CopyConstantObject("md.smb.t0wet",SmbT0wetEnum));
|
---|
160 | parameters->AddObject(iomodel->CopyConstantObject("md.smb.t0dry",SmbT0dryEnum));
|
---|
161 | parameters->AddObject(iomodel->CopyConstantObject("md.smb.K",SmbKEnum));
|
---|
162 | parameters->AddObject(iomodel->CopyConstantObject("md.smb.aSnow",SmbASnowEnum));
|
---|
163 | parameters->AddObject(iomodel->CopyConstantObject("md.smb.aIce",SmbAIceEnum));
|
---|
164 | parameters->AddObject(iomodel->CopyConstantObject("md.smb.dt",SmbDtEnum));
|
---|
165 | parameters->AddObject(iomodel->CopyConstantObject("md.smb.isgraingrowth",SmbIsgraingrowthEnum));
|
---|
166 | parameters->AddObject(iomodel->CopyConstantObject("md.smb.isalbedo",SmbIsalbedoEnum));
|
---|
167 | parameters->AddObject(iomodel->CopyConstantObject("md.smb.isshortwave",SmbIsshortwaveEnum));
|
---|
168 | parameters->AddObject(iomodel->CopyConstantObject("md.smb.isthermal",SmbIsthermalEnum));
|
---|
169 | parameters->AddObject(iomodel->CopyConstantObject("md.smb.isaccumulation",SmbIsaccumulationEnum));
|
---|
170 | parameters->AddObject(iomodel->CopyConstantObject("md.smb.ismelt",SmbIsmeltEnum));
|
---|
171 | parameters->AddObject(iomodel->CopyConstantObject("md.smb.isdensification",SmbIsdensificationEnum));
|
---|
172 | parameters->AddObject(iomodel->CopyConstantObject("md.smb.isturbulentflux",SmbIsturbulentfluxEnum));
|
---|
173 | parameters->AddObject(iomodel->CopyConstantObject("md.smb.InitDensityScaling",SmbInitDensityScalingEnum));
|
---|
174 | break;
|
---|
175 | case SMBpddEnum:
|
---|
176 | parameters->AddObject(iomodel->CopyConstantObject("md.smb.isdelta18o",SmbIsdelta18oEnum));
|
---|
177 | parameters->AddObject(iomodel->CopyConstantObject("md.smb.ismungsm",SmbIsmungsmEnum));
|
---|
178 | parameters->AddObject(iomodel->CopyConstantObject("md.smb.desfac",SmbDesfacEnum));
|
---|
179 | parameters->AddObject(iomodel->CopyConstantObject("md.smb.rlaps",SmbRlapsEnum));
|
---|
180 | parameters->AddObject(iomodel->CopyConstantObject("md.smb.rlapslgm",SmbRlapslgmEnum));
|
---|
181 | iomodel->FindConstant(&isdelta18o,"md.smb.isdelta18o");
|
---|
182 | iomodel->FindConstant(&ismungsm,"md.smb.ismungsm");
|
---|
183 |
|
---|
184 | if(ismungsm){
|
---|
185 | iomodel->FetchData(&temp,&N,&M,"md.smb.Pfac"); _assert_(N==2);
|
---|
186 | parameters->AddObject(new TransientParam(SmbPfacEnum,&temp[0],&temp[M],interp,M));
|
---|
187 | iomodel->DeleteData(temp,"md.smb.Pfac");
|
---|
188 |
|
---|
189 | iomodel->FetchData(&temp,&N,&M,"md.smb.Tdiff"); _assert_(N==2);
|
---|
190 | parameters->AddObject(new TransientParam(SmbTdiffEnum,&temp[0],&temp[M],interp,M));
|
---|
191 | iomodel->DeleteData(temp,"md.smb.Tdiff");
|
---|
192 |
|
---|
193 | iomodel->FetchData(&temp,&N,&M,"md.smb.sealev"); _assert_(N==2);
|
---|
194 | parameters->AddObject(new TransientParam(SmbSealevEnum,&temp[0],&temp[M],interp,M));
|
---|
195 | iomodel->DeleteData(temp,"md.smb.sealev");
|
---|
196 | }
|
---|
197 | if(isdelta18o){
|
---|
198 | iomodel->FetchData(&temp,&N,&M,"md.smb.delta18o"); _assert_(N==2);
|
---|
199 | parameters->AddObject(new TransientParam(SmbDelta18oEnum,&temp[0],&temp[M],interp,M));
|
---|
200 | iomodel->DeleteData(temp,"md.smb.delta18o");
|
---|
201 |
|
---|
202 | iomodel->FetchData(&temp,&N,&M,"md.smb.delta18o_surface"); _assert_(N==2);
|
---|
203 | parameters->AddObject(new TransientParam(SmbDelta18oSurfaceEnum,&temp[0],&temp[M],interp,M));
|
---|
204 | iomodel->DeleteData(temp,"md.smb.delta18o_surface");
|
---|
205 | }
|
---|
206 | break;
|
---|
207 | case SMBd18opddEnum:
|
---|
208 | parameters->AddObject(iomodel->CopyConstantObject("md.smb.ismungsm",SmbIsmungsmEnum));
|
---|
209 | parameters->AddObject(iomodel->CopyConstantObject("md.smb.isd18opd",SmbIsd18opdEnum));
|
---|
210 | parameters->AddObject(iomodel->CopyConstantObject("md.smb.desfac",SmbDesfacEnum));
|
---|
211 | parameters->AddObject(iomodel->CopyConstantObject("md.smb.rlaps",SmbRlapsEnum));
|
---|
212 | parameters->AddObject(iomodel->CopyConstantObject("md.smb.rlapslgm",SmbRlapslgmEnum));
|
---|
213 | iomodel->FindConstant(&ismungsm,"md.smb.ismungsm");
|
---|
214 | iomodel->FindConstant(&isd18opd,"md.smb.isd18opd");
|
---|
215 | if(isd18opd){
|
---|
216 | iomodel->FetchData(&temp,&N,&M,"md.smb.delta18o"); _assert_(N==2);
|
---|
217 | parameters->AddObject(new TransientParam(SmbDelta18oEnum,&temp[0],&temp[M],interp,M));
|
---|
218 | iomodel->DeleteData(temp,"md.smb.delta18o");
|
---|
219 |
|
---|
220 | parameters->AddObject(iomodel->CopyConstantObject("md.smb.dpermil",SmbDpermilEnum));
|
---|
221 | }
|
---|
222 | break;
|
---|
223 | case SMBgradientsEnum:
|
---|
224 | /*Nothing to add to parameters*/
|
---|
225 | break;
|
---|
226 | case SMBgradientselaEnum:
|
---|
227 | /*Nothing to add to parameters*/
|
---|
228 | break;
|
---|
229 | case SMBhenningEnum:
|
---|
230 | /*Nothing to add to parameters*/
|
---|
231 | break;
|
---|
232 | case SMBcomponentsEnum:
|
---|
233 | /*Nothing to add to parameters*/
|
---|
234 | break;
|
---|
235 | case SMBmeltcomponentsEnum:
|
---|
236 | /*Nothing to add to parameters*/
|
---|
237 | break;
|
---|
238 | default:
|
---|
239 | _error_("Surface mass balance model "<<EnumToStringx(smb_model)<<" not supported yet");
|
---|
240 | }
|
---|
241 |
|
---|
242 | iomodel->FindConstant(&requestedoutputs,&numoutputs,"md.smb.requested_outputs");
|
---|
243 | parameters->AddObject(new IntParam(SmbNumRequestedOutputsEnum,numoutputs));
|
---|
244 | if(numoutputs)parameters->AddObject(new StringArrayParam(SmbRequestedOutputsEnum,requestedoutputs,numoutputs));
|
---|
245 | iomodel->DeleteData(&requestedoutputs,numoutputs,"md.smb.requested_outputs");
|
---|
246 |
|
---|
247 | }/*}}}*/
|
---|
248 |
|
---|
249 | /*Finite Element Analysis*/
|
---|
250 | void SmbAnalysis::Core(FemModel* femmodel){/*{{{*/
|
---|
251 |
|
---|
252 | int smb_model;
|
---|
253 |
|
---|
254 | /*Figure out smb model: */
|
---|
255 | femmodel->parameters->FindParam(&smb_model,SmbEnum);
|
---|
256 |
|
---|
257 | /*branch to correct module*/
|
---|
258 | switch(smb_model){
|
---|
259 | case SMBforcingEnum:
|
---|
260 | /*Nothing to be done*/
|
---|
261 | break;
|
---|
262 | case SMBgembEnum:
|
---|
263 | Gembx(femmodel);
|
---|
264 | break;
|
---|
265 | case SMBpddEnum:
|
---|
266 | bool isdelta18o,ismungsm;
|
---|
267 | femmodel->parameters->FindParam(&isdelta18o,SmbIsdelta18oEnum);
|
---|
268 | femmodel->parameters->FindParam(&ismungsm,SmbIsmungsmEnum);
|
---|
269 | if(isdelta18o){
|
---|
270 | if(VerboseSolution()) _printf0_(" call Delta18oParameterization module\n");
|
---|
271 | Delta18oParameterizationx(femmodel);
|
---|
272 | }
|
---|
273 | if(ismungsm){
|
---|
274 | if(VerboseSolution()) _printf0_(" call MungsmtpParameterization module\n");
|
---|
275 | MungsmtpParameterizationx(femmodel);
|
---|
276 | }
|
---|
277 | if(VerboseSolution()) _printf0_(" call positive degree day module\n");
|
---|
278 | PositiveDegreeDayx(femmodel);
|
---|
279 | break;
|
---|
280 | case SMBd18opddEnum:
|
---|
281 | bool isd18opd;
|
---|
282 | femmodel->parameters->FindParam(&isd18opd,SmbIsd18opdEnum);
|
---|
283 | if(isd18opd){
|
---|
284 | if(VerboseSolution()) _printf0_(" call Delta18opdParameterization module\n");
|
---|
285 | Delta18opdParameterizationx(femmodel);
|
---|
286 | if(VerboseSolution()) _printf0_(" call positive degree day module\n");
|
---|
287 | PositiveDegreeDayx(femmodel);
|
---|
288 | }
|
---|
289 | break;
|
---|
290 | case SMBgradientsEnum:
|
---|
291 | if(VerboseSolution())_printf0_(" call smb gradients module\n");
|
---|
292 | SmbGradientsx(femmodel);
|
---|
293 | break;
|
---|
294 | case SMBgradientselaEnum:
|
---|
295 | if(VerboseSolution())_printf0_(" call smb gradients ela module\n");
|
---|
296 | SmbGradientsElax(femmodel);
|
---|
297 | break;
|
---|
298 | case SMBhenningEnum:
|
---|
299 | if(VerboseSolution())_printf0_(" call smb Henning module\n");
|
---|
300 | SmbHenningx(femmodel);
|
---|
301 | break;
|
---|
302 | case SMBcomponentsEnum:
|
---|
303 | if(VerboseSolution())_printf0_(" call smb Components module\n");
|
---|
304 | SmbComponentsx(femmodel);
|
---|
305 | break;
|
---|
306 | case SMBmeltcomponentsEnum:
|
---|
307 | if(VerboseSolution())_printf0_(" call smb Melt Components module\n");
|
---|
308 | SmbMeltComponentsx(femmodel);
|
---|
309 | break;
|
---|
310 | case SMBgcmEnum:
|
---|
311 | /*Nothing to be done*/
|
---|
312 | break;
|
---|
313 | default:
|
---|
314 | _error_("Surface mass balance model "<<EnumToStringx(smb_model)<<" not supported yet");
|
---|
315 | }
|
---|
316 |
|
---|
317 | }/*}}}*/
|
---|
318 | ElementVector* SmbAnalysis::CreateDVector(Element* element){/*{{{*/
|
---|
319 | _error_("not implemented");
|
---|
320 | }/*}}}*/
|
---|
321 | ElementMatrix* SmbAnalysis::CreateJacobianMatrix(Element* element){/*{{{*/
|
---|
322 | _error_("Not implemented");
|
---|
323 | }/*}}}*/
|
---|
324 | ElementMatrix* SmbAnalysis::CreateKMatrix(Element* element){/*{{{*/
|
---|
325 | _error_("not implemented yet");
|
---|
326 | }/*}}}*/
|
---|
327 | ElementVector* SmbAnalysis::CreatePVector(Element* element){/*{{{*/
|
---|
328 | _error_("not implemented yet");
|
---|
329 | }/*}}}*/
|
---|
330 | void SmbAnalysis::GetSolutionFromInputs(Vector<IssmDouble>* solution,Element* element){/*{{{*/
|
---|
331 | _error_("not implemented yet");
|
---|
332 | }/*}}}*/
|
---|
333 | void SmbAnalysis::GradientJ(Vector<IssmDouble>* gradient,Element* element,int control_type,int control_index){/*{{{*/
|
---|
334 | _error_("Not implemented yet");
|
---|
335 | }/*}}}*/
|
---|
336 | void SmbAnalysis::InputUpdateFromSolution(IssmDouble* solution,Element* element){/*{{{*/
|
---|
337 | _error_("not implemented yet");
|
---|
338 | }/*}}}*/
|
---|
339 | void SmbAnalysis::UpdateConstraints(FemModel* femmodel){/*{{{*/
|
---|
340 | /*Default, do nothing*/
|
---|
341 | return;
|
---|
342 | }/*}}}*/
|
---|