Ignore:
Timestamp:
08/13/12 14:41:11 (13 years ago)
Author:
jschierm
Message:

NEW: Still another bunch more python checkconsistency and marshall methods for sub-classes (plus other minor changes).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/m/classes/mesh.m

    r12978 r13020  
    100100                        %Solution specific checks
    101101                        switch(solution),
    102                                 case PrognosticSolutionEnum,
     102                                case PrognosticSolutionEnum(),
    103103                                        if md.prognostic.stabilization==3,
    104104                                                md = checkfield(md,'mesh.dimension','values',2,'message','Discontinuous Galerkin only supported for 2d meshes');
     
    106106                                                md = checkfield(md,'mesh.edges(:,1:3)','>',0);
    107107                                        end
    108                                 case BalancethicknessSolutionEnum,
     108                                case BalancethicknessSolutionEnum(),
    109109                                        if md.balancethickness.stabilization==3,
    110110                                                md = checkfield(md,'mesh.dimension','values',2,'message','Discontinuous Galerkin only supported for 2d meshes');
     
    112112                                                md = checkfield(md,'mesh.edges(:,1:3)','>',0);
    113113                                        end
    114                                 case TransientSolutionEnum,
     114                                case TransientSolutionEnum(),
    115115                                        if md.transient.isprognostic & md.prognostic.stabilization==3,
    116116                                                md = checkfield(md,'mesh.dimension','values',2,'message','Discontinuous Galerkin only supported for 2d meshes');
     
    118118                                                md = checkfield(md,'mesh.edges(:,1:3)','>',0);
    119119                                        end
    120                                 case ThermalSolutionEnum,
     120                                case ThermalSolutionEnum(),
    121121                                        md = checkfield(md,'mesh.dimension','values',3,'message','thermal solution only supported on 3d meshes');
    122122                        end
Note: See TracChangeset for help on using the changeset viewer.