Changeset 15544


Ignore:
Timestamp:
07/22/13 15:38:34 (12 years ago)
Author:
seroussi
Message:

FIX: Pvector front based on numnodes (not numvertices)

Location:
issm/trunk-jpl/src/c/classes/Elements
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/c/classes/Elements/Penta.cpp

    r15541 r15544  
    80008000
    80018001        GetVerticesCoordinates(&xyz_list[0][0],vertices,NUMVERTICES);
    8002         ElementVector* pe=new ElementVector(nodes,NUMVERTICES,this->parameters,PattynApproximationEnum);
     8002        ElementVector* pe=new ElementVector(nodes,numnodes,this->parameters,PattynApproximationEnum);
    80038003        Input* surface_input=inputs->GetInput(SurfaceEnum); _assert_(surface_input);
    80048004        rho_water=matpar->GetRhoWater();
     
    82058205
    82068206        GetVerticesCoordinates(&xyz_list[0][0],vertices,NUMVERTICES);
    8207         ElementVector* pe=new ElementVector(nodes,NUMVERTICES,this->parameters,StokesApproximationEnum);
     8207        ElementVector* pe=new ElementVector(nodes,numnodes,this->parameters,StokesApproximationEnum);
    82088208        rho_water=matpar->GetRhoWater();
    82098209        rho_ice  =matpar->GetRhoIce();
  • issm/trunk-jpl/src/c/classes/Elements/Tria.cpp

    r15538 r15544  
    31813181
    31823182        GetVerticesCoordinates(&xyz_list[0][0],vertices,NUMVERTICES);
    3183         ElementVector* pe=new ElementVector(nodes,NUMVERTICES,this->parameters,MacAyealApproximationEnum);
     3183        ElementVector* pe=new ElementVector(nodes,numnodes,this->parameters,MacAyealApproximationEnum);
    31843184        Input* thickness_input=inputs->GetInput(ThicknessEnum); _assert_(thickness_input);
    31853185        Input* bed_input      =inputs->GetInput(BedEnum);       _assert_(bed_input);
Note: See TracChangeset for help on using the changeset viewer.