]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Update tests 6985/head
authorAlexander Grayver <agrayver@erdw.ethz.ch>
Fri, 27 Jul 2018 08:23:52 +0000 (10:23 +0200)
committerAlexander Grayver <agrayver@erdw.ethz.ch>
Fri, 27 Jul 2018 08:23:52 +0000 (10:23 +0200)
tests/fe/crash_01.cc
tests/fe/curl_curl_01.cc
tests/numerics/project_bv_curl_conf.cc
tests/numerics/project_bv_curl_conf_02.cc

index fb9aae88f52e15b7b6f739e8af6b96e968ee6232..fa9535caa260867c2180d608ce51bff57d1b0afe 100644 (file)
 // ---------------------------------------------------------------------
 
 
-// crash with fe nedelec reported on mailing list (01/14/2014)
-/*
-#0  0x00007fffeba50425 in __GI_raise (sig=<optimized out>) at
-../nptl/sysdeps/unix/sysv/linux/raise.c:64 #1  0x00007fffeba53b8b in __GI_abort
-() at abort.c:91 #2  0x00007ffff4f95895 in
-dealii::deal_II_exceptions::internals::abort (exc=..., nothrow=false) at
-/ssd/deal-trunk/deal.II/source/base/exceptions.cc:323 #3  0x00007ffff18ef959 in
-dealii::deal_II_exceptions::internals::issue_error<dealii::StandardExceptions::ExcIndexRange>
-( handling=dealii::deal_II_exceptions::internals::abort_on_exception,
-file=0x7ffff6035000 "/ssd/deal-trunk/deal.II/source/fe/fe.cc", line=557,
-    function=0x7ffff6039240 "unsigned int dealii::FiniteElement<dim,
-spacedim>::face_to_cell_index(unsigned int, unsigned int, bool, bool, bool)
-const [with int dim = 3, int spacedim = 3]", cond=0x7ffff6035db0 "face_index <
-this->dofs_per_face", exc_name=0x7ffff6035d78 "ExcIndexRange(face_index, 0,
-this->dofs_per_face)", e=...) at
-/ssd/deal-trunk/deal.II/include/deal.II/base/exceptions.h:272 #4
-0x00007ffff31708c1 in dealii::FiniteElement<3, 3>::face_to_cell_index
-(this=0xa16f70, face_index=4, face=0, face_orientation=true, face_flip=false,
-face_rotation=false) at /ssd/deal-trunk/deal.II/source/fe/fe.cc:556 #5
-0x00007ffff2d7fe1c in
-dealii::VectorTools::internals::compute_edge_projection<dealii::TriaActiveIterator<dealii::DoFCellAccessor<dealii::DoFHandler<3,
-3>, false> > > (cell=..., face=0, line=3, hp_fe_values=...,
-boundary_function=..., first_vector_component=0, dof_values=std::vector of
-length 8, capacity 8 = {...}, dofs_processed=std::vector<bool> of length 8,
-capacity 64 = {...}) at
-/ssd/deal-trunk/deal.II/include/deal.II/numerics/vector_tools.templates.h:2944
-#6  0x00007ffff2d77846 in
-dealii::VectorTools::project_boundary_values_curl_conforming<3>
-(dof_handler=..., first_vector_component=0, boundary_function=...,
-boundary_component=0 '\000', constraints=..., mapping=...) at
-/ssd/deal-trunk/deal.II/include/deal.II/numerics/vector_tools.templates.h:3543
-#7  0x000000000042b479 in test<3> (fe=...) at
-/ssd/deal-trunk/tests/fe/crash_01.cc:74 #8  0x0000000000429a4e in main () at
-/ssd/deal-trunk/tests/fe/crash_01.cc:91
-
-
-
-
-*/
-
+// Test project_boundary_values_curl_conforming_l2
 
 #include <deal.II/base/function.h>
 
@@ -84,7 +45,7 @@ test(FiniteElement<dim> &fe)
   dof_handler.distribute_dofs(fe);
   AffineConstraints<double>    constraints;
   Functions::ZeroFunction<dim> boundary_values(fe.n_components());
-  VectorTools::project_boundary_values_curl_conforming(
+  VectorTools::project_boundary_values_curl_conforming_l2(
     dof_handler, 0, boundary_values, 0, constraints);
 }
 
index a7d0dd173826aeab5dc2190c719859480ec6e60e..3b46e8cf844ae376992d0b07688fb8cd970a66a9 100644 (file)
@@ -309,7 +309,7 @@ MaxwellProblem<dim>::setup_system()
   constraints.clear();
   DoFTools::make_hanging_node_constraints(dof_handler, constraints);
   // FE_Nedelec boundary condition.
-  VectorTools::project_boundary_values_curl_conforming(
+  VectorTools::project_boundary_values_curl_conforming_l2(
     dof_handler, 0, ExactSolution<dim>(), 0, constraints);
 
   constraints.close();
index 8821a532ab9780fa80f1e9abace4d0d0dee0a92e..d39856290d4802205e9c4aafb79fa33453aab996 100644 (file)
@@ -69,7 +69,7 @@ test_boundary_values(const FiniteElement<dim> &fe)
   AffineConstraints<double> constraints;
 
   constraints.clear();
-  VectorTools::project_boundary_values_curl_conforming(
+  VectorTools::project_boundary_values_curl_conforming_l2(
     dof_handler, 0, boundary_function, 0, constraints);
   constraints.close();
   constraints.print(logfile);
index 846e088fee1fe72318e9bef8f4d304a695ed0ef4..8d68fe0f73086f48437e1b17e001a72b4c440041 100644 (file)
@@ -70,7 +70,7 @@ test_boundary_values(const FiniteElement<dim> & fe,
   dof_handler.distribute_dofs(fe);
   BoundaryFunction<dim> boundary_function;
   constraints.clear();
-  VectorTools::project_boundary_values_curl_conforming(
+  VectorTools::project_boundary_values_curl_conforming_l2(
     dof_handler, 0, boundary_function, 0, constraints);
   constraints.close();
 }

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.