Last change
on this file since 20498 was 20498, checked in by Mathieu Morlighem, 9 years ago |
CHG: done with Archive/19101-20495
|
File size:
882 bytes
|
Rev | Line | |
---|
[20498] | 1 | Index: ../trunk-jpl/test/NightlyRun/test3015.py
|
---|
| 2 | ===================================================================
|
---|
| 3 | --- ../trunk-jpl/test/NightlyRun/test3015.py (revision 20215)
|
---|
| 4 | +++ ../trunk-jpl/test/NightlyRun/test3015.py (revision 20216)
|
---|
| 5 | @@ -24,6 +24,7 @@
|
---|
| 6 | md.cluster=generic('name',oshostname(),'np',3)
|
---|
| 7 | md.masstransport.requested_outputs=['IceVolume']
|
---|
| 8 | md.verbose=verbose('autodiff',True)
|
---|
| 9 | +md.toolkits.DefaultAnalysis=issmgslsolver()
|
---|
| 10 |
|
---|
| 11 | #setup autodiff parameters
|
---|
| 12 | index=1 #this is the scalar component we are checking against
|
---|
| 13 | @@ -84,7 +85,7 @@
|
---|
| 14 | #retrieve directly
|
---|
| 15 | dVdh_ad=md.results.MasstransportSolution.AutodiffJacobian
|
---|
| 16 |
|
---|
| 17 | -print "dV/dh: analytical: {0}\n using adolc: {1}\n".format(dVdh_an,dVdh_ad)
|
---|
| 18 | +print "dV/dh: analytical: #16.16g\n using adolc: #16.16g\n" % (dVdh_an,dVdh_ad)
|
---|
| 19 |
|
---|
| 20 | #Fields and tolerances to track changes
|
---|
| 21 | field_names =['dV/dh-dV/dh0']
|
---|
Note:
See
TracBrowser
for help on using the repository browser.