]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Adjust to new template parameters of SolutionTransfer.
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 3 Sep 2008 22:06:54 +0000 (22:06 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 3 Sep 2008 22:06:54 +0000 (22:06 +0000)
git-svn-id: https://svn.dealii.org/trunk@16740 0785d39b-7218-0410-832d-ea1e28bc413d

tests/aniso/solution_transfer.cc
tests/bits/solution_transfer.cc
tests/bits/step-15.cc
tests/fail/hp-step-15.cc

index 2f8b5a81f360fd61b47697af304c6ca7bd2619a9..659fa63e09849c8ac503b9a4c64372f470659718 100644 (file)
@@ -2,7 +2,7 @@
 //    fe_data_test.cc,v 1.14 2003/11/28 11:52:35 guido Exp
 //    Version: 
 //
-//    Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2005, 2006, 2007 by the deal.II authors
+//    Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2005, 2006, 2007, 2008 by the deal.II authors
 //
 //    This file is subject to QPL and may not be  distributed
 //    without copyright and license information. Please refer
@@ -71,7 +71,7 @@ void transfer(std::ostream &out)
   deallog << "Initial solution" << std::endl << std::endl;
   data_out.write_gnuplot (out);
 
-  SolutionTransfer<dim, double> soltrans(dof_handler);
+  SolutionTransfer<dim> soltrans(dof_handler);
 
                                   // test a): pure refinement
   typename Triangulation<dim>::active_cell_iterator cell=tria.begin_active(),
@@ -93,7 +93,7 @@ void transfer(std::ostream &out)
   data_out.write_gnuplot (out);
 
                                   // test b): with coarsening
-  SolutionTransfer<dim, double> soltrans2(dof_handler);
+  SolutionTransfer<dim> soltrans2(dof_handler);
   cell=tria.begin_active(tria.n_levels()-1);
   endc=tria.end(tria.n_levels()-1);
   for (; cell!=endc; ++cell)
index 0cbdf0933c53d5275d36033fc221038ee9b01662..ea21888b166b557225072d6f8945a0e35e51f4ff 100644 (file)
@@ -2,7 +2,7 @@
 //    fe_data_test.cc,v 1.14 2003/11/28 11:52:35 guido Exp
 //    Version: 
 //
-//    Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2005, 2006, 2007 by the deal.II authors
+//    Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2005, 2006, 2007, 2008 by the deal.II authors
 //
 //    This file is subject to QPL and may not be  distributed
 //    without copyright and license information. Please refer
@@ -94,8 +94,8 @@ void transfer(std::ostream &out)
   deallog << "Initial solution, FE_DGQ" << std::endl << std::endl;
   dgq_data_out.write_gnuplot (out);
 
-  SolutionTransfer<dim, double> q_soltrans(q_dof_handler);
-  SolutionTransfer<dim, double> dgq_soltrans(dgq_dof_handler);
+  SolutionTransfer<dim> q_soltrans(q_dof_handler);
+  SolutionTransfer<dim> dgq_soltrans(dgq_dof_handler);
 
                                   // test a): pure refinement
   typename Triangulation<dim>::active_cell_iterator cell=tria.begin_active(),
index 899a8d41bd7ca6f8011cc3316433d6d16658c941..b47f47c29b64b2f620d12d08d70622ca2049d7e5 100644 (file)
@@ -489,7 +489,7 @@ void MinimizationProblem<1>::refine_grid ()
                                                   0.3, 0.03);
   triangulation.prepare_coarsening_and_refinement();
 
-  SolutionTransfer<dim,double> solution_transfer(dof_handler);
+  SolutionTransfer<dim> solution_transfer(dof_handler);
   solution_transfer.prepare_for_coarsening_and_refinement (present_solution);
 
   triangulation.execute_coarsening_and_refinement ();
index 420b6d1f53e2dc5bfd59e5ee9c265d4eaf997835..5f8fb814d4d39998609d6489f2b04bef33f2c64f 100644 (file)
@@ -2,7 +2,7 @@
 //    $Id$
 //    Version: $Name$ 
 //
-//    Copyright (C) 2005, 2006, 2007 by the deal.II authors
+//    Copyright (C) 2005, 2006, 2007, 2008 by the deal.II authors
 //
 //    This file is subject to QPL and may not be  distributed
 //    without copyright and license information. Please refer
@@ -491,7 +491,7 @@ void MinimizationProblem<1>::refine_grid ()
                                                   0.3, 0.03);
   triangulation.prepare_coarsening_and_refinement();
 
-  SolutionTransfer<dim,double> solution_transfer(dof_handler);
+  SolutionTransfer<dim> solution_transfer(dof_handler);
   solution_transfer.prepare_for_coarsening_and_refinement (present_solution);
 
   triangulation.execute_coarsening_and_refinement ();

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.