Changeset 18826
- Timestamp:
- 11/21/14 15:23:27 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/c/cores/extrudefromtop_core.cpp
r16518 r18826 12 12 void extrudefromtop_core(FemModel* femmodel){ 13 13 14 /*Intermediaries*/ 15 int elementtype,domaintype; 16 14 17 if(VerboseSolution()) _printf0_("extruding solution from top...\n"); 15 18 16 /*Call on core computations: */ 17 femmodel->SetCurrentConfiguration(ExtrudeFromTopAnalysisEnum); 18 femmodel->UpdateConstraintsExtrudeFromTopx(); 19 solutionsequence_linear(femmodel); 19 /*Get parameters*/ 20 femmodel->parameters->FindParam(&domaintype,DomainTypeEnum); 21 femmodel->parameters->FindParam(&elementtype,MeshElementtypeEnum); 20 22 23 /*If this is a 2D horizontal domain, return (no need to extrude)*/ 24 if(domaintype==Domain2DhorizontalEnum) return; 25 26 /*Special method for Penta, otherwise call solution sequence*/ 27 if(elementtype==PentaEnum){ 28 int inputenum; femmodel->parameters->FindParam(&inputenum,InputToExtrudeEnum); 29 InputExtrudex(femmodel,inputenum,+1); 30 } 31 else{ 32 /*Call on core computations: */ 33 femmodel->SetCurrentConfiguration(ExtrudeFromTopAnalysisEnum); 34 femmodel->UpdateConstraintsExtrudeFromTopx(); 35 solutionsequence_linear(femmodel); 36 } 21 37 }
Note:
See TracChangeset
for help on using the changeset viewer.