From 994319882b689353083ea8653b2cdbb30a7e4302 Mon Sep 17 00:00:00 2001 From: guido Date: Fri, 6 Oct 2000 10:21:13 +0000 Subject: [PATCH] improved version git-svn-id: https://svn.dealii.org/trunk@3384 0785d39b-7218-0410-832d-ea1e28bc413d --- tests/fe/show_transfer.cc | 56 ++++++++++++++++++++++----------------- 1 file changed, 31 insertions(+), 25 deletions(-) diff --git a/tests/fe/show_transfer.cc b/tests/fe/show_transfer.cc index 5d588a4058..5a160c4abc 100644 --- a/tests/fe/show_transfer.cc +++ b/tests/fe/show_transfer.cc @@ -26,6 +26,7 @@ #include #include #include +#include #include #include @@ -49,21 +50,26 @@ print_matrix(ostream& of, MGTransferPrebuilt transfer; transfer.build_matrices(dof); + DataOut<2> dout; + dout.attach_dof_handler(dof); + unsigned int n_coarse = dof.n_dofs(level-1); unsigned int n_fine = dof.n_dofs(level); - Vector in(n_fine); - Vector out(n_coarse); + Vector in(n_coarse); + vector > out(n_coarse, n_fine); + + ofstream file(name); - of << name << endl; - for (unsigned int i=0;i); - TEST(1,FEQ2<2>); - TEST(1,FEQ3<2>); - TEST(1,FEQ4<2>); - - TEST(1,FEDG_Q0<2>); - TEST(1,FEDG_Q1<2>); - TEST(1,FEDG_Q2<2>); - TEST(1,FEDG_Q3<2>); - TEST(1,FEDG_Q4<2>); - - TEST(2,FEQ1<2>); - TEST(2,FEQ2<2>); - TEST(2,FEQ3<2>); - TEST(2,FEQ4<2>); +// TEST(1,FEQ1<2>); +// TEST(1,FEQ2<2>); +// TEST(1,FEQ3<2>); +// TEST(1,FEQ4<2>); + +// TEST(1,FEDG_Q0<2>); +// TEST(1,FEDG_Q1<2>); +// TEST(1,FEDG_Q2<2>); +// TEST(1,FEDG_Q3<2>); +// TEST(1,FEDG_Q4<2>); + +// TEST(2,FEQ1<2>); +// TEST(2,FEQ2<2>); +// TEST(2,FEQ3<2>); +// TEST(2,FEQ4<2>); TEST(2,FEDG_Q0<2>); TEST(2,FEDG_Q1<2>); TEST(2,FEDG_Q2<2>); - TEST(2,FEDG_Q3<2>); - TEST(2,FEDG_Q4<2>); +// TEST(2,FEDG_Q3<2>); +// TEST(2,FEDG_Q4<2>); return 0; } -- 2.39.5