Reference documentation for deal.II version 9.3.3
|
#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 76 of file slepc_spectral_transformation.h.
|
protected |
Constructor.
Definition at line 32 of file slepc_spectral_transformation.cc.
|
virtual |
Destructor.
Definition at line 38 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 http://www.grycap.upv.es/slepc/documentation/current/docs/manualpages/ST/STMatMode.html
Definition at line 49 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 56 of file slepc_spectral_transformation.cc.
|
friend |
Definition at line 116 of file slepc_spectral_transformation.h.
|
protected |
SLEPc spectral transformation object.
Definition at line 112 of file slepc_spectral_transformation.h.