Reference documentation for deal.II version 9.6.2
 
\(\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< LinearAlgebra::distributed::Vector< Number > > Class Template Reference

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

Inheritance diagram for internal::LinearOperatorImplementation::ReinitHelper< LinearAlgebra::distributed::Vector< Number > >:

Public Types

template<typename T>
using get_mpi_communicator_t
 
template<typename T>
using locally_owned_domain_indices_t
 
template<typename T>
using locally_owned_range_indices_t
 
template<typename T>
using initialize_dof_vector_t
 

Static Public Member Functions

template<typename MatrixType, std::enable_if_t< has_get_mpi_communicator< MatrixType > &&has_locally_owned_domain_indices< MatrixType >, MatrixType > * = nullptr>
static void reinit_domain_vector (MatrixType &mat, LinearAlgebra::distributed::Vector< Number > &vec, bool)
 
template<typename MatrixType, std::enable_if_t< has_initialize_dof_vector< MatrixType >, MatrixType > * = nullptr>
static void reinit_domain_vector (MatrixType &mat, LinearAlgebra::distributed::Vector< Number > &vec, bool omit_zeroing_entries)
 
template<typename MatrixType, std::enable_if_t< has_get_mpi_communicator< MatrixType > &&has_locally_owned_range_indices< MatrixType >, MatrixType > * = nullptr>
static void reinit_range_vector (MatrixType &mat, LinearAlgebra::distributed::Vector< Number > &vec, bool)
 
template<typename MatrixType, std::enable_if_t< has_initialize_dof_vector< MatrixType >, MatrixType > * = nullptr>
static void reinit_range_vector (MatrixType &mat, LinearAlgebra::distributed::Vector< Number > &vec, bool omit_zeroing_entries)
 
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)
 

Static Public Attributes

template<typename T>
static constexpr bool has_get_mpi_communicator
 
template<typename T>
static constexpr bool has_locally_owned_domain_indices
 
template<typename T>
static constexpr bool has_locally_owned_range_indices
 
template<typename T>
static constexpr bool has_initialize_dof_vector
 

Detailed Description

template<typename Number>
class internal::LinearOperatorImplementation::ReinitHelper< LinearAlgebra::distributed::Vector< Number > >

A helper class used internally in linear_operator.h. Specialization for LinearAlgebra::distributed::Vector.

Definition at line 1821 of file la_parallel_vector.h.

Member Typedef Documentation

◆ get_mpi_communicator_t

template<typename Number>
template<typename T>
using internal::LinearOperatorImplementation::ReinitHelper< LinearAlgebra::distributed::Vector< Number > >::get_mpi_communicator_t
Initial value:
decltype(std::declval<T>().get_mpi_communicator())

Definition at line 1827 of file la_parallel_vector.h.

◆ locally_owned_domain_indices_t

template<typename Number>
template<typename T>
using internal::LinearOperatorImplementation::ReinitHelper< LinearAlgebra::distributed::Vector< Number > >::locally_owned_domain_indices_t
Initial value:
decltype(std::declval<T>().locally_owned_domain_indices())

Definition at line 1837 of file la_parallel_vector.h.

◆ locally_owned_range_indices_t

template<typename Number>
template<typename T>
using internal::LinearOperatorImplementation::ReinitHelper< LinearAlgebra::distributed::Vector< Number > >::locally_owned_range_indices_t
Initial value:
decltype(std::declval<T>().locally_owned_range_indices())

Definition at line 1847 of file la_parallel_vector.h.

◆ initialize_dof_vector_t

template<typename Number>
template<typename T>
using internal::LinearOperatorImplementation::ReinitHelper< LinearAlgebra::distributed::Vector< Number > >::initialize_dof_vector_t
Initial value:
decltype(std::declval<T>().initialize_dof_vector(

Definition at line 1857 of file la_parallel_vector.h.

Member Function Documentation

◆ reinit_domain_vector() [1/3]

template<typename Number>
template<typename MatrixType, std::enable_if_t< has_get_mpi_communicator< MatrixType > &&has_locally_owned_domain_indices< MatrixType >, MatrixType > * = nullptr>
static void internal::LinearOperatorImplementation::ReinitHelper< LinearAlgebra::distributed::Vector< Number > >::reinit_domain_vector ( MatrixType & mat,
LinearAlgebra::distributed::Vector< Number > & vec,
bool  )
inlinestatic

Definition at line 1879 of file la_parallel_vector.h.

◆ reinit_domain_vector() [2/3]

template<typename Number>
template<typename MatrixType, std::enable_if_t< has_initialize_dof_vector< MatrixType >, MatrixType > * = nullptr>
static void internal::LinearOperatorImplementation::ReinitHelper< LinearAlgebra::distributed::Vector< Number > >::reinit_domain_vector ( MatrixType & mat,
LinearAlgebra::distributed::Vector< Number > & vec,
bool omit_zeroing_entries )
inlinestatic

Definition at line 1898 of file la_parallel_vector.h.

◆ reinit_range_vector() [1/3]

template<typename Number>
template<typename MatrixType, std::enable_if_t< has_get_mpi_communicator< MatrixType > &&has_locally_owned_range_indices< MatrixType >, MatrixType > * = nullptr>
static void internal::LinearOperatorImplementation::ReinitHelper< LinearAlgebra::distributed::Vector< Number > >::reinit_range_vector ( MatrixType & mat,
LinearAlgebra::distributed::Vector< Number > & vec,
bool  )
inlinestatic

Definition at line 1921 of file la_parallel_vector.h.

◆ reinit_range_vector() [2/3]

template<typename Number>
template<typename MatrixType, std::enable_if_t< has_initialize_dof_vector< MatrixType >, MatrixType > * = nullptr>
static void internal::LinearOperatorImplementation::ReinitHelper< LinearAlgebra::distributed::Vector< Number > >::reinit_range_vector ( MatrixType & mat,
LinearAlgebra::distributed::Vector< Number > & vec,
bool omit_zeroing_entries )
inlinestatic

Definition at line 1940 of file la_parallel_vector.h.

◆ reinit_range_vector() [3/3]

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

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.

Member Data Documentation

◆ has_get_mpi_communicator

template<typename Number>
template<typename T>
bool internal::LinearOperatorImplementation::ReinitHelper< LinearAlgebra::distributed::Vector< Number > >::has_get_mpi_communicator
staticconstexpr
Initial value:

Definition at line 1831 of file la_parallel_vector.h.

◆ has_locally_owned_domain_indices

template<typename Number>
template<typename T>
bool internal::LinearOperatorImplementation::ReinitHelper< LinearAlgebra::distributed::Vector< Number > >::has_locally_owned_domain_indices
staticconstexpr

◆ has_locally_owned_range_indices

template<typename Number>
template<typename T>
bool internal::LinearOperatorImplementation::ReinitHelper< LinearAlgebra::distributed::Vector< Number > >::has_locally_owned_range_indices
staticconstexpr

◆ has_initialize_dof_vector

template<typename Number>
template<typename T>
bool internal::LinearOperatorImplementation::ReinitHelper< LinearAlgebra::distributed::Vector< Number > >::has_initialize_dof_vector
staticconstexpr

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