Ignore:
Timestamp:
08/02/16 17:06:46 (9 years ago)
Author:
agscott1
Message:

CHG: Replaced Enums with Strings in matlab and python. Updated corresponding cpp code.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/test/NightlyRun/test423.py

    r19529 r21049  
    3838#test different grounding line dynamics.
    3939md.groundingline.migration='AggressiveMigration'
    40 md=solve(md,TransientSolutionEnum())
     40md=solve(md,'TransientSolution')
    4141element_on_iceshelf_agressive=md.results.TransientSolution[0].MaskGroundediceLevelset
    4242vel_agressive=md.results.TransientSolution[0].Vel
    4343
    4444md.groundingline.migration='SoftMigration'
    45 md=solve(md,TransientSolutionEnum())
     45md=solve(md,'TransientSolution')
    4646element_on_iceshelf_soft=md.results.TransientSolution[0].MaskGroundediceLevelset
    4747vel_soft=md.results.TransientSolution[0].Vel
     
    4949md.mask.groundedice_levelset=md.geometry.thickness + md.materials.rho_water/md.materials.rho_ice*md.geometry.bed
    5050md.groundingline.migration='SubelementMigration'
    51 md=solve(md,TransientSolutionEnum())
     51md=solve(md,'TransientSolution')
    5252element_on_iceshelf_subelement=md.results.TransientSolution[0].MaskGroundediceLevelset
    5353vel_subelement=md.results.TransientSolution[0].Vel
    5454
    5555md.groundingline.migration='SubelementMigration2'
    56 md=solve(md,TransientSolutionEnum())
     56md=solve(md,'TransientSolution')
    5757element_on_iceshelf_subelement2=md.results.TransientSolution[0].MaskGroundediceLevelset
    5858vel_subelement2=md.results.TransientSolution[0].Vel
Note: See TracChangeset for help on using the changeset viewer.