Changeset 13020 for issm/trunk-jpl/src/m/classes/mesh.m
- Timestamp:
- 08/13/12 14:41:11 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/m/classes/mesh.m
r12978 r13020 100 100 %Solution specific checks 101 101 switch(solution), 102 case PrognosticSolutionEnum ,102 case PrognosticSolutionEnum(), 103 103 if md.prognostic.stabilization==3, 104 104 md = checkfield(md,'mesh.dimension','values',2,'message','Discontinuous Galerkin only supported for 2d meshes'); … … 106 106 md = checkfield(md,'mesh.edges(:,1:3)','>',0); 107 107 end 108 case BalancethicknessSolutionEnum ,108 case BalancethicknessSolutionEnum(), 109 109 if md.balancethickness.stabilization==3, 110 110 md = checkfield(md,'mesh.dimension','values',2,'message','Discontinuous Galerkin only supported for 2d meshes'); … … 112 112 md = checkfield(md,'mesh.edges(:,1:3)','>',0); 113 113 end 114 case TransientSolutionEnum ,114 case TransientSolutionEnum(), 115 115 if md.transient.isprognostic & md.prognostic.stabilization==3, 116 116 md = checkfield(md,'mesh.dimension','values',2,'message','Discontinuous Galerkin only supported for 2d meshes'); … … 118 118 md = checkfield(md,'mesh.edges(:,1:3)','>',0); 119 119 end 120 case ThermalSolutionEnum ,120 case ThermalSolutionEnum(), 121 121 md = checkfield(md,'mesh.dimension','values',3,'message','thermal solution only supported on 3d meshes'); 122 122 end
Note:
See TracChangeset
for help on using the changeset viewer.