16#ifndef dealii_vector_space_vector_h
17#define dealii_vector_space_vector_h
36 template <
typename Number>
37 class ReadWriteVector;
55 template <
typename Number>
69 const bool omit_zeroing_entries =
false) = 0;
114 std::shared_ptr<const Utilities::MPI::CommunicationPatternBase>
115 communication_pattern = {}) = 0;
120 DEAL_II_DEPRECATED_EARLY
124 std::shared_ptr<const Utilities::MPI::CommunicationPatternBase>
125 communication_pattern = {}) = 0;
267 const unsigned int precision = 3,
268 const bool scientific =
true,
269 const bool across =
true)
const = 0;
294 template <
typename Number>
virtual VectorSpaceVector< Number > & operator+=(const VectorSpaceVector< Number > &V)=0
virtual void print(std::ostream &out, const unsigned int precision=3, const bool scientific=true, const bool across=true) const =0
virtual VectorSpaceVector< Number > & operator*=(const Number factor)=0
virtual void scale(const VectorSpaceVector< Number > &scaling_factors)=0
virtual ~VectorSpaceVector()=default
virtual real_type l2_norm() const =0
virtual void equ(const Number a, const VectorSpaceVector< Number > &V)=0
virtual void add(const Number a)=0
virtual VectorSpaceVector< Number > & operator-=(const VectorSpaceVector< Number > &V)=0
types::global_dof_index size_type
virtual std::size_t memory_consumption() const =0
virtual ::IndexSet locally_owned_elements() const =0
virtual void add(const Number a, const VectorSpaceVector< Number > &V)=0
virtual void compress(VectorOperation::values)
virtual real_type l1_norm() const =0
typename numbers::NumberTraits< Number >::real_type real_type
virtual void reinit(const VectorSpaceVector< Number > &V, const bool omit_zeroing_entries=false)=0
virtual size_type size() const =0
virtual VectorSpaceVector< Number > & operator/=(const Number factor)=0
virtual Number add_and_dot(const Number a, const VectorSpaceVector< Number > &V, const VectorSpaceVector< Number > &W)=0
virtual bool all_zero() const =0
virtual void sadd(const Number s, const Number a, const VectorSpaceVector< Number > &V)=0
virtual value_type mean_value() const =0
virtual VectorSpaceVector< Number > & operator=(const Number s)=0
virtual void add(const Number a, const VectorSpaceVector< Number > &V, const Number b, const VectorSpaceVector< Number > &W)=0
virtual Number operator*(const VectorSpaceVector< Number > &V) const =0
virtual void import_elements(const ReadWriteVector< Number > &V, VectorOperation::values operation, std::shared_ptr< const Utilities::MPI::CommunicationPatternBase > communication_pattern={})=0
virtual real_type linfty_norm() const =0
#define DEAL_II_NAMESPACE_OPEN
#define DEAL_II_NAMESPACE_CLOSE
void set_zero_mean_value(VectorSpaceVector< Number > &vector)
unsigned int global_dof_index