Skip to content

Commit

Permalink
Fixup 37ec089 : Only enable testing of DelaunayMeshGenerator when ATL…
Browse files Browse the repository at this point in the history
…AS_HAVE_TESSELATION=1
  • Loading branch information
wdeconinck committed Sep 13, 2023
1 parent d01495f commit 4194ac9
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/tests/mesh/test_meshgen_splitcomm.cc
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ CASE("StructuredMeshGenerator") {
}

CASE("DelaunayMeshGenerator") {
if( ATLAS_HAVE_TESSELATION ) {
Fixture fixture;

MeshGenerator meshgen{"delaunay", option::mpi_comm("split")};
Expand All @@ -110,6 +111,10 @@ CASE("DelaunayMeshGenerator") {
output::Gmsh gmsh(grid_CS().name()+"_delaunay.msh",util::Config("coordinates","xyz"));
gmsh.write(mesh);
}
else {
Log::warning() << "Not testing DelaunayMeshGenerator as TESSELATION feature is OFF" << std::endl;
}
}

CASE("CubedSphereDualMeshGenerator") {
Fixture fixture;
Expand Down

0 comments on commit 4194ac9

Please sign in to comment.