Changeset 15771 for issm/trunk-jpl/src/c/analyses/objectivefunction.cpp
- Timestamp:
- 08/09/13 10:59:47 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/c/analyses/objectivefunction.cpp
r15564 r15771 37 37 38 38 /*set analysis type to compute velocity: */ 39 if (solution_type==SteadystateSolutionEnum || solution_type== DiagnosticSolutionEnum){40 femmodel->SetCurrentConfiguration( DiagnosticHorizAnalysisEnum);39 if (solution_type==SteadystateSolutionEnum || solution_type==StressbalanceSolutionEnum){ 40 femmodel->SetCurrentConfiguration(StressbalanceAnalysisEnum); 41 41 } 42 42 else if (solution_type==BalancethicknessSolutionEnum){ … … 53 53 InputControlUpdatex(femmodel->elements,femmodel->nodes,femmodel->vertices,femmodel->loads,femmodel->materials,femmodel->parameters,search_scalar,false); 54 54 55 /*Run diagnosticwith updated inputs: */55 /*Run stressbalance with updated inputs: */ 56 56 if (solution_type==SteadystateSolutionEnum){ 57 diagnostic_core(femmodel); //We need a 3D velocity!! (vz is required for the next thermal run)57 stressbalance_core(femmodel); //We need a 3D velocity!! (vz is required for the next thermal run) 58 58 } 59 else if (solution_type== DiagnosticSolutionEnum){59 else if (solution_type==StressbalanceSolutionEnum){ 60 60 solutionsequence_nonlinear(femmodel,conserve_loads); 61 61 }
Note:
See TracChangeset
for help on using the changeset viewer.