Changeset 1821
- Timestamp:
- 08/24/09 17:44:41 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/src/c/parallel/thermalstatic_core.cpp
r1805 r1821 13 13 #include "../issm.h" 14 14 15 void thermalstatic_core(DataSet* results, FemModel* fems, ParameterInputs* inputs){15 void thermalstatic_core(DataSet* results,Model* model, ParameterInputs* inputs){ 16 16 17 17 extern int my_rank; … … 54 54 55 55 /*recover fem models: */ 56 fem_dh= fems+0;57 fem_dv= fems+1;58 fem_ds= fems+2;59 fem_dhu= fems+3;60 fem_sl= fems+4;61 fem_t= fems+5;62 fem_m= fems+6;56 fem_dh=model->DiagnosticHorizontal(); 57 fem_dv=model->DiagnosticVertical(); 58 fem_ds=model->DiagnosticStokes(); 59 fem_dhu=model->DiagnosticHutter(); 60 fem_sl=model->Slope(); 61 fem_t=model->Thermal(); 62 fem_m=model->Melting(); 63 63 64 64 //first recover parameters common to all solutions … … 68 68 fem_ds->parameters->FindParam((void*)&isstokes,"isstokes"); 69 69 70 71 72 70 //initialize: 73 71 converged=0; … … 86 84 } 87 85 results_thermal=new DataSet(ResultsEnum()); 88 thermal_core(results_thermal, fems+5,inputs);86 thermal_core(results_thermal,model,inputs); 89 87 90 88 //get t_g and m_g; … … 103 101 //now compute diagnostic velocity using the steady state temperature. 104 102 results_diagnostic=new DataSet(ResultsEnum()); 105 diagnostic_core(results_diagnostic, fems, inputs);103 diagnostic_core(results_diagnostic,model, inputs); 106 104 107 105 //get p_g and u_g
Note:
See TracChangeset
for help on using the changeset viewer.