Ignore:
Timestamp:
05/24/11 11:51:41 (14 years ago)
Author:
seroussi
Message:

finally found the problem with PVectorThermalSheet

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk/src/c/objects/Elements/Penta.cpp

    r8412 r8413  
    30503050        int        analysis_type,drag_type;
    30513051        double     xyz_list[NUMVERTICES][3];
    3052         double     xyz_list_tria[NUMVERTICES2D][3];
     3052        double     xyz_list_tria[NUMVERTICES2D][3]={0.0};
    30533053        double     Jdet2d,dt;
    30543054        double     rho_ice,heatcapacity,geothermalflux_value;
     
    30673067        /*Retrieve all inputs and parameters*/
    30683068        GetVerticesCoordinates(&xyz_list[0][0], nodes, NUMVERTICES);
    3069         for(i=0;i<NUMVERTICES2D;i++) for(j=0;j<3;j++) xyz_list_tria[i][j]=xyz_list[i][j];
     3069        for(i=0;i<NUMVERTICES2D;i++) for(j=0;j<2;j++) xyz_list_tria[i][j]=xyz_list[i][j];
    30703070        parameters->FindParam(&analysis_type,AnalysisTypeEnum);
    30713071        rho_ice=matpar->GetRhoIce();
Note: See TracChangeset for help on using the changeset viewer.