Ice Sheet System Model  4.18
Code documentation
IoCodeConversions.cpp
Go to the documentation of this file.
1 #include <math.h>
2 #include <float.h>
3 #include <cstring>
4 
5 #include "../../Enum/EnumDefinitions.h"
6 #include "../../MemOps/MemOps.h"
7 #include "../../Exceptions/exceptions.h"
8 
9 void FieldAndEnumFromCode(int* out_enum,char** pfield,const char* string_in){/*{{{*/
10 
11  /*output*/
12  char* fieldname = NULL;
13  int input_enum = -1;
14 
15  if(strcmp(string_in,"Thickness")==0 || strcmp(string_in,"md.geometry.thickness")==0){
16  const char* field = "md.geometry.thickness";
17  input_enum = ThicknessEnum;
18  fieldname=xNew<char>((strlen(field)+1)); xMemCpy<char>(fieldname,field,(strlen(field)+1));
19  }
20  else if(strcmp(string_in,"MaterialsRheologyBbar")==0){
21  const char* field = "md.materials.rheology_B";
22  input_enum = MaterialsRheologyBbarEnum;
23  fieldname=xNew<char>((strlen(field)+1)); xMemCpy<char>(fieldname,field,(strlen(field)+1));
24  }
25  else if(strcmp(string_in,"MaterialsRheologyB")==0){
26  const char* field = "md.materials.rheology_B";
27  input_enum = MaterialsRheologyBEnum;
28  fieldname=xNew<char>((strlen(field)+1)); xMemCpy<char>(fieldname,field,(strlen(field)+1));
29  }
30  else if(strcmp(string_in,"SmbMassBalance")==0){
31  const char* field = "md.smb.mass_balance";
32  input_enum = SmbMassBalanceEnum;
33  fieldname=xNew<char>((strlen(field)+1)); xMemCpy<char>(fieldname,field,(strlen(field)+1));
34  }
35  else if(strcmp(string_in,"SmbAccumulation")==0){
36  const char* field = "md.smb.accumulation";
37  input_enum = SmbAccumulationEnum;
38  fieldname=xNew<char>((strlen(field)+1)); xMemCpy<char>(fieldname,field,(strlen(field)+1));
39  }
40  else if(strcmp(string_in,"SmbMelt")==0){
41  const char* field = "md.smb.melt";
42  input_enum = SmbMeltEnum;
43  fieldname=xNew<char>((strlen(field)+1)); xMemCpy<char>(fieldname,field,(strlen(field)+1));
44  }
45  else if(strcmp(string_in,"SmbRefreeze")==0){
46  const char* field = "md.smb.refreeze";
47  input_enum = SmbRefreezeEnum;
48  fieldname=xNew<char>((strlen(field)+1)); xMemCpy<char>(fieldname,field,(strlen(field)+1));
49  }
50  else if(strcmp(string_in,"SmbRunoff")==0){
51  const char* field = "md.smb.runoff";
52  input_enum = SmbRunoffEnum;
53  fieldname=xNew<char>((strlen(field)+1)); xMemCpy<char>(fieldname,field,(strlen(field)+1));
54  }
55  else if(strcmp(string_in,"SmbEvaporation")==0){
56  const char* field = "md.smb.evaporation";
57  input_enum = SmbEvaporationEnum;
58  fieldname=xNew<char>((strlen(field)+1)); xMemCpy<char>(fieldname,field,(strlen(field)+1));
59  }
60  else if(strcmp(string_in,"SmbTa")==0){
61  const char* field = "md.smb.Ta";
62  input_enum = SmbTaEnum;
63  fieldname=xNew<char>((strlen(field)+1)); xMemCpy<char>(fieldname,field,(strlen(field)+1));
64  }
65  else if(strcmp(string_in,"SmbV")==0){
66  const char* field = "md.smb.V";
67  input_enum = SmbVEnum;
68  fieldname=xNew<char>((strlen(field)+1)); xMemCpy<char>(fieldname,field,(strlen(field)+1));
69  }
70  else if(strcmp(string_in,"SmbDswrf")==0){
71  const char* field = "md.smb.dswrf";
72  input_enum = SmbDswrfEnum;
73  fieldname=xNew<char>((strlen(field)+1)); xMemCpy<char>(fieldname,field,(strlen(field)+1));
74  }
75  else if(strcmp(string_in,"SmbDlwrf")==0){
76  const char* field = "md.smb.dlwrf";
77  input_enum = SmbDlwrfEnum;
78  fieldname=xNew<char>((strlen(field)+1)); xMemCpy<char>(fieldname,field,(strlen(field)+1));
79  }
80  else if(strcmp(string_in,"SmbP")==0){
81  const char* field = "md.smb.P";
82  input_enum = SmbPEnum;
83  fieldname=xNew<char>((strlen(field)+1)); xMemCpy<char>(fieldname,field,(strlen(field)+1));
84  }
85  else if(strcmp(string_in,"SmbEAir")==0){
86  const char* field = "md.smb.eAir";
87  input_enum = SmbEAirEnum;
88  fieldname=xNew<char>((strlen(field)+1)); xMemCpy<char>(fieldname,field,(strlen(field)+1));
89  }
90  else if(strcmp(string_in,"SmbPAir")==0){
91  const char* field = "md.smb.pAir";
92  input_enum = SmbPAirEnum;
93  fieldname=xNew<char>((strlen(field)+1)); xMemCpy<char>(fieldname,field,(strlen(field)+1));
94  }
95  else if(strcmp(string_in,"SmbVz")==0){
96  const char* field = "md.smb.Vz";
97  input_enum = SmbVzEnum;
98  fieldname=xNew<char>((strlen(field)+1)); xMemCpy<char>(fieldname,field,(strlen(field)+1));
99  }
100  else if(strcmp(string_in,"SmbTz")==0){
101  const char* field = "md.smb.Tz";
102  input_enum = SmbTzEnum;
103  fieldname=xNew<char>((strlen(field)+1)); xMemCpy<char>(fieldname,field,(strlen(field)+1));
104  }
105  else if(strcmp(string_in,"SmbC")==0){
106  const char* field = "md.smb.C";
107  input_enum = SmbCEnum;
108  fieldname=xNew<char>((strlen(field)+1)); xMemCpy<char>(fieldname,field,(strlen(field)+1));
109  }
110  else if(strcmp(string_in,"BasalforcingsFloatingiceMeltingRate")==0){
111  const char* field = "md.basalforcings.floatingice_melting_rate";
113  fieldname=xNew<char>((strlen(field)+1)); xMemCpy<char>(fieldname,field,(strlen(field)+1));
114  }
115  else if(strcmp(string_in,"BasalforcingsGeothermalflux")==0){
116  const char* field = "md.basalforcings.geothermalflux";
117  input_enum = BasalforcingsGeothermalfluxEnum;
118  fieldname=xNew<char>((strlen(field)+1)); xMemCpy<char>(fieldname,field,(strlen(field)+1));
119  }
120  else if(strcmp(string_in,"FrictionCoefficient")==0 || strcmp(string_in,"md.friction.coefficient")==0){
121  const char* field = "md.friction.coefficient";
122  input_enum = FrictionCoefficientEnum;
123  fieldname=xNew<char>((strlen(field)+1)); xMemCpy<char>(fieldname,field,(strlen(field)+1));
124  }
125  else if(strcmp(string_in,"FrictionEffectivePressure")==0){
126  const char* field = "md.friction.effective_pressure";
127  input_enum = FrictionEffectivePressureEnum;
128  fieldname=xNew<char>((strlen(field)+1)); xMemCpy<char>(fieldname,field,(strlen(field)+1));
129  }
130  else if(strcmp(string_in,"Vx")==0){
131  const char* field = "md.initialization.vx";
132  input_enum = VxEnum;
133  fieldname=xNew<char>((strlen(field)+1)); xMemCpy<char>(fieldname,field,(strlen(field)+1));
134  }
135  else if(strcmp(string_in,"Vy")==0){
136  const char* field = "md.initialization.vy";
137  input_enum = VyEnum;
138  fieldname=xNew<char>((strlen(field)+1)); xMemCpy<char>(fieldname,field,(strlen(field)+1));
139  }
140  else if(strcmp(string_in,"BalancethicknessThickeningRate")==0){
141  const char* field = "md.balancethickness.thickening_rate";
143  fieldname=xNew<char>((strlen(field)+1)); xMemCpy<char>(fieldname,field,(strlen(field)+1));
144  }
145  else if(strcmp(string_in,"BalancethicknessSpcthickness")==0){
146  const char* field = "md.balancethickness.spcthickness";
148  fieldname=xNew<char>((strlen(field)+1)); xMemCpy<char>(fieldname,field,(strlen(field)+1));
149  }
150  else if(strcmp(string_in,"CalvingMeltingrate")==0){
151  const char* field = "md.calving.meltingrate";
152  input_enum = CalvingMeltingrateEnum;
153  fieldname=xNew<char>((strlen(field)+1)); xMemCpy<char>(fieldname,field,(strlen(field)+1));
154  }
155  else if(strcmp(string_in,"CalvingStressThresholdGroundedice")==0){
156  const char* field = "md.calving.stress_threshold_groundedice";
158  fieldname=xNew<char>((strlen(field)+1)); xMemCpy<char>(fieldname,field,(strlen(field)+1));
159  }
160  else if(strcmp(string_in,"DamageDbar")==0){
161  const char* field = "md.damage.D";
162  input_enum = DamageDbarEnum;
163  fieldname=xNew<char>((strlen(field)+1)); xMemCpy<char>(fieldname,field,(strlen(field)+1));
164  }
165  else if(strcmp(string_in,"SurfaceloadIceThicknessChange")==0){
166  const char* field = "md.solidearth.surfaceload.iceheightchange";
168  fieldname=xNew<char>((strlen(field)+1)); xMemCpy<char>(fieldname,field,(strlen(field)+1));
169  }
170  else if(strcmp(string_in,"NGiaRate")==0){
171  const char* field = "md.gia.Ngia";
172  input_enum = NGiaRateEnum;
173  fieldname=xNew<char>((strlen(field)+1)); xMemCpy<char>(fieldname,field,(strlen(field)+1));
174  }
175  else if(strcmp(string_in,"DslGlobalAverageThermostericSeaLevelChange")==0){
176  const char* field = "md.dsl.global_average_thermosteric_sea_level_change";
178  fieldname=xNew<char>((strlen(field)+1)); xMemCpy<char>(fieldname,field,(strlen(field)+1));
179  }
180  else if(strcmp(string_in,"SurfaceloadWaterHeightChange")==0){
181  const char* field = "md.solidearth.surfaceload.waterheightchange";
183  fieldname=xNew<char>((strlen(field)+1)); xMemCpy<char>(fieldname,field,(strlen(field)+1));
184  }
185  else if(strcmp(string_in,"UGiaRate")==0){
186  const char* field = "md.gia.Ugia";
187  input_enum = UGiaRateEnum;
188  fieldname=xNew<char>((strlen(field)+1)); xMemCpy<char>(fieldname,field,(strlen(field)+1));
189  }
190  else{
191  _error_("Field \""<<string_in<<"\" not supported yet");
192  }
193 
194  /*Assign output pointers*/
195  *out_enum = input_enum;
196  *pfield = fieldname;
197  return;
198 }/*}}}*/
199 int IoCodeToEnumSMB(int enum_in){/*{{{*/
200  switch(enum_in){
201  case 1: return SMBforcingEnum;
202  case 2: return SMBcomponentsEnum;
203  case 3: return SMBmeltcomponentsEnum;
204  case 4: return SMBpddEnum;
205  case 5: return SMBd18opddEnum;
206  case 6: return SMBgradientsEnum;
207  case 7: return SMBhenningEnum;
208  case 8: return SMBgembEnum;
209  case 9: return SMBgradientselaEnum;
210  case 10: return SMBpddSicopolisEnum;
211  case 11: return SMBgradientscomponentsEnum;
212  case 12: return SMBsemicEnum;
213  default: _error_("Marshalled SMB code \""<<enum_in<<"\" not supported yet");
214  }
215 }/*}}}*/
216 int IoCodeToEnumBasal(int enum_in){/*{{{*/
217  switch(enum_in){
218  case 1: return FloatingMeltRateEnum;
219  case 2: return LinearFloatingMeltRateEnum;
220  case 3: return MismipFloatingMeltRateEnum;
221  case 4: return MantlePlumeGeothermalFluxEnum;
222  case 5: return BasalforcingsPicoEnum;
223  case 6: return SpatialLinearFloatingMeltRateEnum;
224  case 7: return BasalforcingsIsmip6Enum;
225  case 8: return BeckmannGoosseFloatingMeltRateEnum;
226  default: _error_("Marshalled Basal Forcings code \""<<enum_in<<"\" not supported yet");
227  }
228 }/*}}}*/
229 int IoCodeToEnumCalving(int enum_in){/*{{{*/
230  switch(enum_in){
231  case 1: return DefaultCalvingEnum;
232  case 2: return CalvingVonmisesEnum;
233  case 3: return CalvingLevermannEnum;
234  case 4: return CalvingMinthicknessEnum;
235  case 5: return CalvingHabEnum;
236  case 6: return CalvingCrevasseDepthEnum;
237  case 7: return CalvingDev2Enum;
238  default: _error_("Marshalled Calving law code \""<<enum_in<<"\" not supported yet");
239  }
240 }/*}}}*/
241 int IoCodeToEnumFrontalforcings(int enum_in){/*{{{*/
242  switch(enum_in){
243  case 1: return FrontalForcingsDefaultEnum;
244  case 2: return FrontalForcingsRignotEnum;
245  default: _error_("Marshalled Frontalforcings code \""<<enum_in<<"\" not supported yet");
246  }
247 }/*}}}*/
248 int IoCodeToEnumHydrology(int enum_in){/*{{{*/
249  switch(enum_in){
250  case 1: return HydrologydcEnum;
251  case 2: return HydrologyshreveEnum;
252  case 3: return HydrologyshaktiEnum;
253  case 4: return HydrologypismEnum;
254  case 5: return HydrologyGlaDSEnum;
255  default: _error_("Marshalled hydrology code \""<<enum_in<<"\" not supported yet");
256  }
257 }/*}}}*/
258 int IoCodeToEnumMaterials(int enum_in){/*{{{*/
259  switch(enum_in){
260  case 1: return MatdamageiceEnum;
261  case 2: return MatestarEnum;
262  case 3: return MaticeEnum;
263  case 4: return MatenhancediceEnum;
264  case 5: return MaterialsEnum; //This should not happen anymore??
265  case 6: return MatlithoEnum;
266  case 7: return MathydroEnum;
267  default: _error_("Marshalled materials code \""<<enum_in<<"\" not supported yet");
268  }
269 }/*}}}*/
270 int IoCodeToEnumNature(int enum_in){/*{{{*/
271  switch(enum_in){
272  case 1: return MatdamageiceEnum;
273  case 2: return MatestarEnum;
274  case 3: return MaticeEnum;
275  case 4: return MatenhancediceEnum;
276  case 5: return MaterialsEnum;
277  case 6: return MatlithoEnum;
278  case 7: return MathydroEnum;
279  default: _error_("Marshalled materials nature code \""<<enum_in<<"\" not supported yet");
280  }
281 }/*}}}*/
282 int IoCodeToEnumTimestepping(int enum_in){/*{{{*/
283  switch(enum_in){
284  case 1: return FixedTimesteppingEnum;
285  case 2: return AdaptiveTimesteppingEnum;
286  default: _error_("Marshalled materials code \""<<enum_in<<"\" not supported yet");
287  }
288 }/*}}}*/
289 int IoCodeToEnumAmr(int enum_in){/*{{{*/
290  switch(enum_in){
291  case 1: return AmrBamgEnum;
292  case 2: return AmrNeopzEnum;
293  default: _error_("Marshalled AMR code \""<<enum_in<<"\" not supported yet");
294  }
295 }/*}}}*/
296 
297 int IoCodeToEnumVertexEquation(int enum_in){/*{{{*/
298  switch(enum_in){
299  case 0: return NoneApproximationEnum;
300  case 1: return SIAApproximationEnum;
301  case 2: return SSAApproximationEnum;
302  case 3: return L1L2ApproximationEnum;
303  case 4: return HOApproximationEnum;
304  case 5: return FSApproximationEnum;
305  case 6: return SSAHOApproximationEnum;
306  case 7: return HOFSApproximationEnum;
307  case 8: return SSAFSApproximationEnum;
308  default: _error_("Marshalled vertex equation code \""<<enum_in<<"\" not supported yet.");
309  }
310 }/*}}}*/
311 int IoCodeToEnumElementEquation(int enum_in){/*{{{*/
312  switch(enum_in){
313  case 0: return NoneApproximationEnum;
314  case 1: return SIAApproximationEnum;
315  case 2: return SSAApproximationEnum;
316  case 3: return L1L2ApproximationEnum;
317  case 4: return HOApproximationEnum;
318  case 5: return FSApproximationEnum;
319  case 6: return SSAHOApproximationEnum;
320  case 7: return SSAFSApproximationEnum;
321  case 8: return HOFSApproximationEnum;
322  default: _error_("Marshalled element equation code \""<<enum_in<<"\" not supported yet.");
323  }
324 
325 }/*}}}*/
326 
327 int IoRiftfillToEnum(int enum_in){/*{{{*/
328  switch(enum_in){
329  case 0: return AirEnum;
330  case 1: return IceEnum;
331  case 2: return MelangeEnum;
332  case 3: return WaterEnum;
333  default: _error_("Marshalled Riftfill enum \""<<enum_in<<"\" not supported yet.");
334  }
335 }/*}}}*/
AmrNeopzEnum
@ AmrNeopzEnum
Definition: EnumDefinitions.h:975
FrictionCoefficientEnum
@ FrictionCoefficientEnum
Definition: EnumDefinitions.h:574
DslGlobalAverageThermostericSeaLevelChangeEnum
@ DslGlobalAverageThermostericSeaLevelChangeEnum
Definition: EnumDefinitions.h:540
SMBgradientselaEnum
@ SMBgradientselaEnum
Definition: EnumDefinitions.h:1249
CalvingStressThresholdGroundediceEnum
@ CalvingStressThresholdGroundediceEnum
Definition: EnumDefinitions.h:506
SMBd18opddEnum
@ SMBd18opddEnum
Definition: EnumDefinitions.h:1243
SmbMassBalanceEnum
@ SmbMassBalanceEnum
Definition: EnumDefinitions.h:748
CalvingVonmisesEnum
@ CalvingVonmisesEnum
Definition: EnumDefinitions.h:1004
SmbAccumulationEnum
@ SmbAccumulationEnum
Definition: EnumDefinitions.h:708
HOApproximationEnum
@ HOApproximationEnum
Definition: EnumDefinitions.h:1095
CalvingHabEnum
@ CalvingHabEnum
Definition: EnumDefinitions.h:1002
FrictionEffectivePressureEnum
@ FrictionEffectivePressureEnum
Definition: EnumDefinitions.h:576
SMBcomponentsEnum
@ SMBcomponentsEnum
Definition: EnumDefinitions.h:1242
BalancethicknessThickeningRateEnum
@ BalancethicknessThickeningRateEnum
Definition: EnumDefinitions.h:474
HydrologydcEnum
@ HydrologydcEnum
Definition: EnumDefinitions.h:1106
MathydroEnum
@ MathydroEnum
Definition: EnumDefinitions.h:1171
SmbVEnum
@ SmbVEnum
Definition: EnumDefinitions.h:791
SmbPAirEnum
@ SmbPAirEnum
Definition: EnumDefinitions.h:760
SSAHOApproximationEnum
@ SSAHOApproximationEnum
Definition: EnumDefinitions.h:1257
AdaptiveTimesteppingEnum
@ AdaptiveTimesteppingEnum
Definition: EnumDefinitions.h:969
IoCodeToEnumElementEquation
int IoCodeToEnumElementEquation(int enum_in)
Definition: IoCodeConversions.cpp:311
IoCodeToEnumMaterials
int IoCodeToEnumMaterials(int enum_in)
Definition: IoCodeConversions.cpp:258
CalvingCrevasseDepthEnum
@ CalvingCrevasseDepthEnum
Definition: EnumDefinitions.h:96
UGiaRateEnum
@ UGiaRateEnum
Definition: EnumDefinitions.h:594
MismipFloatingMeltRateEnum
@ MismipFloatingMeltRateEnum
Definition: EnumDefinitions.h:1190
SMBhenningEnum
@ SMBhenningEnum
Definition: EnumDefinitions.h:1250
BasalforcingsPicoEnum
@ BasalforcingsPicoEnum
Definition: EnumDefinitions.h:990
SmbTaEnum
@ SmbTaEnum
Definition: EnumDefinitions.h:782
FSApproximationEnum
@ FSApproximationEnum
Definition: EnumDefinitions.h:1060
VyEnum
@ VyEnum
Definition: EnumDefinitions.h:850
SMBgradientsEnum
@ SMBgradientsEnum
Definition: EnumDefinitions.h:1247
L1L2ApproximationEnum
@ L1L2ApproximationEnum
Definition: EnumDefinitions.h:1135
CalvingMeltingrateEnum
@ CalvingMeltingrateEnum
Definition: EnumDefinitions.h:504
FieldAndEnumFromCode
void FieldAndEnumFromCode(int *out_enum, char **pfield, const char *string_in)
Definition: IoCodeConversions.cpp:9
IoCodeToEnumHydrology
int IoCodeToEnumHydrology(int enum_in)
Definition: IoCodeConversions.cpp:248
MaterialsRheologyBbarEnum
@ MaterialsRheologyBbarEnum
Definition: EnumDefinitions.h:644
SmbPEnum
@ SmbPEnum
Definition: EnumDefinitions.h:761
SMBsemicEnum
@ SMBsemicEnum
Definition: EnumDefinitions.h:1254
IoCodeToEnumNature
int IoCodeToEnumNature(int enum_in)
Definition: IoCodeConversions.cpp:270
NoneApproximationEnum
@ NoneApproximationEnum
Definition: EnumDefinitions.h:1201
SmbVzEnum
@ SmbVzEnum
Definition: EnumDefinitions.h:793
SmbCEnum
@ SmbCEnum
Definition: EnumDefinitions.h:714
MatestarEnum
@ MatestarEnum
Definition: EnumDefinitions.h:1168
FrontalForcingsDefaultEnum
@ FrontalForcingsDefaultEnum
Definition: EnumDefinitions.h:1073
FrontalForcingsRignotEnum
@ FrontalForcingsRignotEnum
Definition: EnumDefinitions.h:1074
SmbEvaporationEnum
@ SmbEvaporationEnum
Definition: EnumDefinitions.h:738
FloatingMeltRateEnum
@ FloatingMeltRateEnum
Definition: EnumDefinitions.h:1069
LinearFloatingMeltRateEnum
@ LinearFloatingMeltRateEnum
Definition: EnumDefinitions.h:1143
BeckmannGoosseFloatingMeltRateEnum
@ BeckmannGoosseFloatingMeltRateEnum
Definition: EnumDefinitions.h:991
MantlePlumeGeothermalFluxEnum
@ MantlePlumeGeothermalFluxEnum
Definition: EnumDefinitions.h:1158
NGiaRateEnum
@ NGiaRateEnum
Definition: EnumDefinitions.h:592
SMBgradientscomponentsEnum
@ SMBgradientscomponentsEnum
Definition: EnumDefinitions.h:1248
MatdamageiceEnum
@ MatdamageiceEnum
Definition: EnumDefinitions.h:1165
BasalforcingsFloatingiceMeltingRateEnum
@ BasalforcingsFloatingiceMeltingRateEnum
Definition: EnumDefinitions.h:476
AirEnum
@ AirEnum
Definition: EnumDefinitions.h:469
SurfaceloadWaterHeightChangeEnum
@ SurfaceloadWaterHeightChangeEnum
Definition: EnumDefinitions.h:692
MelangeEnum
@ MelangeEnum
Definition: EnumDefinitions.h:1181
SmbRefreezeEnum
@ SmbRefreezeEnum
Definition: EnumDefinitions.h:770
IoCodeToEnumSMB
int IoCodeToEnumSMB(int enum_in)
Definition: IoCodeConversions.cpp:199
SpatialLinearFloatingMeltRateEnum
@ SpatialLinearFloatingMeltRateEnum
Definition: EnumDefinitions.h:1278
FixedTimesteppingEnum
@ FixedTimesteppingEnum
Definition: EnumDefinitions.h:1066
BasalforcingsIsmip6Enum
@ BasalforcingsIsmip6Enum
Definition: EnumDefinitions.h:989
SMBgembEnum
@ SMBgembEnum
Definition: EnumDefinitions.h:1246
SmbDswrfEnum
@ SmbDswrfEnum
Definition: EnumDefinitions.h:727
SSAFSApproximationEnum
@ SSAFSApproximationEnum
Definition: EnumDefinitions.h:1256
DamageDbarEnum
@ DamageDbarEnum
Definition: EnumDefinitions.h:518
SmbEAirEnum
@ SmbEAirEnum
Definition: EnumDefinitions.h:733
CalvingDev2Enum
@ CalvingDev2Enum
Definition: EnumDefinitions.h:1001
MaterialsEnum
@ MaterialsEnum
Definition: EnumDefinitions.h:1167
SmbDlwrfEnum
@ SmbDlwrfEnum
Definition: EnumDefinitions.h:726
MatlithoEnum
@ MatlithoEnum
Definition: EnumDefinitions.h:1170
CalvingLevermannEnum
@ CalvingLevermannEnum
Definition: EnumDefinitions.h:1003
SmbRunoffEnum
@ SmbRunoffEnum
Definition: EnumDefinitions.h:772
HydrologyshaktiEnum
@ HydrologyshaktiEnum
Definition: EnumDefinitions.h:1108
_error_
#define _error_(StreamArgs)
Definition: exceptions.h:49
IoCodeToEnumFrontalforcings
int IoCodeToEnumFrontalforcings(int enum_in)
Definition: IoCodeConversions.cpp:241
MaterialsRheologyBEnum
@ MaterialsRheologyBEnum
Definition: EnumDefinitions.h:643
VxEnum
@ VxEnum
Definition: EnumDefinitions.h:846
HydrologypismEnum
@ HydrologypismEnum
Definition: EnumDefinitions.h:1107
SurfaceloadIceThicknessChangeEnum
@ SurfaceloadIceThicknessChangeEnum
Definition: EnumDefinitions.h:691
AmrBamgEnum
@ AmrBamgEnum
Definition: EnumDefinitions.h:974
IceEnum
@ IceEnum
Definition: EnumDefinitions.h:626
HOFSApproximationEnum
@ HOFSApproximationEnum
Definition: EnumDefinitions.h:1096
ThicknessEnum
@ ThicknessEnum
Definition: EnumDefinitions.h:840
SSAApproximationEnum
@ SSAApproximationEnum
Definition: EnumDefinitions.h:1255
HydrologyGlaDSEnum
@ HydrologyGlaDSEnum
Definition: EnumDefinitions.h:1101
MatenhancediceEnum
@ MatenhancediceEnum
Definition: EnumDefinitions.h:1166
MaticeEnum
@ MaticeEnum
Definition: EnumDefinitions.h:1169
SmbTzEnum
@ SmbTzEnum
Definition: EnumDefinitions.h:790
SMBpddSicopolisEnum
@ SMBpddSicopolisEnum
Definition: EnumDefinitions.h:1253
BasalforcingsGeothermalfluxEnum
@ BasalforcingsGeothermalfluxEnum
Definition: EnumDefinitions.h:477
IoRiftfillToEnum
int IoRiftfillToEnum(int enum_in)
Definition: IoCodeConversions.cpp:327
IoCodeToEnumVertexEquation
int IoCodeToEnumVertexEquation(int enum_in)
Definition: IoCodeConversions.cpp:297
HydrologyshreveEnum
@ HydrologyshreveEnum
Definition: EnumDefinitions.h:1109
SmbMeltEnum
@ SmbMeltEnum
Definition: EnumDefinitions.h:754
CalvingMinthicknessEnum
@ CalvingMinthicknessEnum
Definition: EnumDefinitions.h:100
SMBmeltcomponentsEnum
@ SMBmeltcomponentsEnum
Definition: EnumDefinitions.h:1251
IoCodeToEnumTimestepping
int IoCodeToEnumTimestepping(int enum_in)
Definition: IoCodeConversions.cpp:282
SIAApproximationEnum
@ SIAApproximationEnum
Definition: EnumDefinitions.h:1241
IoCodeToEnumAmr
int IoCodeToEnumAmr(int enum_in)
Definition: IoCodeConversions.cpp:289
BalancethicknessSpcthicknessEnum
@ BalancethicknessSpcthicknessEnum
Definition: EnumDefinitions.h:986
IoCodeToEnumBasal
int IoCodeToEnumBasal(int enum_in)
Definition: IoCodeConversions.cpp:216
SMBforcingEnum
@ SMBforcingEnum
Definition: EnumDefinitions.h:1244
SMBpddEnum
@ SMBpddEnum
Definition: EnumDefinitions.h:1252
WaterEnum
@ WaterEnum
Definition: EnumDefinitions.h:1328
IoCodeToEnumCalving
int IoCodeToEnumCalving(int enum_in)
Definition: IoCodeConversions.cpp:229
DefaultCalvingEnum
@ DefaultCalvingEnum
Definition: EnumDefinitions.h:1033