16 #include <deal.II/lac/read_write_vector.h> 17 #include <deal.II/lac/read_write_vector.templates.h> 19 DEAL_II_NAMESPACE_OPEN
21 #include "read_write_vector.inst" 30 #define TEMPL_COPY_CONSTRUCTOR(S1, S2) \ 31 template ReadWriteVector<S1> &ReadWriteVector<S1>::operator= \ 32 <S2>(const ReadWriteVector<S2> &) 34 TEMPL_COPY_CONSTRUCTOR(
double,
float);
35 TEMPL_COPY_CONSTRUCTOR(
float,
double);
36 #ifdef DEAL_II_WITH_COMPLEX_VALUES 37 TEMPL_COPY_CONSTRUCTOR(std::complex<double>, std::complex<float>);
38 TEMPL_COPY_CONSTRUCTOR(std::complex<float>, std::complex<double>);
41 #undef TEMPL_COPY_CONSTRUCTOR 45 const distributed::Vector<float, ::MemorySpace::Host> &,
47 const std::shared_ptr<const CommunicationPatternBase> &);
51 const distributed::Vector<double, ::MemorySpace::Host> &,
53 const std::shared_ptr<const CommunicationPatternBase> &);
54 #ifdef DEAL_II_WITH_COMPLEX_VALUES 56 ReadWriteVector<std::complex<float>>::import(
60 const std::shared_ptr<const CommunicationPatternBase> &);
63 ReadWriteVector<std::complex<double>>::import(
67 const std::shared_ptr<const CommunicationPatternBase> &);
71 DEAL_II_NAMESPACE_CLOSE
void import(const distributed::Vector< Number, MemorySpace > &vec, VectorOperation::values operation, const std::shared_ptr< const CommunicationPatternBase > &communication_pattern=std::shared_ptr< const CommunicationPatternBase >())
LinearAlgebra::distributed::Vector< Number > Vector