Reference documentation for deal.II version 9.1.1
\(\newcommand{\dealcoloneq}{\mathrel{\vcenter{:}}=}\)
Static Public Member Functions | List of all members
internal::LinearOperatorImplementation::ReinitHelper< Vector > Class Template Reference

#include <deal.II/lac/linear_operator.h>

Static Public Member Functions

template<typename Matrix >
static void reinit_range_vector (const Matrix &matrix, Vector &v, bool omit_zeroing_entries)
 
template<typename Matrix >
static void reinit_domain_vector (const Matrix &matrix, Vector &v, bool omit_zeroing_entries)
 

Detailed Description

template<typename Vector>
class internal::LinearOperatorImplementation::ReinitHelper< Vector >

A helper class that is responsible for the initialization of a vector to be directly usable as the destination parameter, or source parameter in an application of vmult of a matrix.

The generic version of this class just calls Vector::reinit() with the result of Matrix::m() or Matrix::n(), respectively. This class is specialized for more complicated data structures, such as TrilinosWrappers::MPI::Vector, etc.

Definition at line 499 of file block_vector.h.

Member Function Documentation

◆ reinit_range_vector()

template<typename Vector >
template<typename Matrix >
static void internal::LinearOperatorImplementation::ReinitHelper< Vector >::reinit_range_vector ( const Matrix &  matrix,
Vector v,
bool  omit_zeroing_entries 
)
inlinestatic

Initializes a vector v of the Range space to be directly usable as the destination parameter in an application of vmult. Similar to the reinit functions of the vector classes, the boolean determines whether a fast initialization is done, i.e., if it is set to false the content of the vector is set to 0.

The generic version of this class just calls Vector::reinit() with the result of Matrix::m().

Definition at line 1030 of file linear_operator.h.

◆ reinit_domain_vector()

template<typename Vector >
template<typename Matrix >
static void internal::LinearOperatorImplementation::ReinitHelper< Vector >::reinit_domain_vector ( const Matrix &  matrix,
Vector v,
bool  omit_zeroing_entries 
)
inlinestatic

Initializes a vector of the Domain space to be directly usable as the source parameter in an application of vmult. Similar to the reinit functions of the vector classes, the boolean determines whether a fast initialization is done, i.e., if it is set to false the content of the vector is set to 0.

The generic version of this class just calls Vector::reinit() with the result of Matrix::n().

Definition at line 1050 of file linear_operator.h.


The documentation for this class was generated from the following files: