Changeset 9031


Ignore:
Timestamp:
07/18/11 08:10:00 (14 years ago)
Author:
seroussi
Message:

fixed GetVz

File:
1 edited

Legend:

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

    r9028 r9031  
    56855685        double xyz_list[NUMVERTICES][3];
    56865686        int*   doflist = NULL;
    5687         double *vz_ptr = NULL;
    56885687
    56895688        /*Get dof list: */
     
    57095708        Input* vz_input=inputs->GetInput(VzEnum);
    57105709        if (vz_input){
    5711                 if (vz_input->Enum()!=PentaVertexInputEnum){
    5712                         _error_("Cannot compute Vel as Vz is of type %s",EnumToStringx(vz_input->Enum()));
    5713                 }
    5714                 vz_input->GetValuesPtr(&vz_ptr,&dummy);
    5715                 for(i=0;i<NUMVERTICES;i++) vz[i]=vz_ptr[i];
     5710                GetParameterListOnVertices(&vz[0],VzEnum);
    57165711        }
    57175712        else{
Note: See TracChangeset for help on using the changeset viewer.