#include <slepc.hpp>
Definition at line 36 of file slepc.hpp.
Enumerator |
---|
SHIFT |
|
SHIFT_INVERT |
|
Definition at line 97 of file slepc.hpp.
Target spectrum for the eigensolver. Target imaginary is not supported without complex support in SLEPc, and intervals are not implemented.
Enumerator |
---|
LARGEST_MAGNITUDE |
|
SMALLEST_MAGNITUDE |
|
LARGEST_REAL |
|
SMALLEST_REAL |
|
LARGEST_IMAGINARY |
|
SMALLEST_IMAGINARY |
|
TARGET_MAGNITUDE |
|
TARGET_REAL |
|
Definition at line 85 of file slepc.hpp.
mfem::SlepcEigenSolver::SlepcEigenSolver |
( |
MPI_Comm |
comm, |
|
|
const std::string & |
prefix = std::string() |
|
) |
| |
mfem::SlepcEigenSolver::~SlepcEigenSolver |
( |
| ) |
|
|
virtual |
void mfem::SlepcEigenSolver::Customize |
( |
bool |
customize = true | ) |
const |
Customize object with options set.
Definition at line 137 of file slepc.cpp.
void mfem::SlepcEigenSolver::GetEigenvalue |
( |
unsigned int |
i, |
|
|
double & |
lr |
|
) |
| const |
Get the corresponding eigenvalue.
Definition at line 147 of file slepc.cpp.
void mfem::SlepcEigenSolver::GetEigenvalue |
( |
unsigned int |
i, |
|
|
double & |
lr, |
|
|
double & |
lc |
|
) |
| const |
void mfem::SlepcEigenSolver::GetEigenvector |
( |
unsigned int |
i, |
|
|
Vector & |
vr |
|
) |
| const |
Get the corresponding eigenvector.
Definition at line 158 of file slepc.cpp.
void mfem::SlepcEigenSolver::GetEigenvector |
( |
unsigned int |
i, |
|
|
Vector & |
vr, |
|
|
Vector & |
vc |
|
) |
| const |
int mfem::SlepcEigenSolver::GetNumConverged |
( |
| ) |
|
Get the number of converged eigenvalues.
Definition at line 188 of file slepc.cpp.
Conversion function to PetscObject.
Definition at line 111 of file slepc.hpp.
mfem::SlepcEigenSolver::operator slepc::EPS |
( |
| ) |
const |
|
inline |
Conversion function to SLEPc's EPS type.
Definition at line 108 of file slepc.hpp.
void mfem::SlepcEigenSolver::SetMaxIter |
( |
int |
max_iter | ) |
|
Set maximum number of iterations.
Definition at line 116 of file slepc.cpp.
void mfem::SlepcEigenSolver::SetNumModes |
( |
int |
num_eigs | ) |
|
Set the number of required eigenmodes.
Definition at line 124 of file slepc.cpp.
Set operator for standard eigenvalue problem.
Definition at line 81 of file slepc.cpp.
Set operator for generalized eigenvalue problem.
Definition at line 93 of file slepc.cpp.
void mfem::SlepcEigenSolver::SetTarget |
( |
double |
target | ) |
|
void mfem::SlepcEigenSolver::SetTol |
( |
double |
tol | ) |
|
Set solver tolerance.
Definition at line 106 of file slepc.cpp.
void mfem::SlepcEigenSolver::Solve |
( |
| ) |
|
Solve the eigenvalue problem for the specified number of eigenvalues.
Definition at line 130 of file slepc.cpp.
The documentation for this class was generated from the following files: