Changeset 4122 for issm/trunk/src/c/objects/Elements/Beam.cpp
- Timestamp:
- 06/22/10 15:07:16 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/src/c/objects/Elements/Beam.cpp
r4091 r4122 222 222 void Beam::CreateKMatrix(Mat Kgg){ 223 223 224 int analysis_type ,sub_analysis_type;224 int analysis_type; 225 225 226 226 /*retrive parameters: */ 227 227 parameters->FindParam(&analysis_type,AnalysisTypeEnum); 228 parameters->FindParam(&sub_analysis_type,AnalysisTypeEnum);229 228 230 229 /*Just branch to the correct element stiffness matrix generator, according to the type of analysis we are carrying out: */ 231 if (analysis_type==DiagnosticAnalysisEnum) { 232 233 if (sub_analysis_type==HutterAnalysisEnum) { 234 235 CreateKMatrixDiagnosticHutter( Kgg); 236 } 237 else 238 ISSMERROR("%s%i%s\n","sub_analysis_type: ",sub_analysis_type," not supported yet"); 230 if (analysis_type==DiagnosticHutterAnalysisEnum) { 231 CreateKMatrixDiagnosticHutter( Kgg); 239 232 } 240 233 else{ 241 ISSMERROR(" %s%i%s\n","analysis: ",analysis_type," not supported yet");234 ISSMERROR("analysis %i (%s) not supported yet",analysis_type,EnumAsString(analysis_type)); 242 235 } 243 236 … … 306 299 307 300 /*Just branch to the correct load generator, according to the type of analysis we are carrying out: */ 308 if (analysis_type==DiagnosticAnalysisEnum) { 309 if (sub_analysis_type==HutterAnalysisEnum) { 310 CreatePVectorDiagnosticHutter( pg); 311 } 312 else 313 ISSMERROR("%s%i%s"," analysis ",analysis_type," not supported yet"); 301 if (analysis_type==DiagnosticHutterAnalysisEnum) { 302 CreatePVectorDiagnosticHutter( pg); 314 303 } 315 304 else{ 316 ISSMERROR(" %s%i%s"," analysis ",analysis_type," not supported yet");305 ISSMERROR("analysis %i (%s) not supported yet",analysis_type,EnumAsString(analysis_type)); 317 306 } 318 307
Note:
See TracChangeset
for help on using the changeset viewer.