From: Daniel Arndt Date: Tue, 11 May 2021 17:04:41 +0000 (-0400) Subject: Fix gmsh/gmsh_api_02/04 X-Git-Tag: v9.3.0-rc1~86^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=52e0a701b8424608a60524c6b901c146b8e5b8f7;p=dealii.git Fix gmsh/gmsh_api_02/04 --- diff --git a/tests/gmsh/gmsh_api_02.cc b/tests/gmsh/gmsh_api_02.cc index 7ab73247a4..d4326fcd50 100644 --- a/tests/gmsh/gmsh_api_02.cc +++ b/tests/gmsh/gmsh_api_02.cc @@ -15,6 +15,7 @@ // Create all reference cells, and output them with gmsh. +#include #include #include @@ -28,8 +29,8 @@ test(const std::uint8_t kind, const std::string out = "") << "<" << dim << "," << spacedim << ">" << std::endl; Triangulation tria; - ReferenceCell::make_triangulation( - ReferenceCell::internal::make_reference_cell_from_int(kind), tria); + GridGenerator::reference_cell( + internal::ReferenceCell::make_reference_cell_from_int(kind), tria); GridOut go; go.write_msh(tria, "output.msh"); cat_file("output.msh"); diff --git a/tests/gmsh/gmsh_api_04.cc b/tests/gmsh/gmsh_api_04.cc index 76c8db52fc..5cf374128f 100644 --- a/tests/gmsh/gmsh_api_04.cc +++ b/tests/gmsh/gmsh_api_04.cc @@ -15,6 +15,7 @@ // Create all reference cells, and output them with gmsh. +#include #include #include #include @@ -30,8 +31,8 @@ test(const std::uint8_t kind, const std::string out = "") << "<" << dim << "," << spacedim << ">" << std::endl; Triangulation tria; - ReferenceCell::make_triangulation( - ReferenceCell::internal::make_reference_cell_from_int(kind), tria); + GridGenerator::reference_cell( + internal::ReferenceCell::make_reference_cell_from_int(kind), tria); GridOut go; go.write_msh(tria, "output.msh");