#include <LOCA_TurningPoint_MooreSpence_SolverStrategy.H>
Public Member Functions | |
SolverStrategy () | |
Constructor. | |
virtual | ~SolverStrategy () |
Destructor. | |
virtual void | setBlocks (const Teuchos::RCP< LOCA::TurningPoint::MooreSpence::AbstractGroup > &group, const Teuchos::RCP< LOCA::TurningPoint::MooreSpence::ExtendedGroup > &tpGroup, const Teuchos::RCP< const NOX::Abstract::Vector > &nullVector, const Teuchos::RCP< const NOX::Abstract::Vector > &JnVector, const Teuchos::RCP< const NOX::Abstract::MultiVector > &dfdp, const Teuchos::RCP< const NOX::Abstract::MultiVector > &dJndp)=0 |
Set blocks in extended linear system. | |
virtual NOX::Abstract::Group::ReturnType | solve (Teuchos::ParameterList ¶ms, const LOCA::TurningPoint::MooreSpence::ExtendedMultiVector &input, LOCA::TurningPoint::MooreSpence::ExtendedMultiVector &result) const =0 |
Solves the extended system as defined above. | |
virtual NOX::Abstract::Group::ReturnType | solveTranspose (Teuchos::ParameterList ¶ms, const LOCA::TurningPoint::MooreSpence::ExtendedMultiVector &input, LOCA::TurningPoint::MooreSpence::ExtendedMultiVector &result) const |
Solves the transpose of the extended system as defined above. | |
Private Member Functions | |
SolverStrategy (const SolverStrategy &) | |
Private to prohibit copying. | |
SolverStrategy & | operator= (const SolverStrategy &) |
Private to prohibit copying. |
This class provides an abstract interface for solver strategies to solve the Moore-Spence turning point Newton system:
After instantiating a solver (via LOCA::TurningPoint::MooreSpence::SolverFactory), the linear system is set up by setBlocks() and can then be solved by solve().
Definition at line 94 of file LOCA_TurningPoint_MooreSpence_SolverStrategy.H.
LOCA::TurningPoint::MooreSpence::SolverStrategy::SolverStrategy | ( | ) | [inline] |
virtual LOCA::TurningPoint::MooreSpence::SolverStrategy::~SolverStrategy | ( | ) | [inline, virtual] |
LOCA::TurningPoint::MooreSpence::SolverStrategy::SolverStrategy | ( | const SolverStrategy & | ) | [private] |
Private to prohibit copying.
virtual void LOCA::TurningPoint::MooreSpence::SolverStrategy::setBlocks | ( | const Teuchos::RCP< LOCA::TurningPoint::MooreSpence::AbstractGroup > & | group, | |
const Teuchos::RCP< LOCA::TurningPoint::MooreSpence::ExtendedGroup > & | tpGroup, | |||
const Teuchos::RCP< const NOX::Abstract::Vector > & | nullVector, | |||
const Teuchos::RCP< const NOX::Abstract::Vector > & | JnVector, | |||
const Teuchos::RCP< const NOX::Abstract::MultiVector > & | dfdp, | |||
const Teuchos::RCP< const NOX::Abstract::MultiVector > & | dJndp | |||
) | [pure virtual] |
Set blocks in extended linear system.
group | [in] Underlying group representing J | |
tpGroup | [in] Turning point group representing the turning point equations. | |
nullVector | [in] Vector representing v | |
JnVector | [in] Vector representing Jv | |
dfdp | [in] Vector representing df/dp | |
dJndp | [in] Vector representing d(Jv)/dp |
Implemented in LOCA::TurningPoint::MooreSpence::PhippsBordering, and LOCA::TurningPoint::MooreSpence::SalingerBordering.
virtual NOX::Abstract::Group::ReturnType LOCA::TurningPoint::MooreSpence::SolverStrategy::solve | ( | Teuchos::ParameterList & | params, | |
const LOCA::TurningPoint::MooreSpence::ExtendedMultiVector & | input, | |||
LOCA::TurningPoint::MooreSpence::ExtendedMultiVector & | result | |||
) | const [pure virtual] |
Solves the extended system as defined above.
The params argument is the linear solver parameters.
Implemented in LOCA::TurningPoint::MooreSpence::PhippsBordering, and LOCA::TurningPoint::MooreSpence::SalingerBordering.
virtual NOX::Abstract::Group::ReturnType LOCA::TurningPoint::MooreSpence::SolverStrategy::solveTranspose | ( | Teuchos::ParameterList & | params, | |
const LOCA::TurningPoint::MooreSpence::ExtendedMultiVector & | input, | |||
LOCA::TurningPoint::MooreSpence::ExtendedMultiVector & | result | |||
) | const [inline, virtual] |
Solves the transpose of the extended system as defined above.
The params argument is the linear solver parameters.
Reimplemented in LOCA::TurningPoint::MooreSpence::SalingerBordering.
Definition at line 141 of file LOCA_TurningPoint_MooreSpence_SolverStrategy.H.
References NOX::Abstract::Group::NotDefined.
SolverStrategy& LOCA::TurningPoint::MooreSpence::SolverStrategy::operator= | ( | const SolverStrategy & | ) | [private] |
Private to prohibit copying.