Changeset 20500 for issm/trunk/test/NightlyRun/test3015.py
- Timestamp:
- 04/12/16 21:32:01 (9 years ago)
- Location:
- issm/trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk
- Property svn:ignore
-
old new 1 build-js 2 build-esmf 3 build-gcm 1 4 build-fw 2 5 build-ad
-
- Property svn:mergeinfo changed
/issm/trunk-jpl merged: 19104,19106-19126,19128-19134,19136-19170,19172-19299,19302,19306-19405,19407-19604,19606-19668,19670-20496
- Property svn:ignore
-
issm/trunk/test
- Property svn:mergeinfo changed
-
issm/trunk/test/NightlyRun/test3015.py
r19105 r20500 22 22 md=parameterize(md,'../Par/SquareShelfConstrained.py') 23 23 md=setflowequation(md,'SSA','all') 24 md.cluster=generic('name',oshostname(),'np', 3)24 md.cluster=generic('name',oshostname(),'np',1) 25 25 md.masstransport.requested_outputs=['IceVolume'] 26 26 md.verbose=verbose('autodiff',True) 27 md.toolkits.DefaultAnalysis=issmgslsolver()28 27 29 28 #setup autodiff parameters … … 37 36 ] 38 37 md.autodiff.driver='fos_forward' 38 39 #PYTHON: indices start at 0, make sure to offset index 40 index=index-1 39 41 40 42 #parameters for the step-wise derivative … … 86 88 dVdh_ad=md.results.MasstransportSolution.AutodiffJacobian 87 89 88 print "dV/dh: analytical: #16.16g\n using adolc: #16.16g\n" % (dVdh_an,dVdh_ad)90 print "dV/dh: analytical: %16.16g\n using adolc: %16.16g\n" % (dVdh_an,dVdh_ad) 89 91 90 92 #Fields and tolerances to track changes
Note:
See TracChangeset
for help on using the changeset viewer.