Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Backofen, Rainer
amdis
Commits
e82f87e3
Commit
e82f87e3
authored
Jul 18, 2010
by
Thomas Witkowski
Browse files
Fixed Sebastians bug no. 1 in parallelization code with periodic boundary conditions.
parent
be58240d
Changes
3
Hide whitespace changes
Inline
Side-by-side
AMDiS/libtool
View file @
e82f87e3
...
@@ -44,7 +44,7 @@ available_tags=" CXX F77"
...
@@ -44,7 +44,7 @@ available_tags=" CXX F77"
# ### BEGIN LIBTOOL CONFIG
# ### BEGIN LIBTOOL CONFIG
# Libtool was configured on host
deimos102
:
# Libtool was configured on host
linux-dxyz.site
:
# Shell to use when invoking shell scripts.
# Shell to use when invoking shell scripts.
SHELL
=
"/bin/sh"
SHELL
=
"/bin/sh"
...
@@ -82,13 +82,13 @@ AR="ar"
...
@@ -82,13 +82,13 @@ AR="ar"
AR_FLAGS
=
"cru"
AR_FLAGS
=
"cru"
# A C compiler.
# A C compiler.
LTCC
=
"/
licsoft/libraries/openmpi/1.2.6/64bit
/bin/mpicc"
LTCC
=
"/
usr/lib64/mpi/gcc/openmpi/
/bin/mpicc"
# LTCC compiler flags.
# LTCC compiler flags.
LTCFLAGS
=
"-g -O2"
LTCFLAGS
=
"-g -O2"
# A language-specific compiler.
# A language-specific compiler.
CC
=
"/
licsoft/libraries/openmpi/1.2.6/64bit
/bin/mpicc"
CC
=
"/
usr/lib64/mpi/gcc/openmpi/
/bin/mpicc"
# Is the compiler the GNU C compiler?
# Is the compiler the GNU C compiler?
with_gcc
=
yes
with_gcc
=
yes
...
@@ -325,10 +325,10 @@ variables_saved_for_relink="PATH LD_LIBRARY_PATH LD_RUN_PATH GCC_EXEC_PREFIX COM
...
@@ -325,10 +325,10 @@ variables_saved_for_relink="PATH LD_LIBRARY_PATH LD_RUN_PATH GCC_EXEC_PREFIX COM
link_all_deplibs
=
unknown
link_all_deplibs
=
unknown
# Compile-time system search path for libraries
# Compile-time system search path for libraries
sys_lib_search_path_spec
=
" /
fastfs/wir/local/lib/x86_64-suse-linux/4.1.2/ /fastfs/wir/local/lib/../lib64/ /usr/lib64/gcc/x86_64-suse-linux/4.1.2/ /usr/lib/gcc/x86_64-suse-linux/4.1.2
/ /usr/lib64/gcc/x86_64-suse-linux/4.
1.2
/../../../../x86_64-suse-linux/lib/x86_64-suse-linux/4.
1.2
/ /usr/lib64/gcc/x86_64-suse-linux/4.
1.2
/../../../../x86_64-suse-linux/lib/../lib64/ /usr/lib64/gcc/x86_64-suse-linux/4.
1.2
/../../../x86_64-suse-linux/4.
1.2
/ /usr/lib64/gcc/x86_64-suse-linux/4.
1.2
/../../../../lib64/ /lib/x86_64-suse-linux/4.
1.2
/ /lib/../lib64/ /usr/lib/x86_64-suse-linux/4.
1.2
/ /usr/lib/../lib64/
/fastfs/wir/local/lib/
/usr/lib64/gcc/x86_64-suse-linux/4.
1.2
/../../../../x86_64-suse-linux/lib/ /usr/lib64/gcc/x86_64-suse-linux/4.
1.2
/../../../ /lib/ /usr/lib/"
sys_lib_search_path_spec
=
" /
usr/lib64/gcc/x86_64-suse-linux/4.5
/ /usr/lib64/gcc/x86_64-suse-linux/4.
5
/../../../../x86_64-suse-linux/lib/x86_64-suse-linux/4.
5
/ /usr/lib64/gcc/x86_64-suse-linux/4.
5
/../../../../x86_64-suse-linux/lib/../lib64/ /usr/lib64/gcc/x86_64-suse-linux/4.
5
/../../../x86_64-suse-linux/4.
5
/ /usr/lib64/gcc/x86_64-suse-linux/4.
5
/../../../../lib64/ /lib/x86_64-suse-linux/4.
5
/ /lib/../lib64/ /usr/lib/x86_64-suse-linux/4.
5
/ /usr/lib/../lib64/ /usr/lib64/gcc/x86_64-suse-linux/4.
5
/../../../../x86_64-suse-linux/lib/ /usr/lib64/gcc/x86_64-suse-linux/4.
5
/../../../ /lib/ /usr/lib/"
# Run-time system search path for libraries
# Run-time system search path for libraries
sys_lib_dlsearch_path_spec
=
"/lib /usr/lib /usr/X11R6/lib64/Xaw3d /usr/X11R6/lib64 /usr/X11R6/lib/Xaw3d /usr/X11R6/lib /usr/x86_64-suse-linux/lib /usr/local/lib
64 /usr/local/lib /opt/kde3/lib64 /opt/kde3/lib /opt/gnome/lib64 /opt/gnome/lib /lib64 /lib /usr/lib64 /usr/lib /opt/cluster/intel/cce/9.1.042/lib /opt/cluster/intel/fce/9.1.036/lib /opt/cluster/Pathscale3.0/lib/2.9.99 /opt/cluster/Pathscale3.0/lib/2.9.99/32 /work/licsoft/compilers/pgi/linux86-64/6.2/lib /work/licsoft/compilers/pgi/linux86-64/6.2/libso
"
sys_lib_dlsearch_path_spec
=
"/lib /usr/lib /usr/X11R6/lib64/Xaw3d /usr/X11R6/lib64
/usr/lib64/Xaw3d
/usr/X11R6/lib/Xaw3d /usr/X11R6/lib
/usr/lib/Xaw3d
/usr/x86_64-suse-linux/lib /usr/local/lib
/opt/kde3/lib /lib64 /lib /usr/lib64 /usr/lib /usr/local/lib64 /opt/kde3/lib64 /usr/lib64/graphviz /usr/lib64/graphviz/sharp /usr/lib64/graphviz/java /usr/lib64/graphviz/perl /usr/lib64/graphviz/php /usr/lib64/graphviz/ocaml /usr/lib64/graphviz/python /usr/lib64/graphviz/lua /usr/lib64/graphviz/tcl /usr/lib64/graphviz/guile /usr/lib64/graphviz/ruby
"
# Fix the shell variable $srcfile for the compiler.
# Fix the shell variable $srcfile for the compiler.
fix_srcfile_path
=
""
fix_srcfile_path
=
""
...
@@ -6760,7 +6760,7 @@ build_old_libs=`case $build_libtool_libs in yes) $echo no;; *) $echo yes;; esac`
...
@@ -6760,7 +6760,7 @@ build_old_libs=`case $build_libtool_libs in yes) $echo no;; *) $echo yes;; esac`
# End:
# End:
# ### BEGIN LIBTOOL TAG CONFIG: CXX
# ### BEGIN LIBTOOL TAG CONFIG: CXX
# Libtool was configured on host
deimos102
:
# Libtool was configured on host
linux-dxyz.site
:
# Shell to use when invoking shell scripts.
# Shell to use when invoking shell scripts.
SHELL
=
"/bin/sh"
SHELL
=
"/bin/sh"
...
@@ -6798,13 +6798,13 @@ AR="ar"
...
@@ -6798,13 +6798,13 @@ AR="ar"
AR_FLAGS
=
"cru"
AR_FLAGS
=
"cru"
# A C compiler.
# A C compiler.
LTCC
=
"/
licsoft/libraries/openmpi/1.2.6/64bit
/bin/mpicc"
LTCC
=
"/
usr/lib64/mpi/gcc/openmpi/
/bin/mpicc"
# LTCC compiler flags.
# LTCC compiler flags.
LTCFLAGS
=
"-g -O2"
LTCFLAGS
=
"-g -O2"
# A language-specific compiler.
# A language-specific compiler.
CC
=
"/
licsoft/libraries/openmpi/1.2.6/64bit
/bin/mpicxx"
CC
=
"/
usr/lib64/mpi/gcc/openmpi/
/bin/mpicxx"
# Is the compiler the GNU C compiler?
# Is the compiler the GNU C compiler?
with_gcc
=
yes
with_gcc
=
yes
...
@@ -6942,11 +6942,11 @@ striplib="strip --strip-unneeded"
...
@@ -6942,11 +6942,11 @@ striplib="strip --strip-unneeded"
# Dependencies to place before the objects being linked to create a
# Dependencies to place before the objects being linked to create a
# shared library.
# shared library.
predep_objects
=
"/usr/lib64/gcc/x86_64-suse-linux/4.
1.2
/../../../../lib64/crti.o /usr/lib64/gcc/x86_64-suse-linux/4.
1.2
/crtbeginS.o"
predep_objects
=
"/usr/lib64/gcc/x86_64-suse-linux/4.
5
/../../../../lib64/crti.o /usr/lib64/gcc/x86_64-suse-linux/4.
5
/crtbeginS.o"
# Dependencies to place after the objects being linked to create a
# Dependencies to place after the objects being linked to create a
# shared library.
# shared library.
postdep_objects
=
"/usr/lib64/gcc/x86_64-suse-linux/4.
1.2
/crtendS.o /usr/lib64/gcc/x86_64-suse-linux/4.
1.2
/../../../../lib64/crtn.o"
postdep_objects
=
"/usr/lib64/gcc/x86_64-suse-linux/4.
5
/crtendS.o /usr/lib64/gcc/x86_64-suse-linux/4.
5
/../../../../lib64/crtn.o"
# Dependencies to place before the objects being linked to create a
# Dependencies to place before the objects being linked to create a
# shared library.
# shared library.
...
@@ -6954,11 +6954,11 @@ predeps=""
...
@@ -6954,11 +6954,11 @@ predeps=""
# Dependencies to place after the objects being linked to create a
# Dependencies to place after the objects being linked to create a
# shared library.
# shared library.
postdeps
=
"-lmpi_cxx -lmpi -lopen-rte -lopen-pal
-libverbs -lrt -lnuma
-ldl -lnsl -lutil -ldl -lstdc++ -lm -lgcc_s -lpthread -lc -lgcc_s"
postdeps
=
"-lmpi_cxx -lmpi -lopen-rte -lopen-pal -ldl -lnsl -lutil -ldl -lstdc++ -lm -lgcc_s -lpthread -lc -lgcc_s"
# The library search path used internally by the compiler when linking
# The library search path used internally by the compiler when linking
# a shared library.
# a shared library.
compiler_lib_search_path
=
"-L/usr/lib64
-L/licsoft/libraries/openmpi/1.2.6/64bit
/lib -L/usr/lib64/gcc/x86_64-suse-linux/4.
1.2
-L/usr/lib64/gcc/x86_64-suse-linux/4.
1.2
/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64
-L/fastfs/wir/local/lib
-L/usr/lib64/gcc/x86_64-suse-linux/4.
1.2
/../../../../x86_64-suse-linux/lib -L/usr/lib64/gcc/x86_64-suse-linux/4.
1.2
/../../.."
compiler_lib_search_path
=
"-L/usr/lib64
/mpi/gcc/openmpi
/lib
64
-L/usr/lib64/gcc/x86_64-suse-linux/4.
5
-L/usr/lib64/gcc/x86_64-suse-linux/4.
5
/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/usr/lib64/gcc/x86_64-suse-linux/4.
5
/../../../../x86_64-suse-linux/lib -L/usr/lib64/gcc/x86_64-suse-linux/4.
5
/../../.."
# Method to check whether dependent libraries are shared objects.
# Method to check whether dependent libraries are shared objects.
deplibs_check_method
=
"pass_all"
deplibs_check_method
=
"pass_all"
...
@@ -7038,10 +7038,10 @@ variables_saved_for_relink="PATH LD_LIBRARY_PATH LD_RUN_PATH GCC_EXEC_PREFIX COM
...
@@ -7038,10 +7038,10 @@ variables_saved_for_relink="PATH LD_LIBRARY_PATH LD_RUN_PATH GCC_EXEC_PREFIX COM
link_all_deplibs
=
unknown
link_all_deplibs
=
unknown
# Compile-time system search path for libraries
# Compile-time system search path for libraries
sys_lib_search_path_spec
=
" /
fastfs/wir/local/lib/x86_64-suse-linux/4.1.2/ /fastfs/wir/local/lib/../lib64/ /usr/lib64/gcc/x86_64-suse-linux/4.1.2/ /usr/lib/gcc/x86_64-suse-linux/4.1.2
/ /usr/lib64/gcc/x86_64-suse-linux/4.
1.2
/../../../../x86_64-suse-linux/lib/x86_64-suse-linux/4.
1.2
/ /usr/lib64/gcc/x86_64-suse-linux/4.
1.2
/../../../../x86_64-suse-linux/lib/../lib64/ /usr/lib64/gcc/x86_64-suse-linux/4.
1.2
/../../../x86_64-suse-linux/4.
1.2
/ /usr/lib64/gcc/x86_64-suse-linux/4.
1.2
/../../../../lib64/ /lib/x86_64-suse-linux/4.
1.2
/ /lib/../lib64/ /usr/lib/x86_64-suse-linux/4.
1.2
/ /usr/lib/../lib64/
/fastfs/wir/local/lib/
/usr/lib64/gcc/x86_64-suse-linux/4.
1.2
/../../../../x86_64-suse-linux/lib/ /usr/lib64/gcc/x86_64-suse-linux/4.
1.2
/../../../ /lib/ /usr/lib/"
sys_lib_search_path_spec
=
" /
usr/lib64/gcc/x86_64-suse-linux/4.5
/ /usr/lib64/gcc/x86_64-suse-linux/4.
5
/../../../../x86_64-suse-linux/lib/x86_64-suse-linux/4.
5
/ /usr/lib64/gcc/x86_64-suse-linux/4.
5
/../../../../x86_64-suse-linux/lib/../lib64/ /usr/lib64/gcc/x86_64-suse-linux/4.
5
/../../../x86_64-suse-linux/4.
5
/ /usr/lib64/gcc/x86_64-suse-linux/4.
5
/../../../../lib64/ /lib/x86_64-suse-linux/4.
5
/ /lib/../lib64/ /usr/lib/x86_64-suse-linux/4.
5
/ /usr/lib/../lib64/ /usr/lib64/gcc/x86_64-suse-linux/4.
5
/../../../../x86_64-suse-linux/lib/ /usr/lib64/gcc/x86_64-suse-linux/4.
5
/../../../ /lib/ /usr/lib/"
# Run-time system search path for libraries
# Run-time system search path for libraries
sys_lib_dlsearch_path_spec
=
"/lib /usr/lib /usr/X11R6/lib64/Xaw3d /usr/X11R6/lib64 /usr/X11R6/lib/Xaw3d /usr/X11R6/lib /usr/x86_64-suse-linux/lib /usr/local/lib
64 /usr/local/lib /opt/kde3/lib64 /opt/kde3/lib /opt/gnome/lib64 /opt/gnome/lib /lib64 /lib /usr/lib64 /usr/lib /opt/cluster/intel/cce/9.1.042/lib /opt/cluster/intel/fce/9.1.036/lib /opt/cluster/Pathscale3.0/lib/2.9.99 /opt/cluster/Pathscale3.0/lib/2.9.99/32 /work/licsoft/compilers/pgi/linux86-64/6.2/lib /work/licsoft/compilers/pgi/linux86-64/6.2/libso
"
sys_lib_dlsearch_path_spec
=
"/lib /usr/lib /usr/X11R6/lib64/Xaw3d /usr/X11R6/lib64
/usr/lib64/Xaw3d
/usr/X11R6/lib/Xaw3d /usr/X11R6/lib
/usr/lib/Xaw3d
/usr/x86_64-suse-linux/lib /usr/local/lib
/opt/kde3/lib /lib64 /lib /usr/lib64 /usr/lib /usr/local/lib64 /opt/kde3/lib64 /usr/lib64/graphviz /usr/lib64/graphviz/sharp /usr/lib64/graphviz/java /usr/lib64/graphviz/perl /usr/lib64/graphviz/php /usr/lib64/graphviz/ocaml /usr/lib64/graphviz/python /usr/lib64/graphviz/lua /usr/lib64/graphviz/tcl /usr/lib64/graphviz/guile /usr/lib64/graphviz/ruby
"
# Fix the shell variable $srcfile for the compiler.
# Fix the shell variable $srcfile for the compiler.
fix_srcfile_path
=
""
fix_srcfile_path
=
""
...
@@ -7065,7 +7065,7 @@ include_expsyms=""
...
@@ -7065,7 +7065,7 @@ include_expsyms=""
# ### BEGIN LIBTOOL TAG CONFIG: F77
# ### BEGIN LIBTOOL TAG CONFIG: F77
# Libtool was configured on host
deimos102
:
# Libtool was configured on host
linux-dxyz.site
:
# Shell to use when invoking shell scripts.
# Shell to use when invoking shell scripts.
SHELL
=
"/bin/sh"
SHELL
=
"/bin/sh"
...
@@ -7103,16 +7103,16 @@ AR="ar"
...
@@ -7103,16 +7103,16 @@ AR="ar"
AR_FLAGS
=
"cru"
AR_FLAGS
=
"cru"
# A C compiler.
# A C compiler.
LTCC
=
"/
licsoft/libraries/openmpi/1.2.6/64bit
/bin/mpicc"
LTCC
=
"/
usr/lib64/mpi/gcc/openmpi/
/bin/mpicc"
# LTCC compiler flags.
# LTCC compiler flags.
LTCFLAGS
=
"-g -O2"
LTCFLAGS
=
"-g -O2"
# A language-specific compiler.
# A language-specific compiler.
CC
=
"g
77
"
CC
=
"g
fortran
"
# Is the compiler the GNU C compiler?
# Is the compiler the GNU C compiler?
with_gcc
=
with_gcc
=
yes
# An ERE matcher.
# An ERE matcher.
EGREP
=
"grep -E"
EGREP
=
"grep -E"
...
@@ -7346,10 +7346,10 @@ variables_saved_for_relink="PATH LD_LIBRARY_PATH LD_RUN_PATH GCC_EXEC_PREFIX COM
...
@@ -7346,10 +7346,10 @@ variables_saved_for_relink="PATH LD_LIBRARY_PATH LD_RUN_PATH GCC_EXEC_PREFIX COM
link_all_deplibs
=
unknown
link_all_deplibs
=
unknown
# Compile-time system search path for libraries
# Compile-time system search path for libraries
sys_lib_search_path_spec
=
" /
fastfs/wir/local/lib
/x86_64-suse-linux/
3.3
.5/
/fastfs/wir/local/lib/
/usr/lib64/gcc
-lib
/x86_64-suse-linux/
3.3.5/ /usr/lib/gcc
/x86_64-suse-linux/
3.3
.5/ /usr/lib64/gcc
-lib
/x86_64-suse-linux/
3.3
.5/../../../../x86_64-suse-linux/lib/
x86_64-suse-linux/3.3.5
/ /usr/lib64/gcc
-lib
/x86_64-suse-linux/
3.3.5/..
/../../../x86_64-suse-linux/
lib
/ /usr/lib64/gcc
-lib
/x86_64-suse-linux/
3.3
.5/../../../x86_64-suse-linux/
3.3
.5/ /
usr
/lib64/
gcc-
lib/x86_64-suse-linux/
3.3.5/../../../ /lib/x86_64-suse-linux/3.3.5/
/lib/ /usr/lib/x86_64-suse-linux/
3.3.5
/ /usr/lib/"
sys_lib_search_path_spec
=
" /
usr/lib64/gcc
/x86_64-suse-linux/
4
.5/ /usr/lib64/gcc/x86_64-suse-linux/
4.5/../../../../x86_64-suse-linux/lib
/x86_64-suse-linux/
4
.5/ /usr/lib64/gcc/x86_64-suse-linux/
4
.5/../../../../x86_64-suse-linux/lib/
../lib64
/ /usr/lib64/gcc/x86_64-suse-linux/
4.5
/../../../x86_64-suse-linux/
4.5
/ /usr/lib64/gcc/x86_64-suse-linux/
4
.5/../../../
../lib64/ /lib/
x86_64-suse-linux/
4
.5/ /
lib/..
/lib64/
/usr/
lib/x86_64-suse-linux/
4.5/ /usr/lib/../lib64/ /usr/lib64/gcc/x86_64-suse-linux/4.5/../../../../x86_64-suse-linux
/lib/ /usr/lib
64/gcc
/x86_64-suse-linux/
4.5/../../../ /lib
/ /usr/lib/"
# Run-time system search path for libraries
# Run-time system search path for libraries
sys_lib_dlsearch_path_spec
=
"/lib /usr/lib /usr/X11R6/lib64/Xaw3d /usr/X11R6/lib64 /usr/X11R6/lib/Xaw3d /usr/X11R6/lib /usr/x86_64-suse-linux/lib /usr/local/lib
64 /usr/local/lib /opt/kde3/lib64 /opt/kde3/lib /opt/gnome/lib64 /opt/gnome/lib /lib64 /lib /usr/lib64 /usr/lib /opt/cluster/intel/cce/9.1.042/lib /opt/cluster/intel/fce/9.1.036/lib /opt/cluster/Pathscale3.0/lib/2.9.99 /opt/cluster/Pathscale3.0/lib/2.9.99/32 /work/licsoft/compilers/pgi/linux86-64/6.2/lib /work/licsoft/compilers/pgi/linux86-64/6.2/libso
"
sys_lib_dlsearch_path_spec
=
"/lib /usr/lib /usr/X11R6/lib64/Xaw3d /usr/X11R6/lib64
/usr/lib64/Xaw3d
/usr/X11R6/lib/Xaw3d /usr/X11R6/lib
/usr/lib/Xaw3d
/usr/x86_64-suse-linux/lib /usr/local/lib
/opt/kde3/lib /lib64 /lib /usr/lib64 /usr/lib /usr/local/lib64 /opt/kde3/lib64 /usr/lib64/graphviz /usr/lib64/graphviz/sharp /usr/lib64/graphviz/java /usr/lib64/graphviz/perl /usr/lib64/graphviz/php /usr/lib64/graphviz/ocaml /usr/lib64/graphviz/python /usr/lib64/graphviz/lua /usr/lib64/graphviz/tcl /usr/lib64/graphviz/guile /usr/lib64/graphviz/ruby
"
# Fix the shell variable $srcfile for the compiler.
# Fix the shell variable $srcfile for the compiler.
fix_srcfile_path
=
""
fix_srcfile_path
=
""
...
...
AMDiS/src/parallel/MeshDistributor.cc
View file @
e82f87e3
...
@@ -1992,6 +1992,7 @@ namespace AMDiS {
...
@@ -1992,6 +1992,7 @@ namespace AMDiS {
DofContainer
&
dofs
=
rankPeriodicDofs
[
it
->
first
];
DofContainer
&
dofs
=
rankPeriodicDofs
[
it
->
first
];
for
(
std
::
vector
<
AtomicBoundary
>::
iterator
boundIt
=
it
->
second
.
begin
();
for
(
std
::
vector
<
AtomicBoundary
>::
iterator
boundIt
=
it
->
second
.
begin
();
boundIt
!=
it
->
second
.
end
();
++
boundIt
)
{
boundIt
!=
it
->
second
.
end
();
++
boundIt
)
{
int
nDofs
=
dofs
.
size
();
Element
*
el
=
boundIt
->
rankObj
.
el
;
Element
*
el
=
boundIt
->
rankObj
.
el
;
if
(
boundIt
->
rankObj
.
reverseMode
)
{
if
(
boundIt
->
rankObj
.
reverseMode
)
{
...
@@ -2010,7 +2011,7 @@ namespace AMDiS {
...
@@ -2010,7 +2011,7 @@ namespace AMDiS {
el
->
getVertexDofs
(
feSpace
,
boundIt
->
rankObj
,
dofs
);
el
->
getVertexDofs
(
feSpace
,
boundIt
->
rankObj
,
dofs
);
el
->
getNonVertexDofs
(
feSpace
,
boundIt
->
rankObj
,
dofs
);
el
->
getNonVertexDofs
(
feSpace
,
boundIt
->
rankObj
,
dofs
);
for
(
unsigned
int
i
=
0
;
i
<
dofs
.
size
();
i
++
)
for
(
unsigned
int
i
=
0
;
i
<
(
dofs
.
size
()
-
nDofs
)
;
i
++
)
rankToDofType
[
it
->
first
].
push_back
(
boundIt
->
type
);
rankToDofType
[
it
->
first
].
push_back
(
boundIt
->
type
);
}
}
...
@@ -2048,16 +2049,21 @@ namespace AMDiS {
...
@@ -2048,16 +2049,21 @@ namespace AMDiS {
int
mapGlobalDofIndex
=
stdMpi
.
getRecvData
(
it
->
first
)[
i
];
int
mapGlobalDofIndex
=
stdMpi
.
getRecvData
(
it
->
first
)[
i
];
BoundaryType
type
=
types
[
i
];
BoundaryType
type
=
types
[
i
];
periodicDof
[
type
][
globalDofIndex
]
=
mapGlobalDofIndex
;
// Check if this global dof with the corresponding boundary type was
periodicDofAssociations
[
globalDofIndex
].
insert
(
type
);
// not added before by another periodic boundary from other rank.
dofFromRank
[
globalDofIndex
].
insert
(
it
->
first
);
if
(
periodicDofAssociations
[
globalDofIndex
].
count
(
type
)
==
0
)
{
}
periodicDof
[
type
][
globalDofIndex
]
=
mapGlobalDofIndex
;
periodicDofAssociations
[
globalDofIndex
].
insert
(
type
);
dofFromRank
[
globalDofIndex
].
insert
(
it
->
first
);
}
}
}
}
if
(
dofFromRank
.
size
()
>
0
)
if
(
dofFromRank
.
size
()
>
0
)
{
TEST_EXIT_DBG
(
mesh
->
getDim
()
==
2
)
TEST_EXIT_DBG
(
mesh
->
getDim
()
==
2
)
(
"Periodic boundary corner problem must be generalized to 3d!
\n
"
);
(
"Periodic boundary corner problem must be generalized to 3d!
\n
"
);
}
MPI
::
Request
request
[
min
(
static_cast
<
int
>
(
periodicBoundary
.
boundary
.
size
()
*
2
),
4
)];
MPI
::
Request
request
[
min
(
static_cast
<
int
>
(
periodicBoundary
.
boundary
.
size
()
*
2
),
4
)];
int
requestCounter
=
0
;
int
requestCounter
=
0
;
...
@@ -2067,7 +2073,8 @@ namespace AMDiS {
...
@@ -2067,7 +2073,8 @@ namespace AMDiS {
it
!=
dofFromRank
.
end
();
++
it
)
{
it
!=
dofFromRank
.
end
();
++
it
)
{
if
(
it
->
second
.
size
()
==
2
)
{
if
(
it
->
second
.
size
()
==
2
)
{
TEST_EXIT_DBG
(
periodicDofAssociations
[
it
->
first
].
size
()
==
2
)
TEST_EXIT_DBG
(
periodicDofAssociations
[
it
->
first
].
size
()
==
2
)
(
"Missing periodic dof!
\n
"
);
(
"DOF %d has only %d periodic associations!
\n
"
,
it
->
first
,
periodicDofAssociations
[
it
->
first
].
size
());
int
type0
=
*
(
periodicDofAssociations
[
it
->
first
].
begin
());
int
type0
=
*
(
periodicDofAssociations
[
it
->
first
].
begin
());
int
type1
=
*
(
++
(
periodicDofAssociations
[
it
->
first
].
begin
()));
int
type1
=
*
(
++
(
periodicDofAssociations
[
it
->
first
].
begin
()));
...
...
AMDiS/src/parallel/MpiHelper.h
View file @
e82f87e3
...
@@ -24,6 +24,8 @@
...
@@ -24,6 +24,8 @@
#ifdef HAVE_PARALLEL_DOMAIN_AMDIS
#ifdef HAVE_PARALLEL_DOMAIN_AMDIS
#include
<time.h>
#include
<stdlib.h>
#include
<mpi.h>
#include
<mpi.h>
namespace
AMDiS
{
namespace
AMDiS
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment