~grm08/fluidity/hilbert-for-pyop2

« back to all changes in this revision

Viewing changes to tests_adj_list_error/flredecomp_2d_fieldweighted/flredecomp_2d_fieldweighted.xml

  • Committer: Mark Filipiak
  • Date: 2013-02-01 00:11:23 UTC
  • Revision ID: mjf@staffmail.ed.ac.uk-20130201001123-gdnjwchjd1qd47j9
And more.

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>