Ignore:
Timestamp:
03/25/14 11:07:20 (11 years ago)
Author:
Mathieu Morlighem
Message:

CHG: adding Tensor basis functions'

File:
1 edited

Legend:

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

    r17525 r17536  
    280280                        this->GetNodalFunctions(basis,gauss);
    281281                        this->element_type = TaylorHoodEnum;
     282                        return;
     283                default:
     284                        _error_("Element type "<<EnumToStringx(this->element_type)<<" not supported yet");
     285        }
     286}
     287/*}}}*/
     288/*FUNCTION TriaRef::GetNodalFunctionsTensor{{{*/
     289void TriaRef::GetNodalFunctionsTensor(IssmDouble* basis,Gauss* gauss){
     290        /*This routine returns the values of the nodal functions  at the gaussian point.*/
     291
     292        switch(this->element_type){
     293                case XTaylorHoodEnum:
     294                        this->element_type = P1DGEnum;
     295                        this->GetNodalFunctions(basis,gauss);
     296                        this->element_type = XTaylorHoodEnum;
    282297                        return;
    283298                default:
Note: See TracChangeset for help on using the changeset viewer.