]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fix gmsh/gmsh_api_02/04 12182/head
authorDaniel Arndt <arndtd@ornl.gov>
Tue, 11 May 2021 17:04:41 +0000 (13:04 -0400)
committerDaniel Arndt <arndtd@ornl.gov>
Tue, 11 May 2021 17:04:57 +0000 (13:04 -0400)
tests/gmsh/gmsh_api_02.cc
tests/gmsh/gmsh_api_04.cc

index 7ab73247a47bec07826103cb792d9592ad9a69bf..d4326fcd509ae6e79e1d4a8051085f92d9e664ca 100644 (file)
@@ -15,6 +15,7 @@
 
 // Create all reference cells, and output them with gmsh.
 
+#include <deal.II/grid/grid_generator.h>
 #include <deal.II/grid/grid_out.h>
 #include <deal.II/grid/tria.h>
 
@@ -28,8 +29,8 @@ test(const std::uint8_t kind, const std::string out = "")
           << "<" << dim << "," << spacedim << ">" << std::endl;
 
   Triangulation<dim, spacedim> 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");
index 76c8db52fc8f3db27801cb7d08d8ea147962232f..5cf374128ff35152f4b198b221e9c985c098277d 100644 (file)
@@ -15,6 +15,7 @@
 
 // Create all reference cells, and output them with gmsh.
 
+#include <deal.II/grid/grid_generator.h>
 #include <deal.II/grid/grid_in.h>
 #include <deal.II/grid/grid_out.h>
 #include <deal.II/grid/reference_cell.h>
@@ -30,8 +31,8 @@ test(const std::uint8_t kind, const std::string out = "")
           << "<" << dim << "," << spacedim << ">" << std::endl;
 
   Triangulation<dim, spacedim> 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");

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.