]> https://gitweb.dealii.org/ - dealii.git/commitdiff
TransfiniteInterpolationManifold: add a test 13744/head
authorMatthias Maier <tamiko@43-1.org>
Mon, 16 May 2022 17:51:49 +0000 (12:51 -0500)
committerMatthias Maier <tamiko@43-1.org>
Mon, 16 May 2022 19:13:10 +0000 (14:13 -0500)
tests/manifold/transfinite_manifold_12.cc [new file with mode: 0644]
tests/manifold/transfinite_manifold_12.debug.output [new file with mode: 0644]

diff --git a/tests/manifold/transfinite_manifold_12.cc b/tests/manifold/transfinite_manifold_12.cc
new file mode 100644 (file)
index 0000000..41f0c9b
--- /dev/null
@@ -0,0 +1,44 @@
+// ---------------------------------------------------------------------
+//
+// Copyright (C) 2019 - 2020 by the deal.II authors
+//
+// This file is part of the deal.II library.
+//
+// The deal.II library is free software; you can use it, redistribute
+// it, and/or modify it under the terms of the GNU Lesser General
+// Public License as published by the Free Software Foundation; either
+// version 2.1 of the License, or (at your option) any later version.
+// The full text of the license can be found in the file LICENSE.md at
+// the top level directory of deal.II.
+//
+// ---------------------------------------------------------------------
+
+
+// This test verifies that the transfinite interpolation can be initialized
+// in the codimension one case.
+
+#include <deal.II/grid/grid_generator.h>
+#include <deal.II/grid/manifold_lib.h>
+#include <deal.II/grid/tria.h>
+
+#include <memory>
+
+#include "../tests.h"
+
+int
+main()
+{
+  initlog();
+
+  using namespace dealii;
+
+  Triangulation<2, 3> tria;
+
+  GridGenerator::hyper_cube(tria, -1, 1);
+  TransfiniteInterpolationManifold<2, 3> transfinite;
+  transfinite.initialize(tria);
+
+  deallog << "OK" << std::endl;
+
+  return 0;
+}
diff --git a/tests/manifold/transfinite_manifold_12.debug.output b/tests/manifold/transfinite_manifold_12.debug.output
new file mode 100644 (file)
index 0000000..0fd8fc1
--- /dev/null
@@ -0,0 +1,2 @@
+
+DEAL::OK

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.