Ignore:
Timestamp:
07/26/11 07:50:37 (14 years ago)
Author:
Eric.Larour
Message:

Fixed bug in nightly runs, dealing with requested_outputs, which were 0 sized in case
user did not request any.

File:
1 edited

Legend:

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

    r9110 r9113  
    77257725        double epsilon[6];
    77267726        double     viscousheating[NUMVERTICES]={0,0,0,0,0,0};
     7727        double     thickness;
    77277728        GaussPenta *gauss=NULL;
    77287729
     
    77357736        Input* vy_input=inputs->GetInput(VyEnum); _assert_(vy_input);
    77367737        Input* vz_input=inputs->GetInput(VzEnum); _assert_(vz_input);
     7738        Input* thickness_input=inputs->GetInput(ThicknessEnum); _assert_(thickness_input);
    77377739
    77387740        /*loop over vertices: */
     
    77407742        for (int iv=0;iv<NUMVERTICES;iv++){
    77417743                gauss->GaussVertex(iv);
     7744               
     7745                thickness_input->GetParameterValue(&thickness,gauss);
    77427746
    77437747                this->GetStrainRate3d(&epsilon[0],&xyz_list[0][0],gauss,vx_input,vy_input,vz_input);
    77447748                matice->GetViscosity3dStokes(&viscosity,&epsilon[0]);
    77457749                GetPhi(&phi, &epsilon[0], viscosity);
    7746 
    7747                 viscousheating[iv]=phi;
     7750               
     7751
     7752                viscousheating[iv]=phi*thickness;
    77487753        }
    77497754
Note: See TracChangeset for help on using the changeset viewer.