]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Fix comments left-over from the testcase from which these were generated.
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 9 Jan 2014 22:41:53 +0000 (22:41 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 9 Jan 2014 22:41:53 +0000 (22:41 +0000)
git-svn-id: https://svn.dealii.org/trunk@32188 0785d39b-7218-0410-832d-ea1e28bc413d

tests/hp/do_function_derivatives_01.cc
tests/hp/do_function_hessians_01.cc
tests/hp/do_function_laplacians_01.cc

index 2e52bd2833249dd8a86bb3ffcaf45abddab0e268..a7c33fee4b61b4e6b18bf362256e411b1754a81d 100644 (file)
@@ -16,8 +16,7 @@
 
 
 
-// testcase by Minh Do-Quang: a case where SolutionTransfer got into trouble
-// in a couple of places when using FE_Nothing and FESystem.
+// FEValues::get_function_* had a problem when using FE_Nothing
 
 #include "../tests.h"
 #include <fstream>
@@ -68,7 +67,7 @@ int main()
 
   // Assign FE to cells
   hp::DoFHandler<2>::active_cell_iterator cell;
-  hp::DoFHandler<2>::active_cell_iterator endc = dof_handler.end();      
+  hp::DoFHandler<2>::active_cell_iterator endc = dof_handler.end();
 
 
   cell = dof_handler.begin_active();
@@ -93,7 +92,7 @@ int main()
 
   triangulation.execute_coarsening_and_refinement ();
   dof_handler.distribute_dofs (fe_collection);
-  
+
   Vector<double> new_solution(dof_handler.n_dofs());
   solultion_trans.interpolate(solution, new_solution);
 
@@ -107,11 +106,11 @@ int main()
       x_fe_values.reinit (cell);
       std::vector<std::vector<Tensor<1,2> > >
        derivatives (q[0].size(), std::vector<Tensor<1,2> >(cell->get_fe().n_components()));
-      
+
       x_fe_values.get_present_fe_values().get_function_gradients (new_solution,
                                                                  derivatives);
     }
-  
+
   // we are good if we made it to here
   deallog << "OK" << std::endl;
 }
index 7a17fe0def39c19f3a1bbf24e5264d013e65fadd..10a9d35ddcb56a10656fb8064f6a612a5a091d9a 100644 (file)
@@ -16,8 +16,7 @@
 
 
 
-// testcase by Minh Do-Quang: a case where SolutionTransfer got into trouble
-// in a couple of places when using FE_Nothing and FESystem.
+// FEValues::get_function_* had a problem when using FE_Nothing
 
 #include "../tests.h"
 #include <fstream>
@@ -68,7 +67,7 @@ int main()
 
   // Assign FE to cells
   hp::DoFHandler<2>::active_cell_iterator cell;
-  hp::DoFHandler<2>::active_cell_iterator endc = dof_handler.end();      
+  hp::DoFHandler<2>::active_cell_iterator endc = dof_handler.end();
 
 
   cell = dof_handler.begin_active();
@@ -93,7 +92,7 @@ int main()
 
   triangulation.execute_coarsening_and_refinement ();
   dof_handler.distribute_dofs (fe_collection);
-  
+
   Vector<double> new_solution(dof_handler.n_dofs());
   solultion_trans.interpolate(solution, new_solution);
 
@@ -107,11 +106,11 @@ int main()
       x_fe_values.reinit (cell);
       std::vector<std::vector<Tensor<2,2> > >
        derivatives (q[0].size(), std::vector<Tensor<2,2> >(cell->get_fe().n_components()));
-      
+
       x_fe_values.get_present_fe_values().get_function_hessians (new_solution,
                                                                 derivatives);
     }
-  
+
   // we are good if we made it to here
   deallog << "OK" << std::endl;
 }
index ed9a931c41de0c64356fd21697e3116171bdc852..f1a8659f8f0091015f09d7d4c679f1d101234110 100644 (file)
@@ -16,8 +16,7 @@
 
 
 
-// testcase by Minh Do-Quang: a case where SolutionTransfer got into trouble
-// in a couple of places when using FE_Nothing and FESystem.
+// FEValues::get_function_* had a problem when using FE_Nothing
 
 #include "../tests.h"
 #include <fstream>
@@ -68,7 +67,7 @@ int main()
 
   // Assign FE to cells
   hp::DoFHandler<2>::active_cell_iterator cell;
-  hp::DoFHandler<2>::active_cell_iterator endc = dof_handler.end();      
+  hp::DoFHandler<2>::active_cell_iterator endc = dof_handler.end();
 
 
   cell = dof_handler.begin_active();
@@ -93,7 +92,7 @@ int main()
 
   triangulation.execute_coarsening_and_refinement ();
   dof_handler.distribute_dofs (fe_collection);
-  
+
   Vector<double> new_solution(dof_handler.n_dofs());
   solultion_trans.interpolate(solution, new_solution);
 
@@ -107,11 +106,11 @@ int main()
       x_fe_values.reinit (cell);
       std::vector<Vector<double> >
        derivatives (q[0].size(), Vector<double>(cell->get_fe().n_components()));
-      
+
       x_fe_values.get_present_fe_values().get_function_laplacians (new_solution,
                                                                   derivatives);
     }
-  
+
   // we are good if we made it to here
   deallog << "OK" << std::endl;
 }

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.