|
Reference documentation for deal.II version 9.2.0
|
\(\newcommand{\dealvcentcolon}{\mathrel{\mathop{:}}}\)
\(\newcommand{\dealcoloneq}{\dealvcentcolon\mathrel{\mkern-1.2mu}=}\)
\(\newcommand{\jump}[1]{\left[\!\left[ #1 \right]\!\right]}\)
\(\newcommand{\average}[1]{\left\{\!\left\{ #1 \right\}\!\right\}}\)
Go to the documentation of this file.
16 #ifndef dealii_petsc_vector_h
17 # define dealii_petsc_vector_h
22 # ifdef DEAL_II_WITH_PETSC
202 template <
typename Number>
204 const ::Vector<Number> &v,
302 template <
typename number>
326 const bool omit_zeroing_entries =
false);
338 reinit(
const Vector &v,
const bool omit_zeroing_entries =
false);
381 print(std::ostream & out,
382 const unsigned int precision = 3,
383 const bool scientific =
true,
384 const bool across =
true)
const;
446 template <
typename number>
448 const ::Vector<number> &v,
450 : communicator(communicator)
469 template <
typename number>
512 Vector::get_mpi_communicator()
const
523 namespace LinearOperatorImplementation
536 template <
typename Matrix>
543 matrix.get_mpi_communicator());
546 template <
typename Matrix>
553 matrix.get_mpi_communicator());
575 # endif // DEAL_II_WITH_PETSC
size_type local_size() const
virtual void create_vector(const size_type n, const size_type local_size)
types::global_dof_index size_type
void reinit(const MPI_Comm &communicator, const size_type N, const size_type local_size, const bool omit_zeroing_entries=false)
void swap(BlockVector &u, BlockVector &v)
void print(std::ostream &out, const unsigned int precision=3, const bool scientific=true, const bool across=true) const
VectorBase & operator=(const VectorBase &)=delete
unsigned int global_dof_index
#define DEAL_II_NAMESPACE_OPEN
@ matrix
Contents is actually a matrix.
#define DEAL_II_DEPRECATED
Vector & operator=(const Vector &v)
virtual void clear() override
types::global_dof_index size_type
Vector< Number > & operator=(const Number s)
#define Assert(cond, exc)
const MPI_Comm & get_mpi_communicator() const override
static void reinit_range_vector(const Matrix &matrix, PETScWrappers::MPI::Vector &v, bool)
static ::ExceptionBase & ExcDimensionMismatch(std::size_t arg1, std::size_t arg2)
#define DEAL_II_NAMESPACE_CLOSE
std::string compress(const std::string &input)
static void reinit_domain_vector(const Matrix &matrix, PETScWrappers::MPI::Vector &v, bool)
void swap(Vector &u, Vector &v)