Changeset 11268
- Timestamp:
- 01/31/12 10:58:47 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/c/solutions/controltao_core.cpp
r11267 r11268 47 47 info = PetscOptionsSetValue("-tao_gatol","10e-18"); if(info) _error_("STOP"); 48 48 info = PetscOptionsSetValue("-tao_max_its","10"); if(info) _error_("STOP"); 49 info = PetscOptionsSetValue("-tao_max_funcs"," 20"); if(info) _error_("STOP");49 info = PetscOptionsSetValue("-tao_max_funcs","40"); if(info) _error_("STOP"); 50 50 51 51 /*Additional options*/ … … 106 106 /*End Temp*/ 107 107 108 InputUpdateFromConstantx(femmodel->elements,femmodel->nodes, femmodel->vertices, femmodel->loads, femmodel->materials, femmodel->parameters,SurfaceAbsVelMisfitEnum,InversionCostFunctionEnum); 108 109 int costfunction=SurfaceAbsVelMisfitEnum; 110 femmodel->parameters->SetParam(&costfunction,1,1,StepResponsesEnum); 109 111 InputUpdateFromVectorx(femmodel->elements,femmodel->nodes, femmodel->vertices, femmodel->loads, femmodel->materials, femmodel->parameters,X,MaterialsRheologyBbarEnum,VertexEnum); 110 112 adjointdiagnostic_core(user->femmodel);
Note:
See TracChangeset
for help on using the changeset viewer.