From e5b40d8d4baa9e07617ea0602f8e44f485b0020a Mon Sep 17 00:00:00 2001 From: bangerth Date: Mon, 8 Sep 2008 15:29:43 +0000 Subject: [PATCH] Adjust to removed function in SolutionTransfer. git-svn-id: https://svn.dealii.org/trunk@16766 0785d39b-7218-0410-832d-ea1e28bc413d --- tests/aniso/solution_transfer.cc | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/tests/aniso/solution_transfer.cc b/tests/aniso/solution_transfer.cc index 659fa63e09..a39718976b 100644 --- a/tests/aniso/solution_transfer.cc +++ b/tests/aniso/solution_transfer.cc @@ -83,8 +83,11 @@ void transfer(std::ostream &out) soltrans.prepare_for_pure_refinement(); tria.execute_coarsening_and_refinement(); dof_handler.distribute_dofs (fe); - - soltrans.refine_interpolate(solution); + + Vector new_solution (dof_handler.n_dofs()); + soltrans.refine_interpolate(solution, new_solution); + solution.reinit (dof_handler.n_dofs()); + solution = new_solution; data_out.clear_data_vectors(); data_out.add_data_vector (solution, "solution"); -- 2.39.5