From 52e0a701b8424608a60524c6b901c146b8e5b8f7 Mon Sep 17 00:00:00 2001 From: Daniel Arndt Date: Tue, 11 May 2021 13:04:41 -0400 Subject: [PATCH] Fix gmsh/gmsh_api_02/04 --- tests/gmsh/gmsh_api_02.cc | 5 +++-- tests/gmsh/gmsh_api_04.cc | 5 +++-- 2 files changed, 6 insertions(+), 4 deletions(-) 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"); -- 2.39.5