Changeset 21053


Ignore:
Timestamp:
08/02/16 22:50:15 (9 years ago)
Author:
agscott1
Message:

BUG: Added GiaSolution string for solve (for test2000s)

Location:
issm/trunk-jpl/src/m/solve
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/m/solve/solve.m

    r21049 r21053  
    1818%                - 'HydrologySolution'                  or 'hy'
    1919%      - 'DamageEvolutionSolution'      or 'da'
     20%                - 'GiaSolution'                                        or 'gi'
    2021%
    2122%  extra options:
     
    5657elseif strcmpi(solutionstring,'da') || strcmpi(solutionstring,'DamageEvolution') || strcmpi(solutionstring,'DamageEvolutionSolution')
    5758        solutionstring = 'DamageEvolutionSolution';
     59elseif strcmpi(solutionstring,'gi') || strcmpi(solutionstring,'GiaSolution') || strcmpi(solutionstring,'Gia')
     60        solutionstring = 'GiaSolution';
    5861else
    5962        error(['solutionstring ' solutionstring ' not supported!']);
  • issm/trunk-jpl/src/m/solve/solve.py

    r21049 r21053  
    3131                 - 'HydrologySolution'                  or 'hy'
    3232                 - 'DamageEvolutionSolution'    or 'da'
    33 
     33                 - 'GiaSolution'                                        or 'gi'
    3434 
    3535           extra options:
     
    6363                solutionstring = 'SurfaceSlopeSolution';
    6464        elif solutionstring.lower() == 'hy' or solutionstring.lower() == 'hydrology' or solutionstring.lower() == 'hydrologysolution':
    65                 solutioneum = 'HydrologySolution';
     65                solutionstring = 'HydrologySolution';
    6666        elif solutionstring.lower() == 'da' or solutionstring.lower() == 'damageevolution' or solutionstring.lower() == 'damageevolutionsolution':
    6767                solutionstring = 'DamageEvolutionSolution';
     68        elif solutionstring.lower() == 'gi' or solutionstring.lower() == 'giasolution' or solutionstring.lower() == 'gia':
     69                solutionstring = 'GiaSolution';
    6870        else:   
    6971                raise ValueError("solutionstring '%s' not supported!" % solutionstring)
Note: See TracChangeset for help on using the changeset viewer.