From: wolf Date: Wed, 22 Oct 2003 19:19:01 +0000 (+0000) Subject: New test that presently fails. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=14366a6bed2cd5a4a91fe43dff7af296c79b214e;p=dealii-svn.git New test that presently fails. git-svn-id: https://svn.dealii.org/trunk@8126 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/tests/bits/Makefile b/tests/bits/Makefile index 43a0f89055..312ecc61c7 100644 --- a/tests/bits/Makefile +++ b/tests/bits/Makefile @@ -124,6 +124,7 @@ normals_2.exe : normals_2.g.$(OBJEXT) $(libraries) normals_3.exe : normals_3.g.$(OBJEXT) $(libraries) normals_4.exe : normals_4.g.$(OBJEXT) $(libraries) mapping_cartesian_1.exe : mapping_cartesian_1.g.$(OBJEXT) $(libraries) +mapping_q4_3d.exe : mapping_q4_3d.g.$(OBJEXT) $(libraries) q_points.exe : q_points.g.$(OBJEXT) $(libraries) q_point_sum_1.exe : q_point_sum_1.g.$(OBJEXT) $(libraries) q_point_sum_2.exe : q_point_sum_2.g.$(OBJEXT) $(libraries) @@ -170,6 +171,7 @@ tests = anna_1 anna_2 anna_3 anna_4 anna_5 anna_6 \ q_point_sum_1 q_point_sum_2 q_point_sum_3 q_point_sum_4 \ volume_1 volume_2 volume_3 volume_4 \ mapping_cartesian_1 \ + mapping_q4_3d \ q_points ############################################################ diff --git a/tests/bits/mapping_q4_3d.cc b/tests/bits/mapping_q4_3d.cc new file mode 100644 index 0000000000..2a0b39a856 --- /dev/null +++ b/tests/bits/mapping_q4_3d.cc @@ -0,0 +1,53 @@ +//---------------------------- mapping_q4_3d.cc --------------------------- +// $Id$ +// Version: $Name$ +// +// Copyright (C) 2003 by the deal.II authors +// +// This file is subject to QPL and may not be distributed +// without copyright and license information. Please refer +// to the file deal.II/doc/license.html for the text and +// further information on this license. +// +//---------------------------- mapping_q4_3d.cc --------------------------- + + +// this test used to fail somewhere in the 3d parts of MappingQ for +// fourth order mappings + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#include + + +int main () +{ + std::ofstream logfile("mapping_q4_3d.output"); + deallog.attach(logfile); + deallog.depth_console(0); + + Triangulation<3> coarse_grid; + GridGenerator::hyper_cube (coarse_grid, -1, 1); + coarse_grid.refine_global (1); + + FE_Q<3> fe(1); + DoFHandler<3> dof_handler (coarse_grid); + dof_handler.distribute_dofs (fe); + + MappingQ<3> mapping(4); + QGauss3<2> q_face; + FEFaceValues<3> fe_face_values (mapping, fe, q_face, + update_normal_vectors | update_JxW_values); + fe_face_values.reinit (dof_handler.begin_active(), 0); +} + +