From c2b3165aea6f97de9e87e10bd7581cf98efd3db9 Mon Sep 17 00:00:00 2001 From: richter Date: Tue, 25 Jan 2000 18:35:38 +0000 Subject: [PATCH] changed names of some parameters git-svn-id: https://svn.dealii.org/trunk@2260 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/deal.II/source/numerics/vectors.cc | 34 +++++++++++----------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/deal.II/deal.II/source/numerics/vectors.cc b/deal.II/deal.II/source/numerics/vectors.cc index 90caa4f8ee..ee06fe990a 100644 --- a/deal.II/deal.II/source/numerics/vectors.cc +++ b/deal.II/deal.II/source/numerics/vectors.cc @@ -276,33 +276,33 @@ void VectorTools::interpolate (const DoFHandler &dof, template void -VectorTools::interpolate (const DoFHandler &high_dof, - const DoFHandler &low_dof, +VectorTools::interpolate (const DoFHandler &dof_1, + const DoFHandler &dof_2, const FullMatrix &transfer, - const Vector &high, - Vector &low) + const Vector &data_1, + Vector &data_2) { - Vector cell_high(high_dof.get_fe().dofs_per_cell); - Vector cell_low(low_dof.get_fe().dofs_per_cell); + Vector cell_data_1(dof_1.get_fe().dofs_per_cell); + Vector cell_data_2(dof_2.get_fe().dofs_per_cell); - vector touch_count (low_dof.n_dofs(), 0); - vector local_dof_indices (low_dof.get_fe().dofs_per_cell); + vector touch_count (dof_2.n_dofs(), 0); + vector local_dof_indices (dof_2.get_fe().dofs_per_cell); - DoFHandler::active_cell_iterator h = high_dof.begin_active(); - DoFHandler::active_cell_iterator l = low_dof.begin_active(); - const DoFHandler::cell_iterator endh = high_dof.end(); + DoFHandler::active_cell_iterator h = dof_1.begin_active(); + DoFHandler::active_cell_iterator l = dof_2.begin_active(); + const DoFHandler::cell_iterator endh = dof_1.end(); for(; h != endh; ++h, ++l) { - h->get_dof_values(high, cell_high); - transfer.vmult(cell_low, cell_high); + h->get_dof_values(data_1, cell_data_1); + transfer.vmult(cell_data_2, cell_data_1); l->get_dof_indices (local_dof_indices); // distribute cell vector - for (unsigned int j=0; j &high_dof, // compute the mean value of the // sum which we have placed in each // entry of the output vector - for (unsigned int i=0; i