Changeset 6412 for issm/trunk/src/c/objects/FemModel.cpp
- Timestamp:
- 10/25/10 08:57:04 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/src/c/objects/FemModel.cpp
r6372 r6412 53 53 for(i=0;i<nummodels;i++){ 54 54 55 ISSMPRINTF(VerboseMProcessor()," Processing finite element model of analysis %s:\n",EnumToString(analysis_type_list[i]));55 _printf_(VerboseMProcessor()," Processing finite element model of analysis %s:\n",EnumToString(analysis_type_list[i])); 56 56 analysis_type=analysis_type_list[i]; 57 57 this->SetCurrentConfiguration(analysis_type); 58 58 59 59 if(i==0){ 60 ISSMPRINTF(VerboseMProcessor()," create vertex degrees of freedom\n");60 _printf_(VerboseMProcessor()," create vertex degrees of freedom\n"); 61 61 VerticesDofx(vertices,parameters); //only call once, we only have one set of vertices 62 62 } 63 63 64 ISSMPRINTF(VerboseMProcessor()," resolve node constraints\n");64 _printf_(VerboseMProcessor()," resolve node constraints\n"); 65 65 SpcNodesx(nodes,constraints,analysis_type); 66 66 67 ISSMPRINTF(VerboseMProcessor()," create nodal degrees of freedom\n");67 _printf_(VerboseMProcessor()," create nodal degrees of freedom\n"); 68 68 NodesDofx(nodes,parameters,analysis_type); 69 69 70 ISSMPRINTF(VerboseMProcessor()," create nodal constraints vector\n");70 _printf_(VerboseMProcessor()," create nodal constraints vector\n"); 71 71 CreateNodalConstraintsx(&m_ys[i],nodes,analysis_type); 72 72 73 ISSMPRINTF(VerboseMProcessor()," create node sets\n");73 _printf_(VerboseMProcessor()," create node sets\n"); 74 74 BuildNodeSetsx(&m_nodesets[i], nodes,analysis_type); 75 75 76 ISSMPRINTF(VerboseMProcessor()," configuring element and loads\n");76 _printf_(VerboseMProcessor()," configuring element and loads\n"); 77 77 ConfigureObjectsx(elements, loads, nodes, vertices, materials,parameters); 78 78 } … … 152 152 } 153 153 if(found!=-1) analysis_counter=found; 154 else ISSMERROR("Could not find alias for analysis_type %s in list of FemModel analyses",EnumToString(configuration_type));154 else _error_("Could not find alias for analysis_type %s in list of FemModel analyses",EnumToString(configuration_type)); 155 155 156 156 /*activate matrices/vectors: */ … … 170 170 /*take care of petsc options, that depend on this analysis type: */ 171 171 PetscOptionsFromAnalysis(this->parameters,analysis_type); 172 ISSMPRINTF(VerboseSolver()," petsc Options set for analysis type: %s\n",EnumToString(analysis_type));172 _printf_(VerboseSolver()," petsc Options set for analysis type: %s\n",EnumToString(analysis_type)); 173 173 174 174 }
Note:
See TracChangeset
for help on using the changeset viewer.