~ubuntu-branches/ubuntu/trusty/rheolef/trusty

« back to all changes in this revision

Viewing changes to nfem/ptst/form_mult_field_tst.sh

  • Committer: Package Import Robot
  • Author(s): Pierre Saramito
  • Date: 2012-04-06 09:12:21 UTC
  • mfrom: (1.1.5)
  • Revision ID: package-import@ubuntu.com-20120406091221-m58me99p1nxqui49
Tags: 6.0-1
* New upstream release 6.0 (major changes):
  - massively distributed and parallel support
  - full FEM characteristic method (Lagrange-Gakerkin method) support
  - enhanced users documentation 
  - source code supports g++-4.7 (closes: #667356)
* debian/control: dependencies for MPI distributed solvers added
* debian/rules: build commands simplified
* debian/librheolef-dev.install: man1/* to man9/* added
* debian/changelog: package description rewritted (closes: #661689)

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
SRCDIR=${SRCDIR-"."}
23
23
TOP_SRCDIR=${TOP_SRCDIR-"../.."}
24
24
DATA_DIR="${TOP_SRCDIR}/nfem/data"
25
 
NPROC_MAX=${NPROC_MAX-"7"}
 
25
NPROC_MAX=${NPROC_MAX-"8"}
26
26
. "${TOP_SRCDIR}/config/loop_mpirun.sh"
27
27
 
28
28
status=0
29
29
 
 
30
# ------------------------
 
31
# block all sides
 
32
# ------------------------
30
33
L="
31
34
line-dom-v2
32
 
carre-100-dom-v2
33
35
carre-bamg-v2
34
 
cube-10-dom-v2
35
 
cube-gmsh-v2
36
 
"
37
 
 
38
 
for geo in $L; do
39
 
  loop_mpirun "./form_mult_field_tst $SRCDIR/$geo 1e-10 2>/dev/null | diff -w -B form_mult_field-$geo-P1.field - >/dev/null"
40
 
  if test $? -ne 0; then status=1; fi
 
36
carre-tq-10-dom-v2
 
37
cube-dom-v2
 
38
cube-H-6-dom-v2
 
39
cube-P-5-dom-v2
 
40
my_cube_PH-5-v2
 
41
my_cube_TP-5-v2
 
42
my_cube_TPH-5-v2
 
43
"
 
44
for geo in $L; do
 
45
 for Pk in P1 P2 P3; do
 
46
  loop_mpirun "./form_mult_field_tst $SRCDIR/$geo $Pk 1e-9 2>/dev/null | diff -w -B form_mult_field-$geo-$Pk.field - >/dev/null"
 
47
  if test $? -ne 0; then status=1; fi
 
48
 done
 
49
done
 
50
# ------------------------
 
51
# block "boundary"
 
52
# ------------------------
 
53
L="
 
54
circle_p3-v2
 
55
"
 
56
for geo in $L; do
 
57
 for Pk in P1 P2 P3; do
 
58
  loop_mpirun "./form_mult_field_tst $SRCDIR/$geo $Pk 1e-9 boundary 2>/dev/null | diff -w -B form_mult_field-$geo-$Pk.field - >/dev/null"
 
59
  if test $? -ne 0; then status=1; fi
 
60
 done
41
61
done
42
62
 
43
63
exit $status