Changeset 4386
- Timestamp:
- 07/01/10 10:30:59 (15 years ago)
- Location:
- issm/trunk/src/c
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/src/c/modules/GetSolutionFromInputsx/GetSolutionFromInputsx.cpp
r4385 r4386 16 16 Element* element=NULL; 17 17 18 int analysis_type;18 int configuration_type; 19 19 20 20 /*output: */ … … 22 22 23 23 /*retrive parameters: */ 24 parameters->FindParam(& analysis_type,AnalysisTypeEnum);24 parameters->FindParam(&configuration_type,ConfigurationTypeEnum); 25 25 26 26 /*First, get elements and loads configured: */ … … 31 31 32 32 /*Get size of vector: */ 33 gsize=nodes->NumberOfDofs( analysis_type);34 if (gsize==0) ISSMERROR("Allocating a Vec of size 0 as gsize=0 for analysis: %s",EnumAsString(analysis_type));33 gsize=nodes->NumberOfDofs(configuration_type); 34 if (gsize==0) ISSMERROR("Allocating a Vec of size 0 as gsize=0 for configuration: %s",EnumAsString(configuration_type)); 35 35 36 36 /*Initialize solution: */ -
issm/trunk/src/c/objects/Elements/Tria.cpp
r4385 r4386 5212 5212 5213 5213 /*Add value to global vector*/ 5214 printarray(&doflist[0],numdof);5215 5214 VecSetValues(solution,numdof,doflist,(const double*)values,INSERT_VALUES); 5216 5215
Note:
See TracChangeset
for help on using the changeset viewer.