Ignore:
Timestamp:
06/11/14 15:32:33 (11 years ago)
Author:
Mathieu Morlighem
Message:

CHG: added some capabilities

File:
1 edited

Legend:

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

    r18078 r18139  
    3030
    3131/*Reference Element numerics*/
    32 void TetraRef::GetNodalFunctions(IssmDouble* basis,GaussTetra* gauss,int finiteelement){/*{{{*/
     32void TetraRef::GetNodalFunctions(IssmDouble* basis,Gauss* gauss_in,int finiteelement){/*{{{*/
    3333        /*This routine returns the values of the nodal functions  at the gaussian point.*/
    3434
    3535        _assert_(basis);
     36
     37        /*Cast gauss to GaussTetra*/
     38        _assert_(gauss_in->Enum()==GaussTetraEnum);
     39        GaussTetra* gauss = dynamic_cast<GaussTetra*>(gauss_in);
    3640
    3741        switch(finiteelement){
     
    239243}
    240244/*}}}*/
    241 void TetraRef::GetInputValue(IssmDouble* p, IssmDouble* plist, GaussTetra* gauss,int finiteelement){/*{{{*/
     245void TetraRef::GetInputValue(IssmDouble* p, IssmDouble* plist, Gauss* gauss,int finiteelement){/*{{{*/
    242246
    243247        /*Output*/
Note: See TracChangeset for help on using the changeset viewer.