~fluidity-core/fluidity/sea-ice-branch

« back to all changes in this revision

Viewing changes to tests/mphase_sedimentation_2d/mphase_sedimentation_2d.xml

  • Committer: Simon Mouradian
  • Date: 2012-10-19 10:35:59 UTC
  • mfrom: (3520.32.371 fluidity)
  • Revision ID: simon.mouradian06@imperial.ac.uk-20121019103559-y36qa47phc69q8sc
mergeĀ fromĀ trunk

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
    
88
94
  </variables>
89
95
    
90
96
  <pass_tests>
157
163
    <test name="PhaseVolumeFraction for Fluid 2 is conserved" language="python">
158
164
assert abs(f2_vfrac_integral - 0.5) &lt; 1e-6
159
165
    </test>
 
166
    
 
167
    <test name="Solvers converged" language="python">
 
168
assert(solvers_converged)
 
169
    </test>
160
170
  </pass_tests>
161
171
  
162
172
  <warn_tests>