Ice Sheet System Model  4.18
Code documentation
EnumToAnalysis.cpp
Go to the documentation of this file.
1 /*
2 * \file EnumToAnalysis.cpp
3 * \brief: output class depending on enum
4 *
5 * WARNING: DO NOT MODIFY THIS FILE
6 * this file has been automatically generated by Synchronize.sh
7 * Please read README for more information
8 */
9 
10 #include "./analyses.h"
11 #include "../shared/shared.h"
12 
13 Analysis* EnumToAnalysis(int analysis_enum){
14 
15  switch(analysis_enum){
16  #ifdef _HAVE_ADJOINTBALANCETHICKNESS2_
18  #endif
19  #ifdef _HAVE_ADJOINTBALANCETHICKNESS_
21  #endif
22  #ifdef _HAVE_ADJOINTHORIZ_
24  #endif
25  #ifdef _HAVE_BALANCETHICKNESS2_
27  #endif
28  #ifdef _HAVE_BALANCETHICKNESS_
30  #endif
31  #ifdef _HAVE_BALANCETHICKNESSSOFT_
33  #endif
34  #ifdef _HAVE_BALANCEVELOCITY_
36  #endif
37  #ifdef _HAVE_DAMAGEEVOLUTION_
39  #endif
40  #ifdef _HAVE_DEPTHAVERAGE_
42  #endif
43  #ifdef _HAVE_ENTHALPY_
44  case EnthalpyAnalysisEnum : return new EnthalpyAnalysis();
45  #endif
46  #ifdef _HAVE_ESA_
47  case EsaAnalysisEnum : return new EsaAnalysis();
48  #endif
49  #ifdef _HAVE_EXTRAPOLATION_
51  #endif
52  #ifdef _HAVE_EXTRUDEFROMBASE_
54  #endif
55  #ifdef _HAVE_EXTRUDEFROMTOP_
57  #endif
58  #ifdef _HAVE_FREESURFACEBASE_
60  #endif
61  #ifdef _HAVE_FREESURFACETOP_
63  #endif
64  #ifdef _HAVE_GLHEIGHTADVECTION_
66  #endif
67  #ifdef _HAVE_GIA_
68  case GiaAnalysisEnum : return new GiaAnalysis();
69  #endif
70  #ifdef _HAVE_HYDROLOGYDCEFFICIENT_
72  #endif
73  #ifdef _HAVE_HYDROLOGYDCINEFFICIENT_
75  #endif
76  #ifdef _HAVE_HYDROLOGYSHREVE_
78  #endif
79  #ifdef _HAVE_HYDROLOGYGLADS_
81  #endif
82  #ifdef _HAVE_HYDROLOGYSHAKTI_
84  #endif
85  #ifdef _HAVE_HYDROLOGYPISM_
87  #endif
88  #ifdef _HAVE_L2PROJECTIONBASE_
90  #endif
91  #ifdef _HAVE_L2PROJECTIONEPL_
93  #endif
94  #ifdef _HAVE_LEVELSET_
95  case LevelsetAnalysisEnum : return new LevelsetAnalysis();
96  #endif
97  #ifdef _HAVE_LOVE_
98  case LoveAnalysisEnum : return new LoveAnalysis();
99  #endif
100  #ifdef _HAVE_MASSTRANSPORT_
102  #endif
103  #ifdef _HAVE_MELTING_
104  case MeltingAnalysisEnum : return new MeltingAnalysis();
105  #endif
106  #ifdef _HAVE_SEALEVELRISE_
108  #endif
109  #ifdef _HAVE_SMB_
110  case SmbAnalysisEnum : return new SmbAnalysis();
111  #endif
112  #ifdef _HAVE_SMOOTH_
113  case SmoothAnalysisEnum : return new SmoothAnalysis();
114  #endif
115  #ifdef _HAVE_STRESSBALANCE_
117  #endif
118  #ifdef _HAVE_STRESSBALANCESIA_
120  #endif
121  #ifdef _HAVE_STRESSBALANCEVERTICAL_
123  #endif
124  #ifdef _HAVE_THERMAL_
125  case ThermalAnalysisEnum : return new ThermalAnalysis();
126  #endif
127  #ifdef _HAVE_UZAWAPRESSURE_
129  #endif
130  default : _error_("enum provided not supported ("<<EnumToStringx(analysis_enum)<<")");
131  }
132 }
FreeSurfaceTopAnalysisEnum
@ FreeSurfaceTopAnalysisEnum
Definition: EnumDefinitions.h:1072
BalancethicknessAnalysisEnum
@ BalancethicknessAnalysisEnum
Definition: EnumDefinitions.h:981
Balancethickness2Analysis
Definition: Balancethickness2Analysis.h:11
LoveAnalysis
Definition: LoveAnalysis.h:11
StressbalanceAnalysis
Definition: StressbalanceAnalysis.h:11
BalancethicknessSoftAnalysisEnum
@ BalancethicknessSoftAnalysisEnum
Definition: EnumDefinitions.h:983
EnthalpyAnalysisEnum
@ EnthalpyAnalysisEnum
Definition: EnumDefinitions.h:1052
LoveAnalysisEnum
@ LoveAnalysisEnum
Definition: EnumDefinitions.h:1146
SmbAnalysisEnum
@ SmbAnalysisEnum
Definition: EnumDefinitions.h:1274
GiaAnalysis
Definition: GiaAnalysis.h:11
StressbalanceSIAAnalysis
Definition: StressbalanceSIAAnalysis.h:11
ExtrudeFromBaseAnalysisEnum
@ ExtrudeFromBaseAnalysisEnum
Definition: EnumDefinitions.h:1058
MasstransportAnalysisEnum
@ MasstransportAnalysisEnum
Definition: EnumDefinitions.h:1163
BalancevelocityAnalysisEnum
@ BalancevelocityAnalysisEnum
Definition: EnumDefinitions.h:987
StressbalanceAnalysisEnum
@ StressbalanceAnalysisEnum
Definition: EnumDefinitions.h:1285
ExtrapolationAnalysis
Definition: ExtrapolationAnalysis.h:11
Balancethickness2AnalysisEnum
@ Balancethickness2AnalysisEnum
Definition: EnumDefinitions.h:979
L2ProjectionEPLAnalysis
Definition: L2ProjectionEPLAnalysis.h:11
ExtrudeFromTopAnalysisEnum
@ ExtrudeFromTopAnalysisEnum
Definition: EnumDefinitions.h:1059
DepthAverageAnalysisEnum
@ DepthAverageAnalysisEnum
Definition: EnumDefinitions.h:1036
DamageEvolutionAnalysisEnum
@ DamageEvolutionAnalysisEnum
Definition: EnumDefinitions.h:1026
HydrologyShaktiAnalysis
Definition: HydrologyShaktiAnalysis.h:11
ExtrudeFromBaseAnalysis
Definition: ExtrudeFromBaseAnalysis.h:11
L2ProjectionBaseAnalysis
Definition: L2ProjectionBaseAnalysis.h:11
FreeSurfaceBaseAnalysisEnum
@ FreeSurfaceBaseAnalysisEnum
Definition: EnumDefinitions.h:1071
EnthalpyAnalysis
Definition: EnthalpyAnalysis.h:12
HydrologyShaktiAnalysisEnum
@ HydrologyShaktiAnalysisEnum
Definition: EnumDefinitions.h:1103
EsaAnalysisEnum
@ EsaAnalysisEnum
Definition: EnumDefinitions.h:1053
HydrologyPismAnalysisEnum
@ HydrologyPismAnalysisEnum
Definition: EnumDefinitions.h:1102
EsaAnalysis
Definition: EsaAnalysis.h:11
SmoothAnalysisEnum
@ SmoothAnalysisEnum
Definition: EnumDefinitions.h:1276
ThermalAnalysis
Definition: ThermalAnalysis.h:11
HydrologyDCEfficientAnalysis
Definition: HydrologyDCEfficientAnalysis.h:12
BalancethicknessAnalysis
Definition: BalancethicknessAnalysis.h:11
HydrologyDCInefficientAnalysisEnum
@ HydrologyDCInefficientAnalysisEnum
Definition: EnumDefinitions.h:1099
AdjointBalancethickness2Analysis
Definition: AdjointBalancethickness2Analysis.h:11
HydrologyGlaDSAnalysisEnum
@ HydrologyGlaDSAnalysisEnum
Definition: EnumDefinitions.h:1100
DepthAverageAnalysis
Definition: DepthAverageAnalysis.h:11
MeltingAnalysisEnum
@ MeltingAnalysisEnum
Definition: EnumDefinitions.h:1182
ExtrapolationAnalysisEnum
@ ExtrapolationAnalysisEnum
Definition: EnumDefinitions.h:1057
UzawaPressureAnalysisEnum
@ UzawaPressureAnalysisEnum
Definition: EnumDefinitions.h:1320
StressbalanceVerticalAnalysis
Definition: StressbalanceVerticalAnalysis.h:11
AdjointBalancethicknessAnalysisEnum
@ AdjointBalancethicknessAnalysisEnum
Definition: EnumDefinitions.h:971
GLheightadvectionAnalysis
Definition: GLheightadvectionAnalysis.h:11
L2ProjectionBaseAnalysisEnum
@ L2ProjectionBaseAnalysisEnum
Definition: EnumDefinitions.h:1136
GiaAnalysisEnum
@ GiaAnalysisEnum
Definition: EnumDefinitions.h:1084
FreeSurfaceTopAnalysis
Definition: FreeSurfaceTopAnalysis.h:11
BalancevelocityAnalysis
Definition: BalancevelocityAnalysis.h:11
AdjointHorizAnalysisEnum
@ AdjointHorizAnalysisEnum
Definition: EnumDefinitions.h:972
EnumToStringx
const char * EnumToStringx(int enum_in)
Definition: EnumToStringx.cpp:15
LevelsetAnalysisEnum
@ LevelsetAnalysisEnum
Definition: EnumDefinitions.h:1141
HydrologyPismAnalysis
Definition: HydrologyPismAnalysis.h:11
HydrologyDCInefficientAnalysis
Definition: HydrologyDCInefficientAnalysis.h:12
HydrologyShreveAnalysis
Definition: HydrologyShreveAnalysis.h:11
AdjointBalancethicknessAnalysis
Definition: AdjointBalancethicknessAnalysis.h:11
FreeSurfaceBaseAnalysis
Definition: FreeSurfaceBaseAnalysis.h:11
BalancethicknessSoftAnalysis
Definition: BalancethicknessSoftAnalysis.h:11
SealevelriseAnalysisEnum
@ SealevelriseAnalysisEnum
Definition: EnumDefinitions.h:1266
HydrologyDCEfficientAnalysisEnum
@ HydrologyDCEfficientAnalysisEnum
Definition: EnumDefinitions.h:1098
LevelsetAnalysis
Definition: LevelsetAnalysis.h:11
HydrologyShreveAnalysisEnum
@ HydrologyShreveAnalysisEnum
Definition: EnumDefinitions.h:1104
EnumToAnalysis
Analysis * EnumToAnalysis(int analysis_enum)
Definition: EnumToAnalysis.cpp:13
ThermalAnalysisEnum
@ ThermalAnalysisEnum
Definition: EnumDefinitions.h:1302
SealevelriseAnalysis
Definition: SealevelriseAnalysis.h:11
analyses.h
StressbalanceSIAAnalysisEnum
@ StressbalanceSIAAnalysisEnum
Definition: EnumDefinitions.h:1287
SmoothAnalysis
Definition: SmoothAnalysis.h:11
SmbAnalysis
Definition: SmbAnalysis.h:11
DamageEvolutionAnalysis
Definition: DamageEvolutionAnalysis.h:11
L2ProjectionEPLAnalysisEnum
@ L2ProjectionEPLAnalysisEnum
Definition: EnumDefinitions.h:1137
UzawaPressureAnalysis
Definition: UzawaPressureAnalysis.h:11
GLheightadvectionAnalysisEnum
@ GLheightadvectionAnalysisEnum
Definition: EnumDefinitions.h:1077
StressbalanceVerticalAnalysisEnum
@ StressbalanceVerticalAnalysisEnum
Definition: EnumDefinitions.h:1289
_error_
#define _error_(StreamArgs)
Definition: exceptions.h:49
AdjointHorizAnalysis
Definition: AdjointHorizAnalysis.h:11
HydrologyGlaDSAnalysis
Definition: HydrologyGlaDSAnalysis.h:11
ExtrudeFromTopAnalysis
Definition: ExtrudeFromTopAnalysis.h:11
MeltingAnalysis
Definition: MeltingAnalysis.h:11
Analysis
Definition: Analysis.h:30
MasstransportAnalysis
Definition: MasstransportAnalysis.h:11
AdjointBalancethickness2AnalysisEnum
@ AdjointBalancethickness2AnalysisEnum
Definition: EnumDefinitions.h:970