Changeset 3404


Ignore:
Timestamp:
04/06/10 09:52:33 (15 years ago)
Author:
seroussi
Message:

fixed some bugs on Sing elements

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

Legend:

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

    r3402 r3404  
    274274        Matice* matice=NULL;
    275275        Numpar* numpar=NULL;
    276 
    277276       
    278277        /*Get dof list on which we will plug the pressure values: */
  • issm/trunk/src/c/objects/Sing.cpp

    r3402 r3404  
    267267        /*Get dof list on which we will plug the pressure values: */
    268268        GetDofList1(&doflist[0]);
     269
     270        /*recover objects from hooks: */
     271        nodes=(Node**)hnodes.deliverp();
     272        matpar=(Matpar*)hmatpar.delivers();
     273        matice=(Matice*)hmatice.delivers();
     274        numpar=(Numpar*)hnumpar.delivers();
    269275
    270276        /*pressure is lithostatic: */
     
    367373        inputs=(ParameterInputs*)vinputs;
    368374
     375        /*recover objects from hooks: */
     376        node=(Node**)hnodes.deliverp();
     377        matpar=(Matpar*)hmatpar.delivers();
     378        matice=(Matice*)hmatice.delivers();
     379        numpar=(Numpar*)hnumpar.delivers();
     380
    369381        found=inputs->Recover("surfaceslopex",&slope[0],1,dofs,numgrids,(void**)&node);
    370382        if(!found)ISSMERROR(" surfaceslopex missing from inputs!");
Note: See TracChangeset for help on using the changeset viewer.