dealii linear solver class wrapper
More...
#include <dealiiLinearSolver.h>
dealii linear solver class wrapper
- Author
- Sambit Das
◆ solverType
◆ dealiiLinearSolver()
dftfe::dealiiLinearSolver::dealiiLinearSolver |
( |
const MPI_Comm & | mpi_comm_parent, |
|
|
const MPI_Comm & | mpi_comm_domain, |
|
|
const solverType | type ) |
Constructor.
- Parameters
-
mpi_comm_parent | parent mpi communicato |
mpi_comm_domain | domain mpi communicator |
type | enum specifying the choice of the dealii linear solver |
◆ solve()
void dftfe::dealiiLinearSolver::solve |
( |
dealiiLinearSolverProblem & | problem, |
|
|
const double | absTolerance, |
|
|
const unsigned int | maxNumberIterations, |
|
|
const int | debugLevel = 0, |
|
|
bool | distributeFlag = true ) |
|
virtual |
Solve linear system, A*x=Rhs.
- Parameters
-
problem | linearSolverProblem object (functor) to compute Rhs and A*x, and preconditioning |
relTolerance | Tolerance (relative) required for convergence. |
maxNumberIterations | Maximum number of iterations. |
debugLevel | Debug output level: 0 - no debug output 1 - limited debug output 2 - all debug output. |
Implements dftfe::linearSolver.
◆ d_mpiCommParent
const MPI_Comm dftfe::dealiiLinearSolver::d_mpiCommParent |
|
private |
◆ d_type
const solverType dftfe::dealiiLinearSolver::d_type |
|
private |
enum denoting the choice of the dealii solver
◆ dvec
◆ gvec
define some temporary vectors
◆ hvec
◆ mpi_communicator
const MPI_Comm dftfe::dealiiLinearSolver::mpi_communicator |
|
private |
◆ n_mpi_processes
const unsigned int dftfe::dealiiLinearSolver::n_mpi_processes |
|
private |
◆ pcout
dealii::ConditionalOStream dftfe::dealiiLinearSolver::pcout |
|
private |
◆ this_mpi_process
const unsigned int dftfe::dealiiLinearSolver::this_mpi_process |
|
private |
The documentation for this class was generated from the following file: