Changeset 14924


Ignore:
Timestamp:
05/06/13 12:35:10 (12 years ago)
Author:
adhikari
Message:

CHG: updated with GiadWdt field_value

File:
1 edited

Legend:

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

    r14740 r14924  
    1010from MatlabFuncs import *
    1111
    12 md=triangle(model(),'../Exp/Square.exp',50000.)
     12#Define a model
     13md=model()
     14md=triangle(md,'../Exp/Square.exp',100000.)
    1315md=setmask(md,'','')
    14 md=parameterize(md,'../Par/SquareSheetConstrained.py')
    15 md=setflowequation(md,'macayeal','all')
     16md=parameterize(md,'../Par/SquareSheetConstrained.par')
     17
     18#Indicate what you want to compute
     19md.gia.output_rates=1           # just want "w" solution
     20md.gia.cross_section_shape=1    # for square-edged x-section
     21
     22#Define loading history (see test2001.m for the description)
     23md.timestepping.start_time=2400000 # 2,400 kyr
     24md.timestepping.final_time=2500000 # 2,500 kyr
     25md.geometry.thickness=[\
     26        [md.geometry.thickness*0.0; 0.0],\
     27        [md.geometry.thickness/2.0; 0.1],\
     28        [md.geometry.thickness; 0.2],\
     29        [md.geometry.thickness; 1.0],\
     30        [md.geometry.thickness; md.timestepping.start_time],\
     31        ]
     32
     33#Solve for GIA deflection
    1634md.cluster=generic('name',oshostname(),'np',3)
     35md.verbose=verbose('1111111')
    1736md=solve(md,GiaSolutionEnum())
    1837
    1938#Fields and tolerances to track changes
    20 field_names     =['GiaW']
    21 field_tolerances=[1e-13]
    22 field_values    =[md.results.GiaSolution.GiaW]
     39field_names     =['GiaW','GiadWdt']
     40field_tolerances=[1e-13,1e-13]
     41field_values    =[\
     42                md.results.GiaSolution.GiaW,\
     43                md.results.GiaSolution.GiadWdt,\
     44                ]
     45
Note: See TracChangeset for help on using the changeset viewer.