Reference documentation for deal.II version Git a5ed68a04a 2019-09-22 06:50:58 -0600
\(\newcommand{\dealcoloneq}{\mathrel{\vcenter{:}}=}\)
Public Member Functions | List of all members
PArpackSolver< VectorType >::Shift< MatrixType > Class Template Reference

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

Inheritance diagram for PArpackSolver< VectorType >::Shift< MatrixType >:
[legend]

Public Member Functions

 Shift (const MatrixType &A, const MatrixType &B, const double sigma)
 
void vmult (VectorType &dst, const VectorType &src) const
 
void Tvmult (VectorType &dst, const VectorType &src) const
 
- Public Member Functions inherited from Subscriptor
 Subscriptor ()
 
 Subscriptor (const Subscriptor &)
 
 Subscriptor (Subscriptor &&) noexcept
 
virtual ~Subscriptor ()
 
Subscriptoroperator= (const Subscriptor &)
 
Subscriptoroperator= (Subscriptor &&) noexcept
 
void subscribe (std::atomic< bool > *const validity, const std::string &identifier="") const
 
void unsubscribe (std::atomic< bool > *const validity, const std::string &identifier="") const
 
unsigned int n_subscriptions () const
 
template<typename StreamType >
void list_subscribers (StreamType &stream) const
 
void list_subscribers () const
 
template<class Archive >
void serialize (Archive &ar, const unsigned int version)
 

Additional Inherited Members

- Static Public Member Functions inherited from Subscriptor
static ::ExceptionBaseExcInUse (int arg1, std::string arg2, std::string arg3)
 
static ::ExceptionBaseExcNoSubscriber (std::string arg1, std::string arg2)
 

Detailed Description

template<typename VectorType>
template<typename MatrixType>
class PArpackSolver< VectorType >::Shift< MatrixType >

Auxiliary class to represent A-sigma*B operator.

Deprecated:
: Use LinearOperator to create a shifted operator by hand: const auto shift = linear_operator(A) - sigma * linear_operator(B);

Definition at line 282 of file parpack_solver.h.

Constructor & Destructor Documentation

◆ Shift()

template<typename VectorType>
template<typename MatrixType >
PArpackSolver< VectorType >::Shift< MatrixType >::Shift ( const MatrixType &  A,
const MatrixType &  B,
const double  sigma 
)
inline

Constructor.

Definition at line 288 of file parpack_solver.h.

Member Function Documentation

◆ vmult()

template<typename VectorType>
template<typename MatrixType >
void PArpackSolver< VectorType >::Shift< MatrixType >::vmult ( VectorType &  dst,
const VectorType &  src 
) const
inline

Apply A-sigma * B

Definition at line 298 of file parpack_solver.h.

◆ Tvmult()

template<typename VectorType>
template<typename MatrixType >
void PArpackSolver< VectorType >::Shift< MatrixType >::Tvmult ( VectorType &  dst,
const VectorType &  src 
) const
inline

Apply A^T-sigma * B^T

Definition at line 309 of file parpack_solver.h.


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