]> https://gitweb.dealii.org/ - dealii.git/commitdiff
inlcude laplace in tests
authorMichał Wichrowski <mtwichrowski@gmail.com>
Thu, 1 May 2025 17:43:09 +0000 (19:43 +0200)
committerMichał Wichrowski <mtwichrowski@gmail.com>
Thu, 1 May 2025 17:43:09 +0000 (19:43 +0200)
tests/numerics/tensor_product_creator_01.cc

index a7eccb22fb7ceebfd21c77a955f160de558e8818..1a9ca2942028e276197f3eb168a6387ac668dce3 100644 (file)
@@ -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;
 }
 
 

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.