Changeset 12889 for issm/trunk-jpl/src/m/model/process_solve_options.py
- Timestamp:
- 08/03/12 11:19:25 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/m/model/process_solve_options.py
r12827 r12889 1 1 import os 2 from EnumDefinitions import * 2 3 3 4 def process_solve_options(options): … … 15 16 #solution_type: check on this option, error out otherwise 16 17 solution_type=options.getfieldvalue('solution_type') 17 if solution_type in (DiagnosticSolutionEnum,PrognosticSolutionEnum,ThermalSolutionEnum,\18 if not solution_type in (DiagnosticSolutionEnum,PrognosticSolutionEnum,ThermalSolutionEnum,\ 18 19 SteadystateSolutionEnum,TransientSolutionEnum,EnthalpySolutionEnum,\ 19 20 BalancethicknessSolutionEnum,BedSlopeSolutionEnum,SurfaceSlopeSolutionEnum,HydrologySolutionEnum,FlaimSolutionEnum): … … 42 43 outoptions['keep']=options.getfieldvalue('keep','y') 43 44 outoptions['latsgn']=options.getfieldvalue('latsgn',0) 44 outoptions['cmap']=options.getfieldvalue('cmap', None)45 outoptions['cmap']=options.getfieldvalue('cmap',[]) 45 46 46 47 return outoptions
Note:
See TracChangeset
for help on using the changeset viewer.