deal.II version GIT relicensing-2167-g9622207b8f 2024-11-21 12:40:00+00:00
|
#include <deal.II/lac/slepc_spectral_transformation.h>
Public Member Functions | |
virtual | ~TransformationBase () |
void | set_matrix_mode (const STMatMode mode) |
void | set_solver (const PETScWrappers::SolverBase &solver) |
Protected Member Functions | |
TransformationBase (const MPI_Comm mpi_communicator) | |
Protected Attributes | |
ST | st |
Friends | |
class | SolverBase |
Base class for spectral transformation classes using the SLEPc solvers which are selected based on flags passed to the spectral transformation.
SLEPcWrappers::TransformationXXX
, where XXX
is your favourite transformation type, can then be implemented in application codes in the following way for XXX=INVERT
with the solver object eigensolver
:
and later calling the solve()
function as usual:
Definition at line 75 of file slepc_spectral_transformation.h.
|
explicitprotected |
Constructor.
Definition at line 31 of file slepc_spectral_transformation.cc.
|
virtual |
Destructor.
Definition at line 37 of file slepc_spectral_transformation.cc.
void SLEPcWrappers::TransformationBase::set_matrix_mode | ( | const STMatMode | mode | ) |
Set a flag to indicate how the transformed matrices are being stored in the spectral transformations.
The possible values are given by the enumerator STMatMode in the SLEPc library https://slepc.upv.es/documentation/current/docs/manualpages/ST/STMatMode.html
Definition at line 48 of file slepc_spectral_transformation.cc.
void SLEPcWrappers::TransformationBase::set_solver | ( | const PETScWrappers::SolverBase & | solver | ) |
Set solver to be used when solving a system of linear algebraic equations inside the eigensolver.
Definition at line 55 of file slepc_spectral_transformation.cc.
|
friend |
Definition at line 115 of file slepc_spectral_transformation.h.
|
protected |
SLEPc spectral transformation object.
Definition at line 111 of file slepc_spectral_transformation.h.