#include <LOCA_TurningPoint_MooreSpence_ExtendedVector.H>
Public Member Functions | |
ExtendedVector (const Teuchos::RCP< LOCA::GlobalData > &global_data, const NOX::Abstract::Vector &xVec, const NOX::Abstract::Vector &nullVec, double bifParam) | |
Constructor. | |
ExtendedVector (const ExtendedVector &source, NOX::CopyType type=NOX::DeepCopy) | |
Copy constructor. | |
virtual | ~ExtendedVector () |
Destructor. | |
virtual NOX::Abstract::Vector & | operator= (const NOX::Abstract::Vector &y) |
Assignment operator. | |
virtual LOCA::Extended::Vector & | operator= (const LOCA::Extended::Vector &y) |
Assignment operator. | |
virtual ExtendedVector & | operator= (const ExtendedVector &y) |
Assignment operator. | |
virtual Teuchos::RCP < NOX::Abstract::Vector > | clone (NOX::CopyType type=NOX::DeepCopy) const |
Cloning function. | |
virtual void | setVec (const NOX::Abstract::Vector &xVec, const NOX::Abstract::Vector &nullVec, double bifPar) |
Sets the Vector by setting its three components. | |
virtual Teuchos::RCP< const NOX::Abstract::Vector > | getXVec () const |
Returns the solution vector component of extended vector. | |
virtual Teuchos::RCP< const NOX::Abstract::Vector > | getNullVec () const |
Returns the null vector component of extended vector. | |
virtual double | getBifParam () const |
Get Bifurcation parameter. | |
virtual Teuchos::RCP < NOX::Abstract::Vector > | getXVec () |
Returns the solution vector component of extended vector. | |
virtual Teuchos::RCP < NOX::Abstract::Vector > | getNullVec () |
Returns the null vector component of extended vector. | |
virtual double & | getBifParam () |
Get Bifurcation parameter. | |
Protected Member Functions | |
ExtendedVector (const Teuchos::RCP< LOCA::GlobalData > &global_data) | |
Default Constructor. | |
virtual Teuchos::RCP < LOCA::Extended::MultiVector > | generateMultiVector (int nColumns, int nVectorRows, int nScalarRows) const |
generate an extended multi-vector | |
Friends | |
class | ExtendedMultiVector |
Declare LOCA::TurningPoint::MooreSpence::ExtendedMultiVector as a friend class so it can call protected methods. |
This class uses the LOCA::Extended::Vector implementation to store the solution, null, and parameter components of the turning point vector and merely provides an interface for naming which components of the vector these quantities correspond to.
Definition at line 72 of file LOCA_TurningPoint_MooreSpence_ExtendedVector.H.
LOCA::TurningPoint::MooreSpence::ExtendedVector::ExtendedVector | ( | const Teuchos::RCP< LOCA::GlobalData > & | global_data, | |
const NOX::Abstract::Vector & | xVec, | |||
const NOX::Abstract::Vector & | nullVec, | |||
double | bifParam | |||
) |
Constructor.
Definition at line 45 of file LOCA_TurningPoint_MooreSpence_ExtendedVector.C.
References LOCA::Extended::Vector::setScalar(), and LOCA::Extended::Vector::setVector().
LOCA::TurningPoint::MooreSpence::ExtendedVector::ExtendedVector | ( | const ExtendedVector & | source, | |
NOX::CopyType | type = NOX::DeepCopy | |||
) |
LOCA::TurningPoint::MooreSpence::ExtendedVector::~ExtendedVector | ( | ) | [virtual] |
LOCA::TurningPoint::MooreSpence::ExtendedVector::ExtendedVector | ( | const Teuchos::RCP< LOCA::GlobalData > & | global_data | ) | [protected] |
NOX::Abstract::Vector & LOCA::TurningPoint::MooreSpence::ExtendedVector::operator= | ( | const NOX::Abstract::Vector & | y | ) | [virtual] |
Assignment operator.
Reimplemented from LOCA::Extended::Vector.
Definition at line 70 of file LOCA_TurningPoint_MooreSpence_ExtendedVector.C.
Referenced by operator=().
LOCA::Extended::Vector & LOCA::TurningPoint::MooreSpence::ExtendedVector::operator= | ( | const LOCA::Extended::Vector & | y | ) | [virtual] |
Assignment operator.
Reimplemented from LOCA::Extended::Vector.
Definition at line 78 of file LOCA_TurningPoint_MooreSpence_ExtendedVector.C.
References operator=().
LOCA::TurningPoint::MooreSpence::ExtendedVector & LOCA::TurningPoint::MooreSpence::ExtendedVector::operator= | ( | const ExtendedVector & | y | ) | [virtual] |
Assignment operator.
Definition at line 86 of file LOCA_TurningPoint_MooreSpence_ExtendedVector.C.
References operator=().
Teuchos::RCP< NOX::Abstract::Vector > LOCA::TurningPoint::MooreSpence::ExtendedVector::clone | ( | NOX::CopyType | type = NOX::DeepCopy |
) | const [virtual] |
Cloning function.
Reimplemented from LOCA::Extended::Vector.
Definition at line 94 of file LOCA_TurningPoint_MooreSpence_ExtendedVector.C.
void LOCA::TurningPoint::MooreSpence::ExtendedVector::setVec | ( | const NOX::Abstract::Vector & | xVec, | |
const NOX::Abstract::Vector & | nullVec, | |||
double | bifPar | |||
) | [virtual] |
Sets the Vector by setting its three components.
Definition at line 103 of file LOCA_TurningPoint_MooreSpence_ExtendedVector.C.
References LOCA::Extended::Vector::setScalar(), and LOCA::Extended::Vector::setVector().
Teuchos::RCP< const NOX::Abstract::Vector > LOCA::TurningPoint::MooreSpence::ExtendedVector::getXVec | ( | ) | const [virtual] |
Returns the solution vector component of extended vector.
Definition at line 114 of file LOCA_TurningPoint_MooreSpence_ExtendedVector.C.
References LOCA::Extended::Vector::getVector().
Referenced by LOCA::TurningPoint::MooreSpence::ExtendedGroup::computeX(), LOCA::TurningPoint::MooreSpence::ExtendedGroup::printSolution(), LOCA::TurningPoint::MooreSpence::ExtendedGroup::projectToDraw(), and LOCA::TurningPoint::MooreSpence::ExtendedGroup::setX().
Teuchos::RCP< const NOX::Abstract::Vector > LOCA::TurningPoint::MooreSpence::ExtendedVector::getNullVec | ( | ) | const [virtual] |
Returns the null vector component of extended vector.
Definition at line 120 of file LOCA_TurningPoint_MooreSpence_ExtendedVector.C.
References LOCA::Extended::Vector::getVector().
Referenced by LOCA::TurningPoint::MooreSpence::ExtendedGroup::printSolution().
double LOCA::TurningPoint::MooreSpence::ExtendedVector::getBifParam | ( | ) | const [virtual] |
Get Bifurcation parameter.
Definition at line 126 of file LOCA_TurningPoint_MooreSpence_ExtendedVector.C.
References LOCA::Extended::Vector::getScalar().
Referenced by LOCA::TurningPoint::MooreSpence::ExtendedGroup::printSolution(), and LOCA::TurningPoint::MooreSpence::ExtendedGroup::projectToDraw().
Teuchos::RCP< NOX::Abstract::Vector > LOCA::TurningPoint::MooreSpence::ExtendedVector::getXVec | ( | ) | [virtual] |
Returns the solution vector component of extended vector.
Definition at line 132 of file LOCA_TurningPoint_MooreSpence_ExtendedVector.C.
References LOCA::Extended::Vector::getVector().
Teuchos::RCP< NOX::Abstract::Vector > LOCA::TurningPoint::MooreSpence::ExtendedVector::getNullVec | ( | ) | [virtual] |
Returns the null vector component of extended vector.
Definition at line 138 of file LOCA_TurningPoint_MooreSpence_ExtendedVector.C.
References LOCA::Extended::Vector::getVector().
double & LOCA::TurningPoint::MooreSpence::ExtendedVector::getBifParam | ( | ) | [virtual] |
Get Bifurcation parameter.
Definition at line 144 of file LOCA_TurningPoint_MooreSpence_ExtendedVector.C.
References LOCA::Extended::Vector::getScalar().
Teuchos::RCP< LOCA::Extended::MultiVector > LOCA::TurningPoint::MooreSpence::ExtendedVector::generateMultiVector | ( | int | nColumns, | |
int | nVectorRows, | |||
int | nScalarRows | |||
) | const [protected, virtual] |
generate an extended multi-vector
Returns an empty multivector of type LOCA::TurningPoint::MooreSpence::ExtendedMultiVector
Reimplemented from LOCA::Extended::Vector.
Definition at line 156 of file LOCA_TurningPoint_MooreSpence_ExtendedVector.C.
References LOCA::Extended::Vector::globalData.
friend class ExtendedMultiVector [friend] |
Declare LOCA::TurningPoint::MooreSpence::ExtendedMultiVector as a friend class so it can call protected methods.
Definition at line 78 of file LOCA_TurningPoint_MooreSpence_ExtendedVector.H.