From: bangerth Date: Thu, 9 Jan 2014 22:41:53 +0000 (+0000) Subject: Fix comments left-over from the testcase from which these were generated. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=822a1a4df015a1d7b3627582cc60dd191417776a;p=dealii-svn.git Fix comments left-over from the testcase from which these were generated. git-svn-id: https://svn.dealii.org/trunk@32188 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/tests/hp/do_function_derivatives_01.cc b/tests/hp/do_function_derivatives_01.cc index 2e52bd2833..a7c33fee4b 100644 --- a/tests/hp/do_function_derivatives_01.cc +++ b/tests/hp/do_function_derivatives_01.cc @@ -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 @@ -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 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 > > derivatives (q[0].size(), std::vector >(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; } diff --git a/tests/hp/do_function_hessians_01.cc b/tests/hp/do_function_hessians_01.cc index 7a17fe0def..10a9d35ddc 100644 --- a/tests/hp/do_function_hessians_01.cc +++ b/tests/hp/do_function_hessians_01.cc @@ -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 @@ -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 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 > > derivatives (q[0].size(), std::vector >(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; } diff --git a/tests/hp/do_function_laplacians_01.cc b/tests/hp/do_function_laplacians_01.cc index ed9a931c41..f1a8659f8f 100644 --- a/tests/hp/do_function_laplacians_01.cc +++ b/tests/hp/do_function_laplacians_01.cc @@ -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 @@ -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 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 > derivatives (q[0].size(), Vector(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; }