From 53966d9c4a289bd360048b00f2139b60e17832d7 Mon Sep 17 00:00:00 2001 From: Winnifried Wollner Date: Thu, 31 Oct 2019 19:22:20 +0100 Subject: [PATCH] Indentation fixed --- tests/numerics/project_bv_curl_conf_03.cc | 54 +++++++++++++++-------- 1 file changed, 35 insertions(+), 19 deletions(-) mode change 100755 => 100644 tests/numerics/project_bv_curl_conf_03.cc diff --git a/tests/numerics/project_bv_curl_conf_03.cc b/tests/numerics/project_bv_curl_conf_03.cc old mode 100755 new mode 100644 index 9f7b496801..ac460072c8 --- a/tests/numerics/project_bv_curl_conf_03.cc +++ b/tests/numerics/project_bv_curl_conf_03.cc @@ -15,56 +15,72 @@ // The test checks that project_boundary_values_curl_conforming // works for FESystems with FE_Nedelec of different order. -#include -#include -#include +#include + #include +#include +#include #include + +#include + #include -#include + #include #include "../tests.h" using namespace dealii; -int main(int argc, char **argv) { +int +main(int argc, char **argv) +{ initlog(); - const unsigned int dim=3; + const unsigned int dim = 3; Triangulation triangulation; GridGenerator::hyper_cube(triangulation, 0, 1, true); - MappingQ mapping(1); + MappingQ mapping(1); ConstraintMatrix constraints; - //Testing cases with only Nedelec Elements in FE_System + // Testing cases with only Nedelec Elements in FE_System { deallog << "Equal order Nedelec degree 0 \t"; - //Equal-order elements - FESystem fe_system(FE_Nedelec(0), 1, FE_Nedelec(0), 1); + // Equal-order elements + FESystem fe_system(FE_Nedelec(0), 1, FE_Nedelec(0), 1); DoFHandler dof_handler(triangulation); dof_handler.distribute_dofs(fe_system); - + constraints.clear(); - VectorTools::project_boundary_values_curl_conforming_l2(dof_handler, dim, - Functions::ZeroFunction(dim + dim), 0, constraints, mapping); + VectorTools::project_boundary_values_curl_conforming_l2( + dof_handler, + dim, + Functions::ZeroFunction(dim + dim), + 0, + constraints, + mapping); constraints.close(); deallog << "OK" << std::endl; } { deallog << "Mixed order Nedelec (degree 1,degree 0) \t"; - //Elements of mixed order - FESystem fe_system(FE_Nedelec(1), 1, FE_Nedelec(0), 1); + // Elements of mixed order + FESystem fe_system(FE_Nedelec(1), 1, FE_Nedelec(0), 1); DoFHandler dof_handler(triangulation); dof_handler.distribute_dofs(fe_system); - + constraints.clear(); - VectorTools::project_boundary_values_curl_conforming_l2(dof_handler, dim, - Functions::ZeroFunction(dim + dim), 0, constraints, mapping); + VectorTools::project_boundary_values_curl_conforming_l2( + dof_handler, + dim, + Functions::ZeroFunction(dim + dim), + 0, + constraints, + mapping); constraints.close(); deallog << "OK" << std::endl; } - + return 0; } -- 2.39.5