Changeset 15859
- Timestamp:
- 08/21/13 14:17:34 (12 years ago)
- Location:
- issm/trunk-jpl/src/m/parameterization
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/m/parameterization/setflowequation.m
r15771 r15859 55 55 %check that each element has at least one flag 56 56 if any(SIAflag+SSAflag+HOflag+L1L2flag+FSflag==0), 57 error('elements type not assigned, must be specified')57 error('elements type not assigned, supported models are ''SIA'',''SSA'',''HO'' and ''FS''') 58 58 end 59 59 -
issm/trunk-jpl/src/m/parameterization/setflowequation.py
r15771 r15859 59 59 #check that each element has at least one flag 60 60 if not any(SIAflag+SSAflag+L1L2flag+HOflag+FSflag): 61 raise TypeError("elements type not assigned, must be specified")61 raise TypeError("elements type not assigned, supported models are 'SIA','SSA','HO' and 'FS'") 62 62 63 63 #check that each element has only one flag
Note:
See TracChangeset
for help on using the changeset viewer.