From: Wolfgang Bangerth Date: Tue, 8 Mar 2011 14:43:50 +0000 (+0000) Subject: Fix copy-n-pasto. X-Git-Tag: v8.0.0~4233 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9d88dfb6f9fc873df5acef3e89a3bc048f5db55c;p=dealii.git Fix copy-n-pasto. git-svn-id: https://svn.dealii.org/trunk@23469 0785d39b-7218-0410-832d-ea1e28bc413d --- 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);