Changeset 6273
- Timestamp:
- 10/12/10 16:37:43 (15 years ago)
- Location:
- issm/trunk/src/c
- Files:
-
- 2 added
- 1 deleted
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/src/c/Makefile.am
r6238 r6273 245 245 ./shared/Numerics/isnan.h\ 246 246 ./shared/Numerics/isnan.cpp\ 247 ./shared/Numerics/Verbosity.h\ 248 ./shared/Numerics/Verbosity.cpp\ 247 249 ./shared/Numerics/IsInputConverged.cpp\ 248 250 ./shared/Numerics/GaussPoints.h\ … … 818 820 ./shared/Dofs/dofsetgen.cpp\ 819 821 ./shared/Numerics/numerics.h\ 822 ./shared/Numerics/Verbosity.h\ 823 ./shared/Numerics/Verbosity.cpp\ 820 824 ./shared/Numerics/IsInputConverged.cpp\ 821 825 ./shared/Numerics/GaussPoints.h\ -
issm/trunk/src/c/objects/FemModel.cpp
r6231 r6273 24 24 /*intermediary*/ 25 25 int i; 26 IoModel* iomodel=NULL;27 26 int analysis_type; 27 int verbosity_level; 28 bool verbose; 28 29 29 30 /*Initialize internal data: */ … … 43 44 for(i=0;i<nummodels;i++)m_ys[i]=NULL; 44 45 45 /*create datasets for all analyses :*/46 /*create datasets for all analyses*/ 46 47 ModelProcessorx(&this->elements,&this->nodes,&this->vertices,&this->materials,&this->constraints,&this->loads,&this->parameters,IOMODEL,this->solution_type,nummodels,analyses); 48 49 /*Shall we verbose?*/ 50 this->parameters->FindParam(&verbosity_level,VerboseEnum); verbose=IsModelProcessorVerbosity(verbosity_level); 47 51 48 52 /*do the post-processing of the datasets to get an FemModel that can actually run analyses: */ 49 53 for(i=0;i<nummodels;i++){ 50 54 51 _printf_(" processing finite element model of analysis %s:\n",EnumToString(analysis_type_list[i]));55 if(verbose) _printf_(" processing finite element model of analysis %s:\n",EnumToString(analysis_type_list[i])); 52 56 analysis_type=analysis_type_list[i]; 53 57 this->SetCurrentConfiguration(analysis_type); 54 58 55 59 if(i==0){ 56 _printf_(" create vertex degrees of freedom\n");60 if(verbose) _printf_(" create vertex degrees of freedom\n"); 57 61 VerticesDofx(vertices,parameters); //only call once, we only have one set of vertices 58 62 } 59 63 60 _printf_(" resolve node constraints\n");64 if(verbose) _printf_(" resolve node constraints\n"); 61 65 SpcNodesx(nodes,constraints,analysis_type); 62 66 63 _printf_(" create nodal degrees of freedom\n");67 if(verbose) _printf_(" create nodal degrees of freedom\n"); 64 68 NodesDofx(nodes,parameters,analysis_type); 65 69 66 _printf_(" create nodal constraints vector\n");70 if(verbose) _printf_(" create nodal constraints vector\n"); 67 71 CreateNodalConstraintsx(&m_ys[i],nodes,analysis_type); 68 72 69 _printf_(" create node sets\n");73 if(verbose) _printf_(" create node sets\n"); 70 74 BuildNodeSetsx(&m_nodesets[i], nodes,analysis_type); 71 75 72 _printf_(" configuring element and loads\n");76 if(verbose) _printf_(" configuring element and loads\n"); 73 77 ConfigureObjectsx(elements, loads, nodes, vertices, materials,parameters); 74 78 } … … 163 167 164 168 if(verbose){ 165 _printf_(" Petsc Options set for analysis type: %s\n",EnumToString(analysis_type));169 _printf_(" petsc Options set for analysis type: %s\n",EnumToString(analysis_type)); 166 170 } 167 171 -
issm/trunk/src/c/shared/Numerics/numerics.h
r6014 r6273 6 6 #define _NUMERICS_H_ 7 7 8 #include "./Verbosity.h" 8 9 #include "./GaussPoints.h" 9 10 #include "./isnan.h" -
issm/trunk/src/c/shared/shared.h
r3913 r6273 2 2 * \brief: header file for all shared routines. 3 3 */ 4 5 4 6 5 #ifndef _SHARED_H_ … … 21 20 #include "Bamg/shared.h" 22 21 23 24 22 #endif
Note:
See TracChangeset
for help on using the changeset viewer.