From 6d6e4a0da7aa0b8b0971e8d7c0d5a85d759c3543 Mon Sep 17 00:00:00 2001 From: bangerth Date: Mon, 17 Mar 2008 05:01:08 +0000 Subject: [PATCH] Instantiate the set_dof_values and related functions also for PETSc's MPI distributed vectors. git-svn-id: https://svn.dealii.org/trunk@15898 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/deal.II/source/dofs/dof_accessor.cc | 40 ++++++++++++++++++++- 1 file changed, 39 insertions(+), 1 deletion(-) diff --git a/deal.II/deal.II/source/dofs/dof_accessor.cc b/deal.II/deal.II/source/dofs/dof_accessor.cc index 1ab78a7c11..400ee6b74d 100644 --- a/deal.II/deal.II/source/dofs/dof_accessor.cc +++ b/deal.II/deal.II/source/dofs/dof_accessor.cc @@ -2,7 +2,7 @@ // $Id$ // Version: $Name$ // -// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007 by the deal.II authors +// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 by the deal.II authors // // This file is subject to QPL and may not be distributed // without copyright and license information. Please refer @@ -609,6 +609,15 @@ void DoFCellAccessor >::set_dof_values (const Vector&, PETScWrappers::Vector&) const; +template +void +DoFCellAccessor >::set_dof_values +(const Vector &, PETScWrappers::MPI::Vector&) const; +template +void +DoFCellAccessor >::set_dof_values +(const Vector&, PETScWrappers::MPI::Vector&) const; + template void DoFCellAccessor >::get_dof_values @@ -625,6 +634,15 @@ template void DoFCellAccessor >::set_dof_values (const Vector&, PETScWrappers::BlockVector&) const; + +template +void +DoFCellAccessor >::set_dof_values +(const Vector &, PETScWrappers::MPI::BlockVector&) const; +template +void +DoFCellAccessor >::set_dof_values +(const Vector&, PETScWrappers::MPI::BlockVector&) const; #endif @@ -732,6 +750,11 @@ void DoFCellAccessor >:: set_dof_values_by_interpolation (const Vector&, PETScWrappers::Vector&) const; +template +void +DoFCellAccessor >:: +set_dof_values_by_interpolation +(const Vector&, PETScWrappers::MPI::Vector&) const; template void @@ -743,6 +766,11 @@ void DoFCellAccessor >:: set_dof_values_by_interpolation (const Vector&, PETScWrappers::Vector&) const; +template +void +DoFCellAccessor >:: +set_dof_values_by_interpolation +(const Vector&, PETScWrappers::MPI::Vector&) const; template @@ -755,6 +783,11 @@ void DoFCellAccessor >:: set_dof_values_by_interpolation (const Vector&, PETScWrappers::BlockVector&) const; +template +void +DoFCellAccessor >:: +set_dof_values_by_interpolation +(const Vector&, PETScWrappers::MPI::BlockVector&) const; template void @@ -766,6 +799,11 @@ void DoFCellAccessor >:: set_dof_values_by_interpolation (const Vector&, PETScWrappers::BlockVector&) const; +template +void +DoFCellAccessor >:: +set_dof_values_by_interpolation +(const Vector&, PETScWrappers::MPI::BlockVector&) const; #endif -- 2.39.5