Changeset 17810


Ignore:
Timestamp:
04/22/14 11:55:27 (11 years ago)
Author:
schlegel
Message:

BUG: Should check for Penta

Location:
issm/trunk-jpl/src/m/extrusion
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/m/extrusion/DepthAverage.m

    r17725 r17810  
    99
    1010%check that the model given in input is 3d
    11 if ~strcmp(md.mesh.elementtype(),'3D');
     11if ~strcmp(md.mesh.elementtype(),'Penta');
    1212        error('DepthAverage error message: the model given in input must be 3d')
    1313end
  • issm/trunk-jpl/src/m/extrusion/DepthAverage.py

    r17725 r17810  
    1515
    1616        #check that the model given in input is 3d
    17         if md.mesh.domaintype().lower() != '3d':
     17        if md.mesh.elementtype() != 'Penta':
    1818                raise TypeError('DepthAverage error message: the model given in input must be 3d')
    1919
Note: See TracChangeset for help on using the changeset viewer.