- Timestamp:
- 08/19/10 11:22:37 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/src/c/solutions/adjointbalancedthickness_core.cpp
r5378 r5414 24 24 femmodel->parameters->FindParam(&solution_type,SolutionTypeEnum); 25 25 26 /* set analysis type to compute velocity:*/26 /*compute thickness */ 27 27 _printf_("%s\n"," computing thickness"); 28 28 femmodel->SetCurrentConfiguration(BalancedthicknessAnalysisEnum); 29 29 solver_linear(femmodel); 30 30 31 /*Update inputs using adjoint solution, and same type of setup as diagnostic solution: */ 31 /*Call SurfaceAreax, because some it might be needed by PVector*/ 32 SurfaceAreax(NULL,femmodel->elements,femmodel->nodes,femmodel->vertices,femmodel->loads,femmodel->materials,femmodel->parameters); 33 34 /*compute adjoint*/ 32 35 _printf_("%s\n"," computing adjoint"); 33 36 femmodel->SetCurrentConfiguration(BalancedthicknessAnalysisEnum,AdjointBalancedthicknessAnalysisEnum); 34 37 solver_adjoint_linear(femmodel); 35 38 39 /*Save results*/ 36 40 if(solution_type==AdjointSolutionEnum && !control_analysis){ 37 41 if(verbose)_printf_("saving results:\n");
Note:
See TracChangeset
for help on using the changeset viewer.