]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Test get_projection_matrix.
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 20 Jun 2005 19:49:37 +0000 (19:49 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 20 Jun 2005 19:49:37 +0000 (19:49 +0000)
git-svn-id: https://svn.dealii.org/trunk@10890 0785d39b-7218-0410-832d-ea1e28bc413d

tests/bits/fe_tools_12.cc [new file with mode: 0644]

diff --git a/tests/bits/fe_tools_12.cc b/tests/bits/fe_tools_12.cc
new file mode 100644 (file)
index 0000000..c88c2df
--- /dev/null
@@ -0,0 +1,40 @@
+//----------------------------  fe_tools_12.cc  ---------------------------
+//    $Id$
+//    Version: $Name$ 
+//
+//    Copyright (C) 2005 by the deal.II authors
+//
+//    This file is subject to QPL and may not be  distributed
+//    without copyright and license information. Please refer
+//    to the file deal.II/doc/license.html for the  text  and
+//    further information on this license.
+//
+//----------------------------  fe_tools_12.cc  ---------------------------
+
+#include "../tests.h"
+#include "fe_tools_common.cc"
+
+// check
+//   FETools::get_projection_matrix
+
+
+std::string output_file_name = "fe_tools_12.output";
+
+
+
+template <int dim>
+void
+check_this (const FiniteElement<dim> &fe1,
+            const FiniteElement<dim> &fe2)
+{
+  if (fe1.n_components() != 1)
+    return;
+  if (fe1.n_components() != fe2.n_components())
+    return;
+  
+  FullMatrix<double> X (fe2.dofs_per_cell, fe1.dofs_per_cell);
+  FETools::get_projection_matrix (fe1, fe2, X);
+
+  output_matrix (X);
+}
+

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.