From f04f758825e50877c66677a97d98ef4b9fea8e35 Mon Sep 17 00:00:00 2001 From: wolf Date: Mon, 29 May 2000 11:17:09 +0000 Subject: [PATCH] Minor adjustments. git-svn-id: https://svn.dealii.org/trunk@2966 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/deal.II/source/fe/fe_tools.cc | 29 +++++---------------------- 1 file changed, 5 insertions(+), 24 deletions(-) diff --git a/deal.II/deal.II/source/fe/fe_tools.cc b/deal.II/deal.II/source/fe/fe_tools.cc index f698b4f5e4..63ad0ced20 100644 --- a/deal.II/deal.II/source/fe/fe_tools.cc +++ b/deal.II/deal.II/source/fe/fe_tools.cc @@ -2,7 +2,7 @@ // $Id$ // Version: $Name$ // -// Copyright (C) 1998, 1999, 2000 by the deal.II authors +// Copyright (C) 2000 by the deal.II authors // // This file is subject to QPL and may not be distributed // without copyright and license information. Please refer @@ -67,30 +67,10 @@ void FETools::get_interpolation_matrix(const FiniteElement &fe1, interpolation_matrix(i,j)=0.; } } - -/* - vector > unit_support_points (fe2.dofs_per_cell); - fe2.get_unit_support_points (unit_support_points); - - for (unsigned int i=0; i void FETools::get_back_interpolation_matrix(const FiniteElement &fe1, const FiniteElement &fe2, @@ -173,7 +153,7 @@ void FETools::interpolate(const DoFHandler &dof1, vector index_multiplicity(dof2.n_dofs(),0); vector dofs (dofs_per_cell2); - u2=0; + u2.clear (); for (; cell1!=endc1, cell2!=endc2; ++cell1, ++cell2) { @@ -189,7 +169,7 @@ void FETools::interpolate(const DoFHandler &dof1, for (unsigned int i=0; i(index_multiplicity[i]); + u2(i) /= index_multiplicity[i]; } } @@ -262,6 +242,7 @@ void FETools::interpolation_difference(const DoFHandler &dof1, } + template void FETools::extrapolate(const DoFHandler &dof1, const Vector &u1, -- 2.39.5