- Timestamp:
- 06/07/17 10:50:54 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified issm/branches/trunk-larour-NatGeoScience2016/test/NightlyRun/test213.py ¶
r21060 r21759 1 1 #Test Name: SquareShelfCMBSSA3d 2 from MatlabFuncs import * 2 3 3 from model import * 4 from numpy import * 4 from socket import gethostname 5 import numpy as np 5 6 from triangle import * 6 7 from setmask import * … … 21 22 md.inversion.iscontrol=1 22 23 md.inversion.control_parameters=['MaterialsRheologyBbar'] 23 md.inversion.min_parameters=10**6* ones((md.mesh.numberofvertices,1))24 md.inversion.max_parameters=2.*10**9* ones((md.mesh.numberofvertices,1))24 md.inversion.min_parameters=10**6*np.ones((md.mesh.numberofvertices)) 25 md.inversion.max_parameters=2.*10**9*np.ones((md.mesh.numberofvertices)) 25 26 md.inversion.nsteps=2 26 27 md.inversion.cost_functions=[101] 27 md.inversion.cost_functions_coefficients= ones((md.mesh.numberofvertices,1))28 md.inversion.gradient_scaling=10**7* ones((md.inversion.nsteps,1))29 md.inversion.maxiter_per_step=2.* ones((md.inversion.nsteps,1))30 md.inversion.step_threshold=0.3* ones((md.inversion.nsteps,1))28 md.inversion.cost_functions_coefficients=np.ones((md.mesh.numberofvertices)) 29 md.inversion.gradient_scaling=10**7*np.ones((md.inversion.nsteps)) 30 md.inversion.maxiter_per_step=2.*np.ones((md.inversion.nsteps)) 31 md.inversion.step_threshold=0.3*np.ones((md.inversion.nsteps)) 31 32 md.inversion.vx_obs=md.initialization.vx 32 33 md.inversion.vy_obs=md.initialization.vy 33 34 34 35 35 md.cluster=generic('name', oshostname(),'np',3)36 md.cluster=generic('name',gethostname(),'np',3) 36 37 md=solve(md,'Stressbalance') 37 38 … … 42 43 field_tolerances=[1e-13,1e-13,1e-13,1e-13,1e-13,1e-13,1e-13] 43 44 #field_tolerances=[1e-13,1e-13,1e-13,1e-13,1e-13,1e-13,1e-13,1e-13,1e-13,1e-13] 44 field_values=[\ 45 md.results.StressbalanceSolution.Gradient1,\ 46 md.results.StressbalanceSolution.J,\ 47 md.results.StressbalanceSolution.MaterialsRheologyBbar,\ 48 md.results.StressbalanceSolution.Pressure,\ 49 md.results.StressbalanceSolution.Vel,\ 50 md.results.StressbalanceSolution.Vx,\ 51 md.results.StressbalanceSolution.Vy,\ 52 ] 45 field_values=[md.results.StressbalanceSolution.Gradient1, 46 md.results.StressbalanceSolution.J, 47 md.results.StressbalanceSolution.MaterialsRheologyBbar, 48 md.results.StressbalanceSolution.Pressure, 49 md.results.StressbalanceSolution.Vel, 50 md.results.StressbalanceSolution.Vx, 51 md.results.StressbalanceSolution.Vy]
Note:
See TracChangeset
for help on using the changeset viewer.