|
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_trilinos_epetra_vector_h
17 #define dealii_trilinos_epetra_vector_h
22 #if defined(DEAL_II_WITH_TRILINOS) && defined(DEAL_II_WITH_MPI)
32 # include <Epetra_FEVector.h>
42 template <
typename Number>
43 class ReadWriteVector;
52 namespace EpetraWrappers
97 const bool omit_zeroing_entries =
false);
105 const bool omit_zeroing_entries =
false)
override;
134 std::shared_ptr<const CommunicationPatternBase> communication_pattern =
135 std::shared_ptr<const CommunicationPatternBase>())
override;
172 add(
const double a)
override;
286 size()
const override;
312 const Epetra_FEVector &
326 print(std::ostream & out,
327 const unsigned int precision = 3,
328 const bool scientific =
true,
329 const bool across =
true)
const override;
357 <<
"An error with error number " << arg1
358 <<
" occurred while calling a Trilinos function");
const Epetra_FEVector & trilinos_vector() const
MPI_Comm get_mpi_communicator() const
static ::ExceptionBase & ExcDifferentParallelPartitioning()
std::unique_ptr< Epetra_FEVector > vector
virtual double add_and_dot(const double a, const VectorSpaceVector< double > &V, const VectorSpaceVector< double > &W) override
virtual double l1_norm() const override
virtual Vector & operator*=(const double factor) override
static ::ExceptionBase & ExcTrilinosError(int arg1)
virtual double l2_norm() const override
virtual Vector & operator/=(const double factor) override
#define DEAL_II_NAMESPACE_OPEN
virtual Vector & operator-=(const VectorSpaceVector< double > &V) override
SymmetricTensor< 2, dim, Number > b(const Tensor< 2, dim, Number > &F)
bool has_ghost_elements() const
virtual std::size_t memory_consumption() const override
virtual void equ(const double a, const VectorSpaceVector< double > &V) override
#define DeclException1(Exception1, type1, outsequence)
virtual void print(std::ostream &out, const unsigned int precision=3, const bool scientific=true, const bool across=true) const override
virtual double mean_value() const override
virtual double operator*(const VectorSpaceVector< double > &V) const override
virtual void add(const double a) override
#define DeclException0(Exception0)
void create_epetra_comm_pattern(const IndexSet &source_index_set, const MPI_Comm &mpi_comm)
static ::ExceptionBase & ExcVectorTypeNotCompatible()
virtual double linfty_norm() const override
virtual Vector & operator+=(const VectorSpaceVector< double > &V) override
::IndexSet source_stored_elements
Vector & operator=(const Vector &V)
virtual bool all_zero() const override
void reinit(const IndexSet ¶llel_partitioner, const MPI_Comm &communicator, const bool omit_zeroing_entries=false)
#define DEAL_II_NAMESPACE_CLOSE
std::shared_ptr< const CommunicationPattern > epetra_comm_pattern
virtual void sadd(const double s, const double a, const VectorSpaceVector< double > &V) override
virtual ::IndexSet locally_owned_elements() const override
virtual size_type size() const override
virtual void scale(const VectorSpaceVector< double > &scaling_factors) override