From 1c7cb962a9c2d6441c23b403faaacffe117d20f5 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Micha=C5=82=20Wichrowski?= Date: Thu, 1 May 2025 19:43:09 +0200 Subject: [PATCH] inlcude laplace in tests --- tests/numerics/tensor_product_creator_01.cc | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/tests/numerics/tensor_product_creator_01.cc b/tests/numerics/tensor_product_creator_01.cc index a7eccb22fb..1a9ca29420 100644 --- a/tests/numerics/tensor_product_creator_01.cc +++ b/tests/numerics/tensor_product_creator_01.cc @@ -81,6 +81,20 @@ test() mass_matrix_patch.print_formatted(std::cout, 4, true, 10, "0."); std::cout << std::endl; + + + auto laplace_matrix = + TensorProductMatrixCreator::create_1d_cell_laplace_matrix(fe_q, + 1., + {true, true}); + laplace_matrix.print_formatted(std::cout, 4, true, 10, "0."); + std::cout << std::endl; + + auto laplace_matrix_renumbered = + TensorProductMatrixCreator::create_1d_cell_laplace_matrix( + fe_q, 1., {true, true}, fe_eval.get_internal_dof_numbering()); + laplace_matrix_renumbered.print_formatted(std::cout, 4, true, 10, "0."); + std::cout << std::endl; } -- 2.39.5