~fluidity-core/fluidity/sea-ice-coupling

« back to all changes in this revision

Viewing changes to tests/mphase_sedimentation_2d/mphase_sedimentation_2d.xml

  • Committer: Simon Mouradian
  • Date: 2012-10-09 20:00:15 UTC
  • Revision ID: mouradian@gmail.com-20121009200015-7hztzrng2bkqgz1t
revert last trunk merge, something broke

Show diffs side-by-side

added added

removed removed

Lines of Context:
85
85
positions = p[:,1]
86
86
    </variable>
87
87
    
88
 
    <variable name="solvers_converged" language="python">
89
 
import os
90
 
files = os.listdir("./")
91
 
solvers_converged = not "matrixdump" in files and not "matrixdump.info" in files
92
 
    </variable>
93
 
    
94
88
  </variables>
95
89
    
96
90
  <pass_tests>
163
157
    <test name="PhaseVolumeFraction for Fluid 2 is conserved" language="python">
164
158
assert abs(f2_vfrac_integral - 0.5) &lt; 1e-6
165
159
    </test>
166
 
    
167
 
    <test name="Solvers converged" language="python">
168
 
assert(solvers_converged)
169
 
    </test>
170
160
  </pass_tests>
171
161
  
172
162
  <warn_tests>