Reference documentation for deal.II version 8.1.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Classes | Public Member Functions | Protected Member Functions | Private Attributes | List of all members
SLEPcWrappers::TransformationBase Class Referenceabstract

#include <slepc_spectral_transformation.h>

Inheritance diagram for SLEPcWrappers::TransformationBase:
[legend]

Classes

struct  TransformationData
 

Public Member Functions

 TransformationBase ()
 
virtual ~TransformationBase ()
 
void set_context (EPS &eps)
 

Protected Member Functions

virtual void set_transformation_type (ST &st) const =0
 

Private Attributes

std_cxx1x::shared_ptr
< TransformationData
transformation_data
 

Detailed Description

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:

// Set a transformation, this one shifts the eigenspectrum by 3.142..
eigensolver.set_transformation (shift);

and later calling the solve() function as usual:

SolverControl solver_control (1000, 1e-9);
SolverArnoldi system (solver_control, mpi_communicator);
eigensolver.solve (A, B, lambda, x, size_of_spectrum);
Note
These options can also be set at the commandline.
Author
Toby D. Young 2009, 2013

Definition at line 66 of file slepc_spectral_transformation.h.

Constructor & Destructor Documentation

SLEPcWrappers::TransformationBase::TransformationBase ( )

Constructor.

virtual SLEPcWrappers::TransformationBase::~TransformationBase ( )
virtual

Destructor.

Member Function Documentation

void SLEPcWrappers::TransformationBase::set_context ( EPS &  eps)

Record the EPS object that is associated to the spectral transformation


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