Reference documentation for deal.II version 9.0.0
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 (const char *identifier=nullptr) const
 
void unsubscribe (const char *identifier=nullptr) const
 
unsigned int n_subscriptions () 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 218 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 225 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 237 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 247 of file parpack_solver.h.


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