import_elements(const Vector<Number, MemorySpace2> &src,
VectorOperation::values operation);
+ /**
+ * @deprecated Use import_elements() instead.
+ */
+ template <typename MemorySpace2>
+ DEAL_II_DEPRECATED_EARLY void
+ import(const Vector<Number, MemorySpace2> &src,
+ VectorOperation::values operation)
+ {
+ import_elements(src, operation);
+ }
+
/** @} */
/**
std::shared_ptr<const Utilities::MPI::CommunicationPatternBase>
communication_pattern = {}) override;
+ /**
+ * @deprecated Use import_elements() instead.
+ */
+ DEAL_II_DEPRECATED_EARLY virtual void
+ import(const LinearAlgebra::ReadWriteVector<Number> &V,
+ VectorOperation::values operation,
+ std::shared_ptr<const Utilities::MPI::CommunicationPatternBase>
+ communication_pattern = {}) override
+ {
+ import_elements(V, operation, communication_pattern);
+ }
+
/**
* Return the scalar product of two vectors.
*/
const std::shared_ptr<const Utilities::MPI::CommunicationPatternBase>
&communication_pattern = {});
+ /**
+ * @deprecated Use import_elements() instead.
+ */
+ DEAL_II_DEPRECATED_EARLY
+ void
+ import(const dealii::Vector<Number> &V,
+ VectorOperation::values operation,
+ const std::shared_ptr<const Utilities::MPI::CommunicationPatternBase>
+ &communication_pattern = {})
+ {
+ import_elements(V, operation, communication_pattern);
+ }
+
/**
* Imports all the elements present in the vector's IndexSet from the
* input vector @p vec. VectorOperation::values @p operation
const std::shared_ptr<const Utilities::MPI::CommunicationPatternBase>
&communication_pattern = {});
+ /**
+ * @deprecated Use import_elements() instead.
+ */
+ DEAL_II_DEPRECATED_EARLY
+ void
+ import(const LinearAlgebra::Vector<Number> &V,
+ VectorOperation::values operation,
+ const std::shared_ptr<const Utilities::MPI::CommunicationPatternBase>
+ &communication_pattern = {})
+ {
+ import_elements(V, operation, communication_pattern);
+ }
+
/**
* Imports all the elements present in the vector's IndexSet from the
* input vector @p vec. VectorOperation::values @p operation
const std::shared_ptr<const Utilities::MPI::CommunicationPatternBase>
&communication_pattern = {});
+ /**
+ * @deprecated Use import_elements() instead.
+ */
+ template <typename MemorySpace>
+ DEAL_II_DEPRECATED_EARLY void
+ import(const distributed::Vector<Number, MemorySpace> &V,
+ VectorOperation::values operation,
+ const std::shared_ptr<const Utilities::MPI::CommunicationPatternBase>
+ &communication_pattern = {})
+ {
+ import_elements(V, operation, communication_pattern);
+ }
+
+
#ifdef DEAL_II_WITH_PETSC
/**
* Imports all the elements present in the vector's IndexSet from the input
VectorOperation::values operation,
const std::shared_ptr<const Utilities::MPI::CommunicationPatternBase>
&communication_pattern = {});
+
+ /**
+ * @deprecated Use import_elements() instead.
+ */
+ DEAL_II_DEPRECATED_EARLY
+ void
+ import(const PETScWrappers::MPI::Vector &V,
+ VectorOperation::values operation,
+ const std::shared_ptr<const Utilities::MPI::CommunicationPatternBase>
+ &communication_pattern = {})
+ {
+ import_elements(V, operation, communication_pattern);
+ }
#endif
#ifdef DEAL_II_WITH_TRILINOS
const std::shared_ptr<const Utilities::MPI::CommunicationPatternBase>
&communication_pattern = {});
+ /**
+ * @deprecated Use import_elements() instead.
+ */
+ DEAL_II_DEPRECATED_EARLY
+ void
+ import(const TrilinosWrappers::MPI::Vector &V,
+ VectorOperation::values operation,
+ const std::shared_ptr<const Utilities::MPI::CommunicationPatternBase>
+ &communication_pattern = {})
+ {
+ import_elements(V, operation, communication_pattern);
+ }
+
# ifdef DEAL_II_TRILINOS_WITH_TPETRA
/**
* Imports all the elements present in the vector's IndexSet from the input
VectorOperation::values operation,
const std::shared_ptr<const Utilities::MPI::CommunicationPatternBase>
&communication_pattern = {});
+
+ /**
+ * @deprecated Use import_elements() instead.
+ */
+ template <typename Dummy = Number>
+ DEAL_II_DEPRECATED_EARLY
+ std::enable_if_t<std::is_same<Dummy, Number>::value &&
+ dealii::is_tpetra_type<Number>::value>
+ import(
+ const TpetraWrappers::Vector<Number> &V,
+ VectorOperation::values operation,
+ const std::shared_ptr<const Utilities::MPI::CommunicationPatternBase>
+ &communication_pattern = {})
+ {
+ import_elements(V, operation, communication_pattern);
+ }
# endif
/**
VectorOperation::values operation,
const std::shared_ptr<const Utilities::MPI::CommunicationPatternBase>
&communication_pattern = {});
+
+ /**
+ * @deprecated Use import_elements() instead.
+ */
+ DEAL_II_DEPRECATED_EARLY
+ void
+ import(const EpetraWrappers::Vector &V,
+ VectorOperation::values operation,
+ const std::shared_ptr<const Utilities::MPI::CommunicationPatternBase>
+ &communication_pattern = {})
+ {
+ import_elements(V, operation, communication_pattern);
+ }
#endif
#ifdef DEAL_II_WITH_CUDA
VectorOperation::values operation,
const std::shared_ptr<const Utilities::MPI::CommunicationPatternBase>
&communication_pattern = {});
+
+
+ /**
+ * @deprecated Use import_elements() instead.
+ */
+ DEAL_II_DEPRECATED_EARLY
+ void
+ import(const CUDAWrappers::Vector<Number> &V,
+ VectorOperation::values operation,
+ const std::shared_ptr<const Utilities::MPI::CommunicationPatternBase>
+ &communication_pattern = {})
+ {
+ import_elements(V, operation, communication_pattern);
+ }
#endif
/**