#include <slepc.hpp>
Definition at line 36 of file slepc.hpp.
◆ SpectralTransformation
| Enumerator |
|---|
| SHIFT | |
| SHIFT_INVERT | |
Definition at line 97 of file slepc.hpp.
◆ Which
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.
◆ SlepcEigenSolver()
| mfem::SlepcEigenSolver::SlepcEigenSolver |
( |
MPI_Comm |
comm, |
|
|
const std::string & |
prefix = std::string() |
|
) |
| |
◆ ~SlepcEigenSolver()
| mfem::SlepcEigenSolver::~SlepcEigenSolver |
( |
| ) |
|
|
virtual |
◆ Customize()
| void mfem::SlepcEigenSolver::Customize |
( |
bool |
customize = true | ) |
const |
Customize object with options set.
Definition at line 137 of file slepc.cpp.
◆ GetEigenvalue() [1/2]
| void mfem::SlepcEigenSolver::GetEigenvalue |
( |
unsigned int |
i, |
|
|
double & |
lr |
|
) |
| const |
Get the corresponding eigenvalue.
Definition at line 147 of file slepc.cpp.
◆ GetEigenvalue() [2/2]
| void mfem::SlepcEigenSolver::GetEigenvalue |
( |
unsigned int |
i, |
|
|
double & |
lr, |
|
|
double & |
lc |
|
) |
| const |
◆ GetEigenvector() [1/2]
| void mfem::SlepcEigenSolver::GetEigenvector |
( |
unsigned int |
i, |
|
|
Vector & |
vr |
|
) |
| const |
Get the corresponding eigenvector.
Definition at line 158 of file slepc.cpp.
◆ GetEigenvector() [2/2]
| void mfem::SlepcEigenSolver::GetEigenvector |
( |
unsigned int |
i, |
|
|
Vector & |
vr, |
|
|
Vector & |
vc |
|
) |
| const |
◆ GetNumConverged()
| int mfem::SlepcEigenSolver::GetNumConverged |
( |
| ) |
|
Get the number of converged eigenvalues.
Definition at line 188 of file slepc.cpp.
◆ operator PetscObject()
Conversion function to PetscObject.
Definition at line 111 of file slepc.hpp.
◆ operator slepc::EPS()
| mfem::SlepcEigenSolver::operator slepc::EPS |
( |
| ) |
const |
|
inline |
Conversion function to SLEPc's EPS type.
Definition at line 108 of file slepc.hpp.
◆ SetMaxIter()
| void mfem::SlepcEigenSolver::SetMaxIter |
( |
int |
max_iter | ) |
|
Set maximum number of iterations.
Definition at line 116 of file slepc.cpp.
◆ SetNumModes()
| void mfem::SlepcEigenSolver::SetNumModes |
( |
int |
num_eigs | ) |
|
Set the number of required eigenmodes.
Definition at line 124 of file slepc.cpp.
◆ SetOperator()
Set operator for standard eigenvalue problem.
Definition at line 81 of file slepc.cpp.
◆ SetOperators()
Set operator for generalized eigenvalue problem.
Definition at line 93 of file slepc.cpp.
◆ SetSpectralTransformation()
◆ SetTarget()
| void mfem::SlepcEigenSolver::SetTarget |
( |
double |
target | ) |
|
◆ SetTol()
| void mfem::SlepcEigenSolver::SetTol |
( |
double |
tol | ) |
|
Set solver tolerance.
Definition at line 106 of file slepc.cpp.
◆ SetWhichEigenpairs()
◆ Solve()
| 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: