Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
iwr
amdis
Commits
c6555c8c
Commit
c6555c8c
authored
Apr 13, 2012
by
Thomas Witkowski
Browse files
Added first parallel test.
parent
8cce62bb
Changes
8
Hide whitespace changes
Inline
Side-by-side
test/mpi/CMakeLists.txt
0 → 100644
View file @
c6555c8c
project
(
"AMDiS test suite (seq)"
)
cmake_minimum_required
(
VERSION 2.8
)
find_package
(
AMDIS REQUIRED
)
if
(
AMDIS_FOUND
)
message
(
"amdis was found
\n
"
)
include
(
${
AMDIS_USE_FILE
}
)
SET
(
BASIS_LIBS
${
AMDIS_LIBRARIES
}
)
endif
(
AMDIS_FOUND
)
find_package
(
Boost 1.42 REQUIRED
)
if
(
Boost_FOUND
)
list
(
APPEND AMDIS_INCLUDE_DIRS
${
Boost_INCLUDE_DIR
}
)
message
(
"boost lib-dirs:
${
Boost_LIBRARY_DIRS
}
"
)
message
(
"use the boost dir:
${
Boost_INCLUDE_DIR
}
"
)
if
(
WIN32
)
message
(
"the windows find_boost does not set the boost library paths, please set it"
)
SET
(
Boost_LIBRARY_DIRS CACHE PATH
"The directory containing the boost libraries"
)
endif
(
WIN32
)
list
(
APPEND BASIS_LIBS
${
Boost_LIBRARY_DIRS
}
/libboost_unit_test_framework.so
)
endif
(
Boost_FOUND
)
file
(
GLOB sources src/*.cc
)
foreach
(
s
${
sources
}
)
get_filename_component
(
swe
${
s
}
NAME_WE
)
add_executable
(
${
swe
}
${
s
}
)
target_link_libraries
(
${
swe
}
${
BASIS_LIBS
}
)
endforeach
(
s
)
#create the output dir
file
(
MAKE_DIRECTORY output
)
test/mpi/init/test0001.dat.2d
0 → 100644
View file @
c6555c8c
dimension of world: 2
elliptMesh->macro file name: ./macro/macro.stand.p16.2d
elliptMesh->global refinements: 0
ellipt->mesh: elliptMesh
ellipt->dim: 2
ellipt->components: 1
ellipt->polynomial degree[0]: 1
ellipt->solver: cg
ellipt->solver->max iteration: 10
ellipt->solver->tolerance: 1.e-8
ellipt->solver->info: 10
ellipt->solver->left precon: diag
ellipt->solver->right precon: no
ellipt->estimator[0]: 0
ellipt->estimator[0]->error norm: 1 % 1: H1_NORM, 2: L2_NORM
ellipt->estimator[0]->C0: 0.1 % constant of element residual
ellipt->estimator[0]->C1: 0.1 % constant of jump residual
ellipt->marker[0]->strategy: 0 % 0: no adaption 1: GR 2: MS 3: ES 4:GERS
ellipt->output->filename: output/ellipt.2d
ellipt->output->ParaView format: 1
parallel->log main rank: 0
parallel->pre refine: 0
parallel->partitioner: checker
test/mpi/macro/macro.stand.2d
0 → 100644
View file @
c6555c8c
DIM: 2
DIM_OF_WORLD: 2
number of elements: 4
number of vertices: 5
element vertices:
0 1 4
1 2 4
2 3 4
3 0 4
element boundaries:
0 0 1
0 0 1
0 0 1
0 0 1
vertex coordinates:
0.0 0.0
1.0 0.0
1.0 1.0
0.0 1.0
0.5 0.5
element neighbours:
1 3 -1
2 0 -1
3 1 -1
0 2 -1
test/mpi/macro/macro.stand.p16.2d
0 → 100644
View file @
c6555c8c
DIM: 2
DIM_OF_WORLD: 2
number of elements: 32
number of vertices: 25
vertex coordinates:
0 0
0.25 0
0.5 0
0.75 0
1 0
0 0.25
0.25 0.25
0.5 0.25
0.75 0.25
1 0.25
0 0.5
0.25 0.5
0.5 0.5
0.75 0.5
1 0.5
0 0.75
0.25 0.75
0.5 0.75
0.75 0.75
1 0.75
0 1
0.25 1
0.5 1
0.75 1
1 1
element vertices:
0 6 5
6 0 1
1 7 6
7 1 2
2 8 7
8 2 3
3 9 8
9 3 4
5 11 10
11 5 6
6 12 11
12 6 7
7 13 12
13 7 8
8 14 13
14 8 9
10 16 15
16 10 11
11 17 16
17 11 12
12 18 17
18 12 13
13 19 18
19 13 14
15 21 20
21 15 16
16 22 21
22 16 17
17 23 22
23 17 18
18 24 23
24 18 19
element boundaries:
0 1 0
1 0 0
0 0 0
1 0 0
0 0 0
1 0 0
0 0 0
1 1 0
0 1 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 1 0
0 1 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 1 0
1 1 0
0 0 0
1 0 0
0 0 0
1 0 0
0 0 0
1 0 0
0 1 0
element neighbours:
9 -1 1
-1 2 0
11 1 3
-1 4 2
13 3 5
-1 6 4
15 5 7
-1 -1 6
17 -1 9
0 10 8
19 9 11
2 12 10
21 11 13
4 14 12
23 13 15
6 -1 14
25 -1 17
8 18 16
27 17 19
10 20 18
29 19 21
12 22 20
31 21 23
14 -1 22
-1 -1 25
16 26 24
-1 25 27
18 28 26
-1 27 29
20 30 28
-1 29 31
22 -1 30
test/mpi/macro/macro.stand.p256.2d
0 → 100644
View file @
c6555c8c
DIM: 2
DIM_OF_WORLD: 2
number of elements: 512
number of vertices: 289
vertex coordinates:
0 0
0.0625 0
0.125 0
0.1875 0
0.25 0
0.3125 0
0.375 0
0.4375 0
0.5 0
0.5625 0
0.625 0
0.6875 0
0.75 0
0.8125 0
0.875 0
0.9375 0
1 0
0 0.0625
0.0625 0.0625
0.125 0.0625
0.1875 0.0625
0.25 0.0625
0.3125 0.0625
0.375 0.0625
0.4375 0.0625
0.5 0.0625
0.5625 0.0625
0.625 0.0625
0.6875 0.0625
0.75 0.0625
0.8125 0.0625
0.875 0.0625
0.9375 0.0625
1 0.0625
0 0.125
0.0625 0.125
0.125 0.125
0.1875 0.125
0.25 0.125
0.3125 0.125
0.375 0.125
0.4375 0.125
0.5 0.125
0.5625 0.125
0.625 0.125
0.6875 0.125
0.75 0.125
0.8125 0.125
0.875 0.125
0.9375 0.125
1 0.125
0 0.1875
0.0625 0.1875
0.125 0.1875
0.1875 0.1875
0.25 0.1875
0.3125 0.1875
0.375 0.1875
0.4375 0.1875
0.5 0.1875
0.5625 0.1875
0.625 0.1875
0.6875 0.1875
0.75 0.1875
0.8125 0.1875
0.875 0.1875
0.9375 0.1875
1 0.1875
0 0.25
0.0625 0.25
0.125 0.25
0.1875 0.25
0.25 0.25
0.3125 0.25
0.375 0.25
0.4375 0.25
0.5 0.25
0.5625 0.25
0.625 0.25
0.6875 0.25
0.75 0.25
0.8125 0.25
0.875 0.25
0.9375 0.25
1 0.25
0 0.3125
0.0625 0.3125
0.125 0.3125
0.1875 0.3125
0.25 0.3125
0.3125 0.3125
0.375 0.3125
0.4375 0.3125
0.5 0.3125
0.5625 0.3125
0.625 0.3125
0.6875 0.3125
0.75 0.3125
0.8125 0.3125
0.875 0.3125
0.9375 0.3125
1 0.3125
0 0.375
0.0625 0.375
0.125 0.375
0.1875 0.375
0.25 0.375
0.3125 0.375
0.375 0.375
0.4375 0.375
0.5 0.375
0.5625 0.375
0.625 0.375
0.6875 0.375
0.75 0.375
0.8125 0.375
0.875 0.375
0.9375 0.375
1 0.375
0 0.4375
0.0625 0.4375
0.125 0.4375
0.1875 0.4375
0.25 0.4375
0.3125 0.4375
0.375 0.4375
0.4375 0.4375
0.5 0.4375
0.5625 0.4375
0.625 0.4375
0.6875 0.4375
0.75 0.4375
0.8125 0.4375
0.875 0.4375
0.9375 0.4375
1 0.4375
0 0.5
0.0625 0.5
0.125 0.5
0.1875 0.5
0.25 0.5
0.3125 0.5
0.375 0.5
0.4375 0.5
0.5 0.5
0.5625 0.5
0.625 0.5
0.6875 0.5
0.75 0.5
0.8125 0.5
0.875 0.5
0.9375 0.5
1 0.5
0 0.5625
0.0625 0.5625
0.125 0.5625
0.1875 0.5625
0.25 0.5625
0.3125 0.5625
0.375 0.5625
0.4375 0.5625
0.5 0.5625
0.5625 0.5625
0.625 0.5625
0.6875 0.5625
0.75 0.5625
0.8125 0.5625
0.875 0.5625
0.9375 0.5625
1 0.5625
0 0.625
0.0625 0.625
0.125 0.625
0.1875 0.625
0.25 0.625
0.3125 0.625
0.375 0.625
0.4375 0.625
0.5 0.625
0.5625 0.625
0.625 0.625
0.6875 0.625
0.75 0.625
0.8125 0.625
0.875 0.625
0.9375 0.625
1 0.625
0 0.6875
0.0625 0.6875
0.125 0.6875
0.1875 0.6875
0.25 0.6875
0.3125 0.6875
0.375 0.6875
0.4375 0.6875
0.5 0.6875
0.5625 0.6875
0.625 0.6875
0.6875 0.6875
0.75 0.6875
0.8125 0.6875
0.875 0.6875
0.9375 0.6875
1 0.6875
0 0.75
0.0625 0.75
0.125 0.75
0.1875 0.75
0.25 0.75
0.3125 0.75
0.375 0.75
0.4375 0.75
0.5 0.75
0.5625 0.75
0.625 0.75
0.6875 0.75
0.75 0.75
0.8125 0.75
0.875 0.75
0.9375 0.75
1 0.75
0 0.8125
0.0625 0.8125
0.125 0.8125
0.1875 0.8125
0.25 0.8125
0.3125 0.8125
0.375 0.8125
0.4375 0.8125
0.5 0.8125
0.5625 0.8125
0.625 0.8125
0.6875 0.8125
0.75 0.8125
0.8125 0.8125
0.875 0.8125
0.9375 0.8125
1 0.8125
0 0.875
0.0625 0.875
0.125 0.875
0.1875 0.875
0.25 0.875
0.3125 0.875
0.375 0.875
0.4375 0.875
0.5 0.875
0.5625 0.875
0.625 0.875
0.6875 0.875
0.75 0.875
0.8125 0.875
0.875 0.875
0.9375 0.875
1 0.875
0 0.9375
0.0625 0.9375
0.125 0.9375
0.1875 0.9375
0.25 0.9375
0.3125 0.9375
0.375 0.9375
0.4375 0.9375
0.5 0.9375
0.5625 0.9375
0.625 0.9375
0.6875 0.9375
0.75 0.9375
0.8125 0.9375
0.875 0.9375
0.9375 0.9375
1 0.9375
0 1
0.0625 1
0.125 1
0.1875 1
0.25 1
0.3125 1
0.375 1
0.4375 1
0.5 1
0.5625 1
0.625 1
0.6875 1
0.75 1
0.8125 1
0.875 1
0.9375 1
1 1
element vertices:
0 18 17
18 0 1
1 19 18
19 1 2
2 20 19
20 2 3
3 21 20
21 3 4
4 22 21
22 4 5
5 23 22
23 5 6
6 24 23
24 6 7
7 25 24
25 7 8
8 26 25
26 8 9
9 27 26
27 9 10
10 28 27
28 10 11
11 29 28
29 11 12
12 30 29
30 12 13
13 31 30
31 13 14
14 32 31
32 14 15
15 33 32
33 15 16
17 35 34
35 17 18
18 36 35
36 18 19
19 37 36
37 19 20
20 38 37
38 20 21
21 39 38
39 21 22
22 40 39
40 22 23
23 41 40
41 23 24
24 42 41
42 24 25
25 43 42
43 25 26
26 44 43
44 26 27
27 45 44
45 27 28
28 46 45
46 28 29
29 47 46
47 29 30
30 48 47
48 30 31
31 49 48
49 31 32
32 50 49
50 32 33
34 52 51
52 34 35
35 53 52
53 35 36
36 54 53
54 36 37
37 55 54
55 37 38
38 56 55
56 38 39
39 57 56
57 39 40
40 58 57
58 40 41
41 59 58
59 41 42
42 60 59
60 42 43
43 61 60
61 43 44
44 62 61
62 44 45
45 63 62
63 45 46
46 64 63
64 46 47
47 65 64
65 47 48
48 66 65
66 48 49
49 67 66
67 49 50
51 69 68
69 51 52
52 70 69
70 52 53
53 71 70
71 53 54
54 72 71
72 54 55
55 73 72
73 55 56
56 74 73
74 56 57
57 75 74
75 57 58
58 76 75
76 58 59
59 77 76
77 59 60
60 78 77
78 60 61
61 79 78
79 61 62
62 80 79
80 62 63
63 81 80
81 63 64