From d49ace104774727d67730266bce31097676a177f Mon Sep 17 00:00:00 2001 From: bangerth Date: Tue, 8 Mar 2011 14:43:50 +0000 Subject: [PATCH] Fix copy-n-pasto. git-svn-id: https://svn.dealii.org/trunk@23469 0785d39b-7218-0410-832d-ea1e28bc413d --- tests/deal.II/no_flux_04.cc | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/tests/deal.II/no_flux_04.cc b/tests/deal.II/no_flux_04.cc index f6ed152f6d..a28fb55c79 100644 --- a/tests/deal.II/no_flux_04.cc +++ b/tests/deal.II/no_flux_04.cc @@ -1,8 +1,8 @@ //---------------------------------------------------------------------- // $Id$ -// Version: $Name$ +// Version: $Name$ // -// Copyright (C) 2007, 2008 by the deal.II authors +// Copyright (C) 2007, 2008, 2011 by the deal.II authors // // This file is subject to QPL and may not be distributed // without copyright and license information. Please refer @@ -16,7 +16,7 @@ // element that consists of only a single set of vector components // (i.e. it has dim components) // -// like no_flux_04 but apply the constraints to a vector field to see +// like no_flux_03 but apply the constraints to a vector field to see // whether the result looks alright #include "../tests.h" @@ -43,7 +43,7 @@ class RadialFunction : public Function { public: RadialFunction() : Function (dim) {} - + virtual void vector_value (const Point &p, Vector &v) const { @@ -80,7 +80,7 @@ void test (const Triangulation& tr, std::set boundary_ids; boundary_ids.insert (0); - + ConstraintMatrix cm; VectorTools::compute_no_normal_flux_constraints (dof, 0, boundary_ids, cm); cm.close (); @@ -97,14 +97,14 @@ void test (const Triangulation& tr, for (unsigned int i=0; i data_out; data_out.attach_dof_handler (dh); std::vector data_component_interpretation (dim, DataComponentInterpretation::component_is_part_of_vector); - + data_out.add_data_vector (v, "x", DataOut::type_dof_data, data_component_interpretation); @@ -123,7 +123,7 @@ void test_hyper_sphere() static const HyperBallBoundary boundary; tr.set_boundary (0, boundary); - + tr.refine_global(2); for (unsigned int degree=1; degree<6-dim; ++degree) @@ -138,7 +138,7 @@ int main() { std::ofstream logfile ("no_flux_04/output"); deallog << std::setprecision (2); - deallog << std::fixed; + deallog << std::fixed; deallog.attach(logfile); deallog.depth_console (0); deallog.threshold_double(1.e-12); -- 2.39.5