Advanced Multi-Physics (AMP)
On-Line Documentation
Public Types | Public Member Functions | Public Attributes | List of all members
AMP::Solver::SolverStrategyParameters Class Reference

#include <SolverStrategyParameters.h>

Inheritance diagram for AMP::Solver::SolverStrategyParameters:
Inheritance graph
[legend]

Public Types

typedef std::shared_ptr< ParameterBaseshared_ptr
 

Public Member Functions

 SolverStrategyParameters ()
 
 SolverStrategyParameters (std::shared_ptr< AMP::Database > db)
 
virtual ~SolverStrategyParameters ()
 

Public Attributes

AMP_MPI d_comm
 
std::shared_ptr< AMP::Databased_db
 
std::shared_ptr< AMP::Databased_global_db
 
std::string d_name
 
std::shared_ptr< AMP::LinearAlgebra::Vectord_pInitialGuess
 initial guess for solver – probably can go away in favour of d_vectors
 
std::shared_ptr< AMP::Solver::SolverStrategyd_pNestedSolver = nullptr
 
std::shared_ptr< AMP::Operator::Operatord_pOperator = nullptr
 
std::vector< std::shared_ptr< AMP::LinearAlgebra::Vector > > d_vectors
 

Detailed Description

SolverStrategyParameters encapsulates parameters used to initialize SolverStrategy objects

Definition at line 19 of file SolverStrategyParameters.h.

Member Typedef Documentation

◆ shared_ptr

Definition at line 18 of file ParameterBase.h.

Constructor & Destructor Documentation

◆ SolverStrategyParameters() [1/2]

AMP::Solver::SolverStrategyParameters::SolverStrategyParameters ( )

Empty constructor.

◆ SolverStrategyParameters() [2/2]

AMP::Solver::SolverStrategyParameters::SolverStrategyParameters ( std::shared_ptr< AMP::Database db)
explicit

Construct and initialize a parameter list according to input data. Guess what the required and optional keywords are.

◆ ~SolverStrategyParameters()

virtual AMP::Solver::SolverStrategyParameters::~SolverStrategyParameters ( )
virtual

Destructor.

Member Data Documentation

◆ d_comm

AMP_MPI AMP::Solver::SolverStrategyParameters::d_comm

Definition at line 38 of file SolverStrategyParameters.h.

◆ d_db

std::shared_ptr<AMP::Database> AMP::ParameterBase::d_db
inherited

Definition at line 27 of file ParameterBase.h.

◆ d_global_db

std::shared_ptr<AMP::Database> AMP::Solver::SolverStrategyParameters::d_global_db

Pointer to global database This is temporary fix and eventually either d_global_db or d_db should go away This is introduced to allow for solver factories to access databases in the global database for the construction of nested solvers

Definition at line 60 of file SolverStrategyParameters.h.

◆ d_name

std::string AMP::ParameterBase::d_name
inherited

Definition at line 25 of file ParameterBase.h.

◆ d_pInitialGuess

std::shared_ptr<AMP::LinearAlgebra::Vector> AMP::Solver::SolverStrategyParameters::d_pInitialGuess

initial guess for solver – probably can go away in favour of d_vectors

Definition at line 48 of file SolverStrategyParameters.h.

◆ d_pNestedSolver

std::shared_ptr<AMP::Solver::SolverStrategy> AMP::Solver::SolverStrategyParameters::d_pNestedSolver = nullptr

Pointer to nested solver, e.g. Krylov for Newton, or preconditioner, can be null

Definition at line 45 of file SolverStrategyParameters.h.

◆ d_pOperator

std::shared_ptr<AMP::Operator::Operator> AMP::Solver::SolverStrategyParameters::d_pOperator = nullptr

Definition at line 40 of file SolverStrategyParameters.h.

◆ d_vectors

std::vector<std::shared_ptr<AMP::LinearAlgebra::Vector> > AMP::Solver::SolverStrategyParameters::d_vectors

List of vectors to be used during solver initialization

Definition at line 53 of file SolverStrategyParameters.h.


The documentation for this class was generated from the following file:



Advanced Multi-Physics (AMP)
Oak Ridge National Laboratory
Idaho National Laboratory
Los Alamos National Laboratory
This page automatically produced from the
source code by doxygen
Last updated: Tue Mar 10 2026 13:06:45.
Comments on this page