Changeset 21604
- Timestamp:
- 03/10/17 20:40:07 (8 years ago)
- Location:
- issm/trunk-jpl/test
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/test/NightlyRun/test408.m
r21056 r21604 3 3 md=setmask(md,'../Exp/SquareShelf.exp',''); 4 4 md=parameterize(md,'../Par/SquareSheetShelf.par'); 5 md.geometry.bed=md.geometry.base; 6 pos=find(md.mask.groundedice_levelset<0); 7 md.geometry.bed(pos)=md.geometry.base(pos)-10; 8 md.friction=frictioncoulomb(); 9 md.friction.coefficient=20.*ones(md.mesh.numberofvertices,1); 10 md.friction.p=ones(md.mesh.numberofelements,1); 11 md.friction.q=ones(md.mesh.numberofelements,1); 12 md.friction.coefficientcoulomb=0.02*ones(md.mesh.numberofvertices,1); 5 13 md=extrude(md,3,1); 6 14 md.transient.isthermal=0; 15 md.transient.isgroundingline=1; 7 16 md=setflowequation(md,'SSA','all'); 8 17 md.cluster=generic('name',oshostname(),'np',3); -
issm/trunk-jpl/test/NightlyRun/test408.py
r21408 r21604 9 9 from setflowequation import * 10 10 from solve import * 11 from frictioncoulomb import frictioncoulomb 11 12 12 13 md=triangle(model(),'../Exp/Square.exp',150000.) 13 14 md=setmask(md,'../Exp/SquareShelf.exp','') 14 15 md=parameterize(md,'../Par/SquareSheetShelf.py') 16 md.geometry.bed=md.geometry.base 17 pos=numpy.nonzero(md.mask.groundedice_levelset<0.) 18 md.geometry.bed[pos]=md.geometry.base[pos]-10 19 md.friction=frictioncoulomb() 20 md.friction.coefficient=20*np.ones(md.mesh.numberofvertices) 21 md.friction.p=1*np.ones(md.mesh.numberofvertices) 22 md.friction.q=1*np.ones(md.mesh.numberofvertices) 23 md.friction.coefficientcoulomb=0.02*np.ones(md.mesh.numberofvertices) 24 md.transient.isthermal=False 25 md.transient.isgroundingline=True 15 26 md.extrude(3,1.) 16 27 md=setflowequation(md,'SSA','all') 17 md.transient.isthermal=False18 28 md.cluster=generic('name',gethostname(),'np',3) 19 29 md.transient.requested_outputs=['default','GroundedArea','FloatingArea','TotalFloatingBmb','TotalGroundedBmb','TotalSmb']
Note:
See TracChangeset
for help on using the changeset viewer.