Merge branch 'mpi_fixes' into 'master'

MPI / MeshTopology

See merge request jschoeberl/netgen!158
This commit is contained in:
Joachim Schöberl 2019-05-21 13:04:02 +00:00
commit ccc7606c5f
2 changed files with 3 additions and 1 deletions

View File

@ -13,6 +13,7 @@ ExternalProject_Add(project_metis
-DCMAKE_INSTALL_PREFIX=${METIS_DIR}
-DCMAKE_POSITION_INDEPENDENT_CODE=ON
-DCMAKE_C_COMPILER=${CMAKE_C_COMPILER}
-DCMAKE_CXX_COMPILER=${CMAKE_CXX_COMPILER}
UPDATE_COMMAND "" # Disable update
BUILD_IN_SOURCE 1
)

View File

@ -769,10 +769,11 @@ namespace netgen
self.mlbetweennodes = Array<PointIndices<2>,PointIndex::BASE> (0);
self.mlparentelement = Array<int>(0);
self.mlparentsurfaceelement = Array<int>(0);
self.topology.Update();
self.curvedelems = new CurvedElements (self);
self.clusters = new AnisotropicClusters (self);
self.ident = new Identifications (self);
self.topology = MeshTopology(*this);
self.topology.Update();
self.BuildElementSearchTree();
// const_cast<Mesh&>(*this).DeleteMesh();