Changeset 14924
- Timestamp:
- 05/06/13 12:35:10 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/test/NightlyRun/test2001.py
r14740 r14924 10 10 from MatlabFuncs import * 11 11 12 md=triangle(model(),'../Exp/Square.exp',50000.) 12 #Define a model 13 md=model() 14 md=triangle(md,'../Exp/Square.exp',100000.) 13 15 md=setmask(md,'','') 14 md=parameterize(md,'../Par/SquareSheetConstrained.py') 15 md=setflowequation(md,'macayeal','all') 16 md=parameterize(md,'../Par/SquareSheetConstrained.par') 17 18 #Indicate what you want to compute 19 md.gia.output_rates=1 # just want "w" solution 20 md.gia.cross_section_shape=1 # for square-edged x-section 21 22 #Define loading history (see test2001.m for the description) 23 md.timestepping.start_time=2400000 # 2,400 kyr 24 md.timestepping.final_time=2500000 # 2,500 kyr 25 md.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 16 34 md.cluster=generic('name',oshostname(),'np',3) 35 md.verbose=verbose('1111111') 17 36 md=solve(md,GiaSolutionEnum()) 18 37 19 38 #Fields and tolerances to track changes 20 field_names =['GiaW'] 21 field_tolerances=[1e-13] 22 field_values =[md.results.GiaSolution.GiaW] 39 field_names =['GiaW','GiadWdt'] 40 field_tolerances=[1e-13,1e-13] 41 field_values =[\ 42 md.results.GiaSolution.GiaW,\ 43 md.results.GiaSolution.GiadWdt,\ 44 ] 45
Note:
See TracChangeset
for help on using the changeset viewer.