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

« back to all changes in this revision

Viewing changes to tests/flredecomp_2d_fieldweighted/flredecomp_2d_fieldweighted.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:
1
 
<?xml version='1.0' encoding='utf-8'?>
2
 
<testproblem>
3
 
  <name>flredecomp-2d-fieldweighted</name>
4
 
  <owner userid="rhodrid"/>
5
 
  <tags>flml</tags>
6
 
 
7
 
  <problem_definition length="medium" nprocs="1">
8
 
    <command_line>mpiexec -n 16 flredecomp -i 1 -o 16 flredecomp-2d-fieldweighted Parallel-NP16-flredecomp-2d-fieldweighted</command_line>
9
 
  </problem_definition>
10
 
 
11
 
  <variables>
12
 
    <variable name="max_load_imbalance" language="python">
13
 
from check_partitions import *
14
 
max_load_imbalance = calculate_partition_weights()
15
 
      <comment>Calculates the weight of each partition (i.e. sums weights of elements in each partition). The weights are prescribed in the flml to be 1.0 for region 27, and 0.005 elsewhere.</comment>
16
 
    </variable>
17
 
  </variables>
18
 
 
19
 
  <pass_tests>
20
 
    <test name="maximum load imbalance .lt. 1.5 " language="python">
21
 
      assert ( max_load_imbalance &lt; 1.5 )
22
 
    </test>
23
 
  </pass_tests>
24
 
 
25
 
</testproblem>