From: Winnifried Wollner Date: Thu, 31 Oct 2019 18:22:20 +0000 (+0100) Subject: Indentation fixed X-Git-Tag: v9.2.0-rc1~930^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F8973%2Fhead;p=dealii.git Indentation fixed --- 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; }