Changeset 27718


Ignore:
Timestamp:
05/03/23 10:39:39 (23 months ago)
Author:
Mathieu Morlighem
Message:

BUG: make PentaRef.cpp compile with AD

File:
1 edited

Legend:

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

    r24933 r27718  
    298298                        basis[5]=gauss->coord3*(1.+zeta)/2.;
    299299                        return;
     300                        #ifndef _HAVE_AD_
    300301                case P1bubbleEnum: case P1bubblecondensedEnum:
    301302                        basis[0]=gauss->coord1*(1.-zeta)/2.;
     
    459460                        basis[14]=gauss->coord3*(-8./3.)*(zeta-1.0)*zeta*(zeta+0.5)*(zeta+1.);
    460461                        return;
     462                        #endif
    461463                default:
    462464                        _error_("Element type "<<EnumToStringx(finiteelement)<<" not supported yet");
     
    541543                        dbasis[NUMNODESP1*2+5]   = .5*gauss->coord3;
    542544                        return;
     545                        #ifndef _HAVE_AD_
    543546                case P1bubbleEnum: case P1bubblecondensedEnum:
    544547                        /*Nodal function 1*/
     
    10571060
    10581061                        return;
     1062                        #endif
    10591063                default:
    10601064                        _error_("Element type "<<EnumToStringx(finiteelement)<<" not supported yet");
Note: See TracChangeset for help on using the changeset viewer.