From: Matthias Maier Date: Mon, 16 May 2022 17:51:49 +0000 (-0500) Subject: TransfiniteInterpolationManifold: add a test X-Git-Tag: v9.4.0-rc1~208^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F13744%2Fhead;p=dealii.git TransfiniteInterpolationManifold: add a test --- diff --git a/tests/manifold/transfinite_manifold_12.cc b/tests/manifold/transfinite_manifold_12.cc new file mode 100644 index 0000000000..41f0c9b8bb --- /dev/null +++ b/tests/manifold/transfinite_manifold_12.cc @@ -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 +#include +#include + +#include + +#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 index 0000000000..0fd8fc12f0 --- /dev/null +++ b/tests/manifold/transfinite_manifold_12.debug.output @@ -0,0 +1,2 @@ + +DEAL::OK