]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Add a test. 17842/head
authorWolfgang Bangerth <bangerth@colostate.edu>
Tue, 5 Nov 2024 00:03:00 +0000 (17:03 -0700)
committerWolfgang Bangerth <bangerth@colostate.edu>
Tue, 5 Nov 2024 00:03:00 +0000 (17:03 -0700)
tests/simplex/fe_system_01.cc [new file with mode: 0644]
tests/simplex/fe_system_01.output [new file with mode: 0644]

diff --git a/tests/simplex/fe_system_01.cc b/tests/simplex/fe_system_01.cc
new file mode 100644 (file)
index 0000000..3a05229
--- /dev/null
@@ -0,0 +1,35 @@
+// ------------------------------------------------------------------------
+//
+// SPDX-License-Identifier: LGPL-2.1-or-later
+// Copyright (C) 2024 by the deal.II authors
+//
+// This file is part of the deal.II library.
+//
+// Part of the source code is dual licensed under Apache-2.0 WITH
+// LLVM-exception OR LGPL-2.1-or-later. Detailed license information
+// governing the source code and code contributions can be found in
+// LICENSE.md and CONTRIBUTING.md at the top level directory of deal.II.
+//
+// ------------------------------------------------------------------------
+
+
+// Putting a cubic FE_SimplexP into an FESystem triggered an error
+// because we didn't yet know how to deal with hanging node
+// constraints on simplices in FESystem.
+
+#include <deal.II/fe/fe_simplex_p.h>
+#include <deal.II/fe/fe_system.h>
+
+#include "../tests.h"
+
+
+
+int
+main()
+{
+  initlog();
+
+  FESystem<2> fe_system_2(FE_SimplexP<2>(3), 1);
+
+  deallog << "Success!" << std::endl;
+}
diff --git a/tests/simplex/fe_system_01.output b/tests/simplex/fe_system_01.output
new file mode 100644 (file)
index 0000000..6b9d7e4
--- /dev/null
@@ -0,0 +1,2 @@
+
+DEAL::Success!

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.