Changeset 21053
- Timestamp:
- 08/02/16 22:50:15 (9 years ago)
- Location:
- issm/trunk-jpl/src/m/solve
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/m/solve/solve.m
r21049 r21053 18 18 % - 'HydrologySolution' or 'hy' 19 19 % - 'DamageEvolutionSolution' or 'da' 20 % - 'GiaSolution' or 'gi' 20 21 % 21 22 % extra options: … … 56 57 elseif strcmpi(solutionstring,'da') || strcmpi(solutionstring,'DamageEvolution') || strcmpi(solutionstring,'DamageEvolutionSolution') 57 58 solutionstring = 'DamageEvolutionSolution'; 59 elseif strcmpi(solutionstring,'gi') || strcmpi(solutionstring,'GiaSolution') || strcmpi(solutionstring,'Gia') 60 solutionstring = 'GiaSolution'; 58 61 else 59 62 error(['solutionstring ' solutionstring ' not supported!']); -
issm/trunk-jpl/src/m/solve/solve.py
r21049 r21053 31 31 - 'HydrologySolution' or 'hy' 32 32 - 'DamageEvolutionSolution' or 'da' 33 33 - 'GiaSolution' or 'gi' 34 34 35 35 extra options: … … 63 63 solutionstring = 'SurfaceSlopeSolution'; 64 64 elif solutionstring.lower() == 'hy' or solutionstring.lower() == 'hydrology' or solutionstring.lower() == 'hydrologysolution': 65 solution eum= 'HydrologySolution';65 solutionstring = 'HydrologySolution'; 66 66 elif solutionstring.lower() == 'da' or solutionstring.lower() == 'damageevolution' or solutionstring.lower() == 'damageevolutionsolution': 67 67 solutionstring = 'DamageEvolutionSolution'; 68 elif solutionstring.lower() == 'gi' or solutionstring.lower() == 'giasolution' or solutionstring.lower() == 'gia': 69 solutionstring = 'GiaSolution'; 68 70 else: 69 71 raise ValueError("solutionstring '%s' not supported!" % solutionstring)
Note:
See TracChangeset
for help on using the changeset viewer.