Reference documentation for deal.II version 9.6.1
 
\(\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< PETScWrappers::MPI::Vector > Class Reference

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

Inheritance diagram for internal::LinearOperatorImplementation::ReinitHelper< PETScWrappers::MPI::Vector >:

Static Public Member Functions

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

Detailed Description

A helper class used internally in linear_operator.h. Specialization for PETScWrappers::MPI::Vector.

Definition at line 537 of file petsc_vector.h.

Member Function Documentation

◆ reinit_range_vector() [1/2]

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

Definition at line 542 of file petsc_vector.h.

◆ reinit_domain_vector() [1/2]

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

Definition at line 552 of file petsc_vector.h.

◆ reinit_range_vector() [2/2]

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() [2/2]

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 file: