60 case VM_Unknown:
return 0;
62 case VM_Total:
return 'u';
64 case VM_Velocity:
return 'v';
66 case VM_Acceleration:
return 'a';
68 case VM_TotalIntrinsic:
return 'i';
80 case IST_StrainTensor:
81 case IST_StrainTensorTemp:
82 case IST_DeviatoricStrain:
83 case IST_PlasticStrainTensor:
84 case IST_ThermalStrainTensor:
85 case IST_ElasticStrainTensor:
86 case IST_CylindricalStrainTensor:
87 case IST_CreepStrainTensor:
88 case IST_ShellStrainTensor:
89 case IST_CurvatureTensor:
90 case IST_CurvatureTensorTemp:
91 case IST_EigenStrainTensor:
94 case IST_StressTensor:
95 case IST_StressTensorTemp:
96 case IST_CylindricalStressTensor:
97 case IST_DeviatoricStress:
98 case IST_CauchyStressTensor:
100 case IST_ShellForceTensor:
101 case IST_ShellForceTensorTemp:
102 case IST_ShellMomentTensor:
103 case IST_MomentTensor:
104 case IST_MomentTensorTemp:
107 case IST_AutogenousShrinkageTensor:
108 case IST_DryingShrinkageTensor:
109 case IST_TotalShrinkageTensor:
112 case IST_DamageTensor:
113 case IST_DamageTensorTemp:
114 case IST_DamageInvTensor:
115 case IST_DamageInvTensorTemp:
116 case IST_PrincipalDamageTensor:
117 case IST_PrincipalDamageTempTensor:
120 case IST_DeformationGradientTensor:
121 case IST_FirstPKStressTensor:
125 case IST_BeamForceMomentTensor:
126 case IST_BeamStrainCurvatureTensor:
127 case IST_PrincipalStressTensor:
128 case IST_PrincipalStressTempTensor:
129 case IST_PrincipalStrainTensor:
130 case IST_PrincipalStrainTempTensor:
131 case IST_PrincipalPlasticStrainTensor:
132 case IST_DisplacementVector:
133 case IST_DisplacementVectorTemp:
135 case IST_CrackStateTemp:
136 case IST_MicroplaneDamageValues:
138 case IST_MaterialOrientation_x:
139 case IST_MaterialOrientation_y:
140 case IST_MaterialOrientation_z:
141 case IST_TemperatureFlow:
142 case IST_MassConcentrationFlow_1:
143 case IST_HumidityFlow:
145 case IST_CrackStatuses:
146 case IST_CrackVector:
147 case IST_2ndCrackVector:
148 case IST_3rdCrackVector:
149 case IST_InterfaceFirstPKTraction:
150 case IST_InterfaceTraction:
151 case IST_InterfaceJump:
152 case IST_InterfaceNormal:
153 case IST_PrincStressVector1:
154 case IST_PrincStressVector2:
155 case IST_PrincStressVector3:
158 case IST_MaxEquivalentStrainLevel:
159 case IST_ErrorIndicatorLevel:
160 case IST_InternalStressError:
161 case IST_PrimaryUnknownError:
162 case IST_RelMeshDensity:
163 case IST_Temperature:
164 case IST_MassConcentration_1:
165 case IST_HydrationDegree:
168 case IST_VOFFraction:
170 case IST_MaterialInterfaceVal:
171 case IST_MaterialNumber:
172 case IST_ElementNumber:
173 case IST_BoneVolumeFraction:
174 case IST_PlasStrainEnerDens:
175 case IST_ElasStrainEnerDens:
176 case IST_TotalStrainEnerDens:
177 case IST_DamageScalar:
178 case IST_CrackedFlag:
179 case IST_CumPlasticStrain:
180 case IST_CumPlasticStrain_2:
181 case IST_StressWorkDensity:
182 case IST_DissWorkDensity:
183 case IST_FreeEnergyDensity:
184 case IST_ThermalConductivityIsotropic:
185 case IST_HeatCapacity:
186 case IST_AverageTemperature:
187 case IST_YoungModulusVirginPaste:
188 case IST_PoissonRatioVirginPaste:
189 case IST_YoungModulusConcrete:
190 case IST_PoissonRatioConcrete:
191 case IST_VolumetricPlasticStrain:
193 case IST_DeviatoricStrainMeasure:
194 case IST_DeviatoricStressMeasure:
195 case IST_vonMisesStress:
196 case IST_XFEMEnrichment:
197 case IST_XFEMNumIntersecPoints:
198 case IST_XFEMLevelSetPhi:
200 case IST_CrossSectionNumber:
202 case IST_2ndCrackWidth:
203 case IST_3rdCrackWidth:
204 case IST_TensileStrength:
205 case IST_ResidualTensileStrength:
207 case IST_FiberStressNL:
208 case IST_FiberStressLocal:
239 if ( type == DisplacementVector || type == EigenVector || type == VelocityVector || type == DirectorField ) {
241 }
else if ( type == FluxVector || type == PressureVector || type == Temperature || type == Humidity || type == DeplanationFunction ) {
274 "ContextIOERR encountered, error code: %d\n%s",
error,
msg);
277 "ContextIOERR encountered, error code: %d",
error);
288 #define ENUM_ITEM(element) case element: return # element; 290 #define ENUM_ITEM_WITH_VALUE(element, val) case element: return # element; 292 #define TO_STRING_BODY(enum_def) \ 293 switch ( _value ) { \ 295 default: return "Unknown"; \ 333 sprintf(tmp,
"X_%d", _value -
MaxDofID + 1);
InternalStateType
Type representing the physical meaning of element or constitutive model internal variable.
Element_Geometry_Type
Enumerative type used to classify element geometry Possible values are: EGT_point - point in space EG...
contextIOResultType error
ContextIOERR(contextIOResultType e, const char *file, int line)
ValueModeType
Type representing the mode of UnknownType or CharType, or similar types.
const char * __MatResponseModeToString(MatResponseMode _value)
dofType
Dof Type, determines the type of DOF created.
InternalStateValueType
Determines the type of internal variable.
symmetric 3x3 tensor, packed with off diagonal components multiplied by 2 (engineering strain vector...
MaterialMode
Type representing material mode of integration point.
MatResponseMode
Describes the character of characteristic material matrix.
const char * __UnknownTypeToString(UnknownType _value)
int giveInternalStateTypeSize(InternalStateValueType valType)
void writeELogMsg(logLevelType level, const char *_func, const char *_file, int _line, const char *format,...)
Writes extended log message with file and line info.
const char * __MaterialModeToString(MaterialMode _value)
const char * __domainTypeToString(domainType _value)
DofIDItem
Type representing particular dof type.
UnknownType
Type representing particular unknown (its physical meaning).
const char * __CharTypeToString(CharType _value)
const char * __MeshPackageTypeToString(MeshPackageType _value)
MaterialMappingAlgorithmType
Enumerative type used to classify supported MaterialMappingAlgorithms.
Logger oofem_logger(Logger::LOG_LEVEL_INFO)
const char * __MaterialMappingAlgorithmTypeToString(MaterialMappingAlgorithmType _value)
const char * __XFEMStateTypeToString(XFEMStateType _value)
#define OOFEM_EXIT(code)
Cause oofem program termination by calling exit.
const char * __Element_Geometry_TypeToString(Element_Geometry_Type _value)
std::string __DofIDItemToString(DofIDItem _value)
MeshPackageType
Enumerative type used to classify supported mesh packages.
const char * __InternalStateTypeToString(InternalStateType _value)
InternalStateValueType giveInternalStateValueType(InternalStateType type)
char cltypesGiveUnknownTypeModeKey(ValueModeType mode)
the oofem namespace is to define a context or scope in which all oofem names are defined.
const char * __dofTypeToString(dofType _value)
#define TO_STRING_BODY(enum_def)
const char * __ValueModeTypeToString(ValueModeType _value)