Commit d5274317 authored by Siqi Ling's avatar Siqi Ling
Browse files

small change

parent 831ce194
...@@ -684,6 +684,11 @@ INSTALL(FILES ${HEADERS} ...@@ -684,6 +684,11 @@ INSTALL(FILES ${HEADERS}
DESTINATION include/amdis/solver) DESTINATION include/amdis/solver)
list(APPEND deb_add_dirs "include/amdis/solver") list(APPEND deb_add_dirs "include/amdis/solver")
FILE(GLOB HEADERS "${SOURCE_DIR}/solver/details/*.h")
INSTALL(FILES ${HEADERS}
DESTINATION include/amdis/solver/details)
list(APPEND deb_add_dirs "include/amdis/solver/details")
FILE(GLOB HEADERS "${SOURCE_DIR}/solver/itl/*.hpp") FILE(GLOB HEADERS "${SOURCE_DIR}/solver/itl/*.hpp")
INSTALL(FILES ${HEADERS} INSTALL(FILES ${HEADERS}
DESTINATION include/amdis/solver/itl) DESTINATION include/amdis/solver/itl)
......
...@@ -30,6 +30,7 @@ ...@@ -30,6 +30,7 @@
#ifdef HAVE_PARALLEL_DOMAIN_AMDIS #ifdef HAVE_PARALLEL_DOMAIN_AMDIS
#include <mpi.h> #include <mpi.h>
#include "parallel/MeshDistributor.h" #include "parallel/MeshDistributor.h"
#include "parallel/ParallelDebug.h"
#endif #endif
using namespace std; using namespace std;
...@@ -184,6 +185,11 @@ namespace AMDiS { ...@@ -184,6 +185,11 @@ namespace AMDiS {
Parallel::InteriorBoundary &intBoundary = Parallel::InteriorBoundary &intBoundary =
Parallel::MeshDistributor::globalMeshDistributor->getIntBoundary(0); Parallel::MeshDistributor::globalMeshDistributor->getIntBoundary(0);
#if (DEBUG != 0)
// Make sure interior boundary is correct
Parallel::ParallelDebug::testInteriorBoundary(*(Parallel::MeshDistributor::globalMeshDistributor));
#endif
ElInfo *elInfo = mesh->createNewElInfo(); ElInfo *elInfo = mesh->createNewElInfo();
elInfo->setFillFlag(Mesh::FILL_COORDS); elInfo->setFillFlag(Mesh::FILL_COORDS);
...@@ -268,6 +274,7 @@ namespace AMDiS { ...@@ -268,6 +274,7 @@ namespace AMDiS {
if (subBound.size() == 0) if (subBound.size() == 0)
continue; continue;
// Highly possible mesh is not correct, for example: hanging node
TEST_EXIT_DBG(subBound.size() == stdMpiDet.getRecvData(it->first).size()) TEST_EXIT_DBG(subBound.size() == stdMpiDet.getRecvData(it->first).size())
("Should not happen: %d %d from rank %d\n", subBound.size(), stdMpiDet.getRecvData(it->first).size(), it->first); ("Should not happen: %d %d from rank %d\n", subBound.size(), stdMpiDet.getRecvData(it->first).size(), it->first);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment