deal.II version GIT relicensing-1927-g3de9220933 2024-10-03 08:40:00+00:00
\(\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
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 1042 of file linear_operator.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 1058 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 1078 of file linear_operator.h.


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