NOX
Development
|
Moore-Spence pitchfork solver strategy based on "Phipps" bordering which is the 7-solve modified pitchfork bordering algorithm that uses bordered linear solves. More...
#include <LOCA_Pitchfork_MooreSpence_PhippsBordering.H>
Protected Member Functions | |
NOX::Abstract::Group::ReturnType | solveContiguous (Teuchos::ParameterList ¶ms, const NOX::Abstract::MultiVector &input_x, const NOX::Abstract::MultiVector &input_null, const NOX::Abstract::MultiVector::DenseMatrix &input_slack, const NOX::Abstract::MultiVector::DenseMatrix &input_param, NOX::Abstract::MultiVector &result_x, NOX::Abstract::MultiVector &result_null, NOX::Abstract::MultiVector::DenseMatrix &result_slack, NOX::Abstract::MultiVector::DenseMatrix &result_param) const |
Solves equations with contiguous arguments. | |
Moore-Spence pitchfork solver strategy based on "Phipps" bordering which is the 7-solve modified pitchfork bordering algorithm that uses bordered linear solves.
This class solves the Moore-Spence pitchfork Newton equations:
via the following modified block elimination scheme:
where and . Each bordered solve is implemented by a LOCA::BorderedSolver::AbstractStrategy strategy object.
LOCA::Pitchfork::MooreSpence::PhippsBordering::PhippsBordering | ( | const Teuchos::RCP< LOCA::GlobalData > & | global_data, |
const Teuchos::RCP< LOCA::Parameter::SublistParser > & | topParams, | ||
const Teuchos::RCP< Teuchos::ParameterList > & | solverParams | ||
) |
Constructor.
global_data | [in] Global data object |
topParams | [in] Parsed top-level parameter list |
solverParams | [in] Bordered solver parameters. Instantiates a bordered solver for solving the bordeded systems described above. See LOCA::BorderedSolver::Factory for a description of available solvers. |
References borderedSolver, globalData, LOCA::GlobalData::locaFactory, and solverParams.
|
virtual |
Set blocks in extended linear system.
group | [in] Underlying group representing J |
pfGroup | [in] Pitchfork group representing the pitchfork equations. |
asymMultiVector | [in] Multivector representing the asymmetric vector |
nullVector | [in] Vector representing v |
JnVector | [in] Vector representing Jv |
dfdp | [in] Vector representing df/dp |
dJndp | [in] Vector representing d(Jv)/dp |
Implements LOCA::Pitchfork::MooreSpence::SolverStrategy.
References NOX::Abstract::Vector::createMultiVector(), NOX::DeepCopy, NOX::Abstract::MultiVector::norm(), Teuchos::rcp(), and NOX::Abstract::Vector::TwoNorm.
|
virtual |
Solves the extended system as defined above.
The params argument is the linear solver parameters.
Implements LOCA::Pitchfork::MooreSpence::SolverStrategy.
References NOX::Abstract::MultiVector::clone(), LOCA::Pitchfork::MooreSpence::ExtendedMultiVector::getBifParams(), LOCA::Pitchfork::MooreSpence::ExtendedMultiVector::getNullMultiVec(), LOCA::Pitchfork::MooreSpence::ExtendedMultiVector::getSlacks(), LOCA::Pitchfork::MooreSpence::ExtendedMultiVector::getXMultiVec(), NOX::Abstract::MultiVector::init(), LOCA::Extended::MultiVector::numVectors(), NOX::Abstract::MultiVector::setBlock(), and NOX::Abstract::MultiVector::subView().