Serac
0.1
Serac is an implicit thermal strucural mechanics simulation code.
|
A wrapper class for using the MFEM SuperLU solver with a HypreParMatrix. More...
#include <equation_solver.hpp>
Public Member Functions | |
SuperLUSolver (int print_level, MPI_Comm comm) | |
Constructs a wrapper over an mfem::SuperLUSolver. More... | |
void | Mult (const mfem::Vector &input, mfem::Vector &output) const |
Factor and solve the linear system y = Op^{-1} x using DSuperLU. More... | |
void | SetOperator (const mfem::Operator &op) |
Set the underlying matrix operator to use in the solution algorithm. More... | |
A wrapper class for using the MFEM SuperLU solver with a HypreParMatrix.
Definition at line 149 of file equation_solver.hpp.
|
inline |
Constructs a wrapper over an mfem::SuperLUSolver.
[in] | comm | The MPI communicator used by the vectors and matrices in the solve |
[in] | print_level | The verbosity level for the mfem::SuperLUSolver |
Definition at line 156 of file equation_solver.hpp.
void serac::SuperLUSolver::Mult | ( | const mfem::Vector & | input, |
mfem::Vector & | output | ||
) | const |
Factor and solve the linear system y = Op^{-1} x using DSuperLU.
input | The input RHS vector |
output | The output solution vector |
Definition at line 56 of file equation_solver.cpp.
void serac::SuperLUSolver::SetOperator | ( | const mfem::Operator & | op | ) |
Set the underlying matrix operator to use in the solution algorithm.
op | The matrix operator to factorize with SuperLU |
Definition at line 100 of file equation_solver.cpp.