source:
issm/oecreview/Archive/15392-16133/ISSM-15526-15527.diff
Last change on this file was 16134, checked in by , 12 years ago | |
---|---|
File size: 2.0 KB |
-
../trunk-jpl/src/m/classes/flowequation.py
66 66 md = checkfield(md,'flowequation.vertex_equation','size',[md.mesh.numberofvertices],'values',[1,2]) 67 67 md = checkfield(md,'flowequation.element_equation','size',[md.mesh.numberofelements],'values',[1,2]) 68 68 else: 69 md = checkfield(md,'flowequation.vertex_equation','size',[md.mesh.numberofvertices],'values',numpy.arange(0, 7+1))70 md = checkfield(md,'flowequation.element_equation','size',[md.mesh.numberofelements],'values',numpy.arange(0, 7+1))71 if not (self.is macayeal or self.ispattyn or self.ishutter or self.isstokes or self.isl1l2):69 md = checkfield(md,'flowequation.vertex_equation','size',[md.mesh.numberofvertices],'values',numpy.arange(0,8)) 70 md = checkfield(md,'flowequation.element_equation','size',[md.mesh.numberofelements],'values',numpy.arange(0,8)) 71 if not (self.ishutter or self.ismacayeal or self.isl1l2 or self.ispattyn or self.isstokes): 72 72 md.checkmessage("no element types set for this model") 73 73 74 74 if DiagnosticHutterAnalysisEnum() in analyses: -
../trunk-jpl/src/m/classes/flowequation.m
49 49 md = checkfield(md,'flowequation.vertex_equation','size',[md.mesh.numberofvertices 1],'values',[0:8]); 50 50 md = checkfield(md,'flowequation.element_equation','size',[md.mesh.numberofelements 1],'values',[0:8]); 51 51 end 52 if ~(obj.is macayeal || obj.ispattyn || obj.ishutter || obj.isstokes || obj.isl1l2),52 if ~(obj.ishutter || obj.ismacayeal || obj.isl1l2 || obj.ispattyn || obj.isstokes), 53 53 md = checkmessage(md,['no element types set for this model']); 54 54 end 55 55 end
Note:
See TracBrowser
for help on using the repository browser.