Reference documentation for deal.II version 9.6.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\}}\)
Loading...
Searching...
No Matches
internal::LinearOperatorImplementation::ReinitHelper< typename > 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>
class internal::LinearOperatorImplementation::ReinitHelper< typename >

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 2282 of file trilinos_vector.h.

Member Function Documentation

◆ reinit_range_vector()

template<typename >
template<typename Matrix >
static void internal::LinearOperatorImplementation::ReinitHelper< typename >::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 1058 of file linear_operator.h.

◆ reinit_domain_vector()

template<typename >
template<typename Matrix >
static void internal::LinearOperatorImplementation::ReinitHelper< typename >::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 1078 of file linear_operator.h.


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