source: issm/trunk-jpl/test/NightlyRun/test2071.py@ 25131

Last change on this file since 25131 was 25131, checked in by jdquinn, 5 years ago

CHG: Translations for changes to tests; cleanup

File size: 1.3 KB
Line 
1#Test Name: GiaIvinsBenchmarksAB2dC1
2from socket import gethostname
3
4import numpy as np
5
6from model import *
7from parameterize import *
8from setmask import *
9from solve import *
10from triangle import *
11
12
13#Benchmark experiments (Figure A2c Ivins and James, 1999, Geophys. J. Int.)
14md = triangle(model(), '../Exp/RoundFrontEISMINT.exp', 200000)
15md = setmask(md, '', '')
16md = parameterize(md, '../Par/GiaIvinsBenchmarksCD.py')
17
18#indicate what you want to compute
19md.gia.cross_section_shape = 1 # for square-edged x - section
20
21#define loading history
22md.timestepping.start_time = 0.3 # for t \approx 0 kyr : to get eleastic response!
23md.timestepping.final_time = 2500000 # 2, 500 kyr
24md.geometry.thickness = np.array([np.append(md.geometry.thickness * 0.0, 0.0),
25 np.append(md.geometry.thickness / 2.0, 0.1),
26 np.append(md.geometry.thickness, 0.2),
27 np.append(md.geometry.thickness, md.timestepping.start_time)]).T
28
29#solve for GIA deflection
30md.cluster = generic('name', gethostname(), 'np', 3)
31md.verbose = verbose('1111111')
32md = solve(md, 'Gia')
33
34#Fields and tolerances to track changes
35field_names = ['UGia', 'UGiaRate']
36field_tolerances = [1e-13, 1e-13]
37field_values = [md.results.GiaSolution.UGia, md.results.GiaSolution.UGiaRate]
Note: See TracBrowser for help on using the repository browser.