diff --git a/AMDiS/libtool b/AMDiS/libtool index ace48e58891430cbcc2eae0fee1709dd2bac898f..1a37a1c4572b62407064c5fbf948ba43cd0594c4 100755 --- a/AMDiS/libtool +++ b/AMDiS/libtool @@ -44,7 +44,7 @@ available_tags=" CXX F77" # ### BEGIN LIBTOOL CONFIG -# Libtool was configured on host p1q024: +# Libtool was configured on host deimos102: # Shell to use when invoking shell scripts. SHELL="/bin/sh" @@ -6760,7 +6760,7 @@ build_old_libs=`case $build_libtool_libs in yes) $echo no;; *) $echo yes;; esac` # End: # ### BEGIN LIBTOOL TAG CONFIG: CXX -# Libtool was configured on host p1q024: +# Libtool was configured on host deimos102: # Shell to use when invoking shell scripts. SHELL="/bin/sh" @@ -7065,7 +7065,7 @@ include_expsyms="" # ### BEGIN LIBTOOL TAG CONFIG: F77 -# Libtool was configured on host p1q024: +# Libtool was configured on host deimos102: # Shell to use when invoking shell scripts. SHELL="/bin/sh" diff --git a/AMDiS/src/parallel/PetscSolver.cc b/AMDiS/src/parallel/PetscSolver.cc index 02185b26e7bad1ef118cb4ce2a851646a5f3b67f..0c4e5a506638b4ab54d0ebcfdbe29c9034791606 100644 --- a/AMDiS/src/parallel/PetscSolver.cc +++ b/AMDiS/src/parallel/PetscSolver.cc @@ -144,15 +144,13 @@ namespace AMDiS { // And add all periodic matrix indices. for (std::set<int>::iterator it = perAsc.begin(); it != perAsc.end(); ++it) { - for (unsigned int i = 0; i < newCols.size(); i++) { - TEST_EXIT(meshDistributor->isPeriodicDof(newCols[i], *it)) + int nCols = static_cast<int>(newCols.size()); + + for (int i = 0; i < nCols; i++) { + TEST_EXIT_DBG(meshDistributor->isPeriodicDof(newCols[i], *it)) ("Wrong periodic DOF associations at boundary %d with DOF %d!\n", *it, newCols[i]); - MSG("MAP DOF %d -> %d\n", - newCols[i], - meshDistributor->getPeriodicMapping(newCols[i], *it)); - newCols.push_back(meshDistributor->getPeriodicMapping(newCols[i], *it)); } }