Changeset 4386


Ignore:
Timestamp:
07/01/10 10:30:59 (15 years ago)
Author:
Mathieu Morlighem
Message:

minor

Location:
issm/trunk/src/c
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk/src/c/modules/GetSolutionFromInputsx/GetSolutionFromInputsx.cpp

    r4385 r4386  
    1616        Element* element=NULL;
    1717
    18         int analysis_type;
     18        int configuration_type;
    1919
    2020        /*output: */
     
    2222
    2323        /*retrive parameters: */
    24         parameters->FindParam(&analysis_type,AnalysisTypeEnum);
     24        parameters->FindParam(&configuration_type,ConfigurationTypeEnum);
    2525
    2626        /*First, get elements and loads configured: */
     
    3131
    3232        /*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));
    3535       
    3636        /*Initialize solution: */
  • issm/trunk/src/c/objects/Elements/Tria.cpp

    r4385 r4386  
    52125212
    52135213        /*Add value to global vector*/
    5214         printarray(&doflist[0],numdof);
    52155214        VecSetValues(solution,numdof,doflist,(const double*)values,INSERT_VALUES);
    52165215
Note: See TracChangeset for help on using the changeset viewer.