Changeset 614
- Timestamp:
- 05/27/09 15:16:44 (15 years ago)
- Location:
- issm/trunk/src/c/parallel
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/src/c/parallel/CreateFemModel.cpp
r586 r614 36 36 37 37 _printf_(" specifying analysis\n"); 38 //specify analysis_type39 model->analysis_type=(char*)xmalloc((strlen(analysis_type)+1)*sizeof(char)); strcpy(model->analysis_type,analysis_type);40 //specify sub_analysis_type EXCEPT if thermal: we do not know if it is transient or steady yet (only the model knows)!!41 if (s trcmp(analysis_type,"thermal")!=0){38 if (analysis_type!=NULL){ 39 model->analysis_type=(char*)xmalloc((strlen(analysis_type)+1)*sizeof(char)); strcpy(model->analysis_type,analysis_type); 40 } 41 if (sub_analysis_type!=NULL){ 42 42 model->sub_analysis_type=(char*)xmalloc((strlen(sub_analysis_type)+1)*sizeof(char)); strcpy(model->sub_analysis_type,sub_analysis_type); 43 43 } -
issm/trunk/src/c/parallel/diagnostic.cpp
r586 r614 98 98 _printf_("calling qmu analysis on diagnostic core:\n"); 99 99 100 qmu(qmuname,&femmodels[0],inputs,DiagnosticAnalysisEnum(),NoneAnalysisEnum());101 100 } 102 101 -
issm/trunk/src/c/parallel/thermal.cpp
r579 r614 69 69 70 70 _printf_("read and create thermal finite element model:\n"); 71 CreateFemModel(&femmodels[0],fid,"thermal", "");71 CreateFemModel(&femmodels[0],fid,"thermal",NULL); 72 72 _printf_("read and create melting finite element model:\n"); 73 CreateFemModel(&femmodels[1],fid,"melting", "");73 CreateFemModel(&femmodels[1],fid,"melting",NULL); 74 74 75 75 _printf_("initialize inputs:\n");
Note:
See TracChangeset
for help on using the changeset viewer.