PolyDEAL
 
Loading...
Searching...
No Matches
internal::LinearOperatorMGImplementation::ReinitHelper< Vector > Class Template Reference

#include <linear_operator_for_mg.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::LinearOperatorMGImplementation::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 1072 of file linear_operator_for_mg.h.

Member Function Documentation

◆ reinit_domain_vector()

template<typename Vector >
template<typename Matrix >
static void internal::LinearOperatorMGImplementation::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 1108 of file linear_operator_for_mg.h.

References Vector< typename Number >::reinit().

◆ reinit_range_vector()

template<typename Vector >
template<typename Matrix >
static void internal::LinearOperatorMGImplementation::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 1088 of file linear_operator_for_mg.h.

References Vector< typename Number >::reinit().


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