From f5d72c2332941baf3fd254d41b2bde2f32649649 Mon Sep 17 00:00:00 2001 From: wolf Date: Mon, 20 Jun 2005 19:49:37 +0000 Subject: [PATCH] Test get_projection_matrix. git-svn-id: https://svn.dealii.org/trunk@10890 0785d39b-7218-0410-832d-ea1e28bc413d --- tests/bits/fe_tools_12.cc | 40 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 tests/bits/fe_tools_12.cc diff --git a/tests/bits/fe_tools_12.cc b/tests/bits/fe_tools_12.cc new file mode 100644 index 0000000000..c88c2dff7e --- /dev/null +++ b/tests/bits/fe_tools_12.cc @@ -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 +void +check_this (const FiniteElement &fe1, + const FiniteElement &fe2) +{ + if (fe1.n_components() != 1) + return; + if (fe1.n_components() != fe2.n_components()) + return; + + FullMatrix X (fe2.dofs_per_cell, fe1.dofs_per_cell); + FETools::get_projection_matrix (fe1, fe2, X); + + output_matrix (X); +} + -- 2.39.5