#include <LinearSolver.h>
|
| | TpetraLinearSolver (std::string solverName, TpetraLinearSolverConfig *config, const Teuchos::RCP< Teuchos::ParameterList > params, const Teuchos::RCP< Teuchos::ParameterList > paramsPrecond, LinearSolvers *linearSolvers) |
| |
| | ~TpetraLinearSolver () |
| |
| void | setSystemObjects (Teuchos::RCP< LinSys::Matrix > matrix, Teuchos::RCP< LinSys::Vector > rhs) |
| |
| void | setupLinearSolver (Teuchos::RCP< LinSys::Vector > sln, Teuchos::RCP< LinSys::Matrix > matrix, Teuchos::RCP< LinSys::Vector > rhs, Teuchos::RCP< LinSys::MultiVector > coords) |
| |
| void | destroyLinearSolver () |
| |
| void | setMueLu () |
| |
| int | residual_norm (int whichNorm, Teuchos::RCP< LinSys::Vector > sln, double &norm) |
| |
| int | solve (Teuchos::RCP< LinSys::Vector > sln, int &iterationCount, double &scaledResidual) |
| |
| virtual PetraType | getType () |
| |
| TpetraLinearSolverConfig * | getConfig () |
| |
| bool & | activeMueLu () |
| |
| | LinearSolver (std::string name, LinearSolvers *linearSolvers, bool recompute_preconditioner, bool reuse_preconditioner) |
| |
| virtual | ~LinearSolver () |
| |
| Simulation * | root () |
| |
| LinearSolvers * | parent () |
| |
| bool & | recomputePreconditioner () |
| |
| bool & | reusePreconditioner () |
| |
| void | zero_timer_precond () |
| |
| double | get_timer_precond () |
| |
| sierra::nalu::TpetraLinearSolver::TpetraLinearSolver |
( |
std::string |
solverName, |
|
|
TpetraLinearSolverConfig * |
config, |
|
|
const Teuchos::RCP< Teuchos::ParameterList > |
params, |
|
|
const Teuchos::RCP< Teuchos::ParameterList > |
paramsPrecond, |
|
|
LinearSolvers * |
linearSolvers |
|
) |
| |
| sierra::nalu::TpetraLinearSolver::~TpetraLinearSolver |
( |
| ) |
|
| bool& sierra::nalu::TpetraLinearSolver::activeMueLu |
( |
| ) |
|
|
inline |
| void sierra::nalu::TpetraLinearSolver::destroyLinearSolver |
( |
| ) |
|
| virtual PetraType sierra::nalu::TpetraLinearSolver::getType |
( |
| ) |
|
|
inlinevirtual |
| int sierra::nalu::TpetraLinearSolver::residual_norm |
( |
int |
whichNorm, |
|
|
Teuchos::RCP< LinSys::Vector > |
sln, |
|
|
double & |
norm |
|
) |
| |
| void sierra::nalu::TpetraLinearSolver::setMueLu |
( |
| ) |
|
References config_, coords_, sierra::nalu::TpetraLinearSolverConfig::get_method(), sierra::nalu::TpetraLinearSolverConfig::getSummarizeMueluTimer(), matrix_, sierra::nalu::TpetraLinearSolverConfig::muelu_xml_file(), mueluPreconditioner_, params_, problem_, sierra::nalu::LinearSolver::recomputePreconditioner_, sierra::nalu::LinearSolver::reusePreconditioner_, and solver_.
Referenced by solve().
References activateMueLu_, config_, coords_, sierra::nalu::TpetraLinearSolverConfig::get_method(), matrix_, params_, paramsPrecond_, preconditioner_, preconditionerType_, problem_, rhs_, setSystemObjects(), and solver_.
Referenced by sierra::nalu::TpetraLinearSystem::finalizeLinearSystem().
| int sierra::nalu::TpetraLinearSolver::solve |
( |
Teuchos::RCP< LinSys::Vector > |
sln, |
|
|
int & |
iterationCount, |
|
|
double & |
scaledResidual |
|
) |
| |
| bool sierra::nalu::TpetraLinearSolver::activateMueLu_ |
|
private |
| Teuchos::RCP<LinSys::Matrix> sierra::nalu::TpetraLinearSolver::matrix_ |
|
private |
| Teuchos::RCP<MueLu::TpetraOperator<SC,LO,GO,NO> > sierra::nalu::TpetraLinearSolver::mueluPreconditioner_ |
|
private |
| const Teuchos::RCP<Teuchos::ParameterList> sierra::nalu::TpetraLinearSolver::params_ |
|
private |
| const Teuchos::RCP<Teuchos::ParameterList> sierra::nalu::TpetraLinearSolver::paramsPrecond_ |
|
private |
| std::string sierra::nalu::TpetraLinearSolver::preconditionerType_ |
|
private |
The documentation for this class was generated from the following files: