#include <slepc.hpp>
Definition at line 33 of file slepc.hpp.
Enumerator |
---|
SHIFT |
|
SHIFT_INVERT |
|
Definition at line 94 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 82 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 131 of file slepc.cpp.
void mfem::SlepcEigenSolver::GetEigenvalue |
( |
unsigned int |
i, |
|
|
double & |
lr |
|
) |
| const |
Get the corresponding eigenvalue.
Definition at line 141 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 152 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 182 of file slepc.cpp.
mfem::SlepcEigenSolver::operator EPS |
( |
| ) |
const |
|
inline |
Conversion function to SLEPc's EPS type.
Definition at line 105 of file slepc.hpp.
Conversion function to PetscObject.
Definition at line 108 of file slepc.hpp.
void mfem::SlepcEigenSolver::SetMaxIter |
( |
int |
max_iter | ) |
|
Set maximum number of iterations.
Definition at line 110 of file slepc.cpp.
void mfem::SlepcEigenSolver::SetNumModes |
( |
int |
num_eigs | ) |
|
Set the number of required eigenmodes.
Definition at line 118 of file slepc.cpp.
Set operator for standard eigenvalue problem.
Definition at line 74 of file slepc.cpp.
Set operator for generalized eigenvalue problem.
Definition at line 87 of file slepc.cpp.
void mfem::SlepcEigenSolver::SetTarget |
( |
double |
target | ) |
|
void mfem::SlepcEigenSolver::SetTol |
( |
double |
tol | ) |
|
Set solver tolerance.
Definition at line 100 of file slepc.cpp.
void mfem::SlepcEigenSolver::Solve |
( |
| ) |
|
Solve the eigenvalue problem for the specified number of eigenvalues.
Definition at line 124 of file slepc.cpp.
The documentation for this class was generated from the following files: