Ignore:
Timestamp:
06/20/14 11:17:45 (11 years ago)
Author:
Mathieu Morlighem
Message:

NEW: added P2bubble element, to be debugged

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/c/classes/gauss/GaussTria.cpp

    r18064 r18170  
    463463                        }
    464464                        break;
     465                case P2bubbleEnum: case P2bubblecondensedEnum:
     466                        switch(iv){
     467                                case 0: coord1=1.; coord2=0.; coord3=0.; break;
     468                                case 1: coord1=0.; coord2=1.; coord3=0.; break;
     469                                case 2: coord1=0.; coord2=0.; coord3=1.; break;
     470                                case 3: coord1=0.; coord2=.5; coord3=.5; break;
     471                                case 4: coord1=.5; coord2=0.; coord3=.5; break;
     472                                case 5: coord1=.5; coord2=.5; coord3=0.; break;
     473                                case 6: coord1=1./3.; coord2=1./3.; coord3=1./3.; break;
     474                                default: _error_("node index should be in [0 6]");
     475                        }
     476                        break;
    465477                default: _error_("Finite element "<<EnumToStringx(finiteelement)<<" not supported");
    466478        }
Note: See TracChangeset for help on using the changeset viewer.