MAST
MAST::SlepcEigenSolver Class Reference

This class inherits from libMesh::SlepcEigenSolver<Real> and implements a method for retriving the real and imaginary components of the eigenvector, which the libMesh interface does not provide. More...

#include <slepc_eigen_solver.h>

Inheritance diagram for MAST::SlepcEigenSolver:
Collaboration diagram for MAST::SlepcEigenSolver:

Public Member Functions

 SlepcEigenSolver (const libMesh::Parallel::Communicator &comm_in)
 
virtual std::pair< Real, Realget_eigenvalue (unsigned int i)
 This function returns the real and imaginary part of the ith eigenvalues. More...
 
virtual std::pair< Real, Realget_eigenpair (unsigned int i, libMesh::NumericVector< Real > &eig_vec, libMesh::NumericVector< Real > *eig_vec_im=libmesh_nullptr)
 This function returns the real and imaginary part of the ith eigenvalue and copies the respective eigenvector to the solution vector. More...
 

Detailed Description

This class inherits from libMesh::SlepcEigenSolver<Real> and implements a method for retriving the real and imaginary components of the eigenvector, which the libMesh interface does not provide.

Definition at line 39 of file slepc_eigen_solver.h.

Constructor & Destructor Documentation

MAST::SlepcEigenSolver::SlepcEigenSolver ( const libMesh::Parallel::Communicator &  comm_in)

Definition at line 28 of file slepc_eigen_solver.cpp.

Member Function Documentation

std::pair< Real, Real > MAST::SlepcEigenSolver::get_eigenpair ( unsigned int  i,
libMesh::NumericVector< Real > &  eig_vec,
libMesh::NumericVector< Real > *  eig_vec_im = libmesh_nullptr 
)
virtual

This function returns the real and imaginary part of the ith eigenvalue and copies the respective eigenvector to the solution vector.

Note that also in case of purely real matrix entries the eigenpair may be complex values.

Definition at line 54 of file slepc_eigen_solver.cpp.

std::pair< Real, Real > MAST::SlepcEigenSolver::get_eigenvalue ( unsigned int  i)
virtual

This function returns the real and imaginary part of the ith eigenvalues.

Definition at line 37 of file slepc_eigen_solver.cpp.


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