#include <LOCA_TurningPoint_MooreSpence_ExtendedMultiVector.H>
Public Member Functions | |
ExtendedMultiVector (const Teuchos::RCP< LOCA::GlobalData > &global_data, const NOX::Abstract::Vector &cloneVec, int nColumns) | |
Constructor. | |
ExtendedMultiVector (const Teuchos::RCP< LOCA::GlobalData > &global_data, const NOX::Abstract::MultiVector &xVec, const NOX::Abstract::MultiVector &nullVec, const NOX::Abstract::MultiVector::DenseMatrix &bifParams) | |
Constructor. | |
ExtendedMultiVector (const ExtendedMultiVector &source, NOX::CopyType type=NOX::DeepCopy) | |
Copy constructor. | |
ExtendedMultiVector (const ExtendedMultiVector &source, int nColumns) | |
Copy constructor that creates a new multivector with nColumns columns. | |
ExtendedMultiVector (const ExtendedMultiVector &source, const vector< int > &index, bool view) | |
Copy constructor that creates a sub copy or view of the given multivector. | |
virtual | ~ExtendedMultiVector () |
Destructor. | |
virtual ExtendedMultiVector & | operator= (const ExtendedMultiVector &y) |
Assignment operator. | |
virtual LOCA::Extended::MultiVector & | operator= (const LOCA::Extended::MultiVector &y) |
Assignment operator. | |
virtual NOX::Abstract::MultiVector & | operator= (const NOX::Abstract::MultiVector &y) |
Assignment operator. | |
virtual Teuchos::RCP < NOX::Abstract::MultiVector > | clone (NOX::CopyType type=NOX::DeepCopy) const |
Create a new multi-vector of the same underlying type by cloning "this", and return a pointer to the new vector. | |
virtual Teuchos::RCP < NOX::Abstract::MultiVector > | clone (int numvecs) const |
Creates a new multi-vector with numvecs columns. | |
virtual Teuchos::RCP < NOX::Abstract::MultiVector > | subCopy (const vector< int > &index) const |
Creates a new multi-vector with index.size() columns whose columns are copies of the columns of *this given by index . | |
virtual Teuchos::RCP < NOX::Abstract::MultiVector > | subView (const vector< int > &index) const |
Creates a new multi-vector with index.size() columns that shares the columns of *this given by index . | |
virtual Teuchos::RCP< const NOX::Abstract::MultiVector > | getXMultiVec () const |
Returns the solution vector component of extended multivector. | |
virtual Teuchos::RCP < NOX::Abstract::MultiVector > | getXMultiVec () |
Returns the solution vector component of extended multivector. | |
virtual Teuchos::RCP< const NOX::Abstract::MultiVector > | getNullMultiVec () const |
Returns the null vector component of extended multivector. | |
virtual Teuchos::RCP < NOX::Abstract::MultiVector > | getNullMultiVec () |
Returns the null vector component of extended multivector. | |
virtual Teuchos::RCP < LOCA::TurningPoint::MooreSpence::ExtendedVector > | getColumn (int i) |
Returns ith column as an extended vector. | |
virtual Teuchos::RCP< const LOCA::TurningPoint::MooreSpence::ExtendedVector > | getColumn (int i) const |
Returns ith column as an extended vector. | |
Protected Member Functions | |
ExtendedMultiVector (const Teuchos::RCP< LOCA::GlobalData > &global_data, int nColumns) | |
Constructor. | |
virtual Teuchos::RCP < LOCA::Extended::Vector > | generateVector (int nVecs, int nScalarRows) const |
Generate a derived extended vector. | |
Friends | |
class | ExtendedVector |
Declare LOCA::TurningPoint::MooreSpence::ExtendedVector as a friend class so it can call protected methods. |
This class uses the LOCA::Extended::MultiVector implementation to store the solution, null, and parameter components of the turning point multivector and merely provides an interface for naming which components of the multivector these quantities correspond to.
Definition at line 72 of file LOCA_TurningPoint_MooreSpence_ExtendedMultiVector.H.
LOCA::TurningPoint::MooreSpence::ExtendedMultiVector::ExtendedMultiVector | ( | const Teuchos::RCP< LOCA::GlobalData > & | global_data, | |
const NOX::Abstract::Vector & | cloneVec, | |||
int | nColumns | |||
) |
Constructor.
Generates a multivector with nColumns columns from cloneVec
Definition at line 45 of file LOCA_TurningPoint_MooreSpence_ExtendedMultiVector.C.
References NOX::Abstract::Vector::createMultiVector(), LOCA::Extended::MultiVector::setMultiVectorPtr(), and NOX::ShapeCopy.
LOCA::TurningPoint::MooreSpence::ExtendedMultiVector::ExtendedMultiVector | ( | const Teuchos::RCP< LOCA::GlobalData > & | global_data, | |
const NOX::Abstract::MultiVector & | xVec, | |||
const NOX::Abstract::MultiVector & | nullVec, | |||
const NOX::Abstract::MultiVector::DenseMatrix & | bifParams | |||
) |
Constructor.
Construct the multivector from xVec, nullVec, and bifParams
Definition at line 59 of file LOCA_TurningPoint_MooreSpence_ExtendedMultiVector.C.
References NOX::Abstract::MultiVector::clone(), NOX::DeepCopy, LOCA::Extended::MultiVector::getScalars(), and LOCA::Extended::MultiVector::setMultiVectorPtr().
LOCA::TurningPoint::MooreSpence::ExtendedMultiVector::ExtendedMultiVector | ( | const ExtendedMultiVector & | source, | |
NOX::CopyType | type = NOX::DeepCopy | |||
) |
Copy constructor.
Definition at line 72 of file LOCA_TurningPoint_MooreSpence_ExtendedMultiVector.C.
LOCA::TurningPoint::MooreSpence::ExtendedMultiVector::ExtendedMultiVector | ( | const ExtendedMultiVector & | source, | |
int | nColumns | |||
) |
Copy constructor that creates a new multivector with nColumns columns.
Definition at line 79 of file LOCA_TurningPoint_MooreSpence_ExtendedMultiVector.C.
LOCA::TurningPoint::MooreSpence::ExtendedMultiVector::ExtendedMultiVector | ( | const ExtendedMultiVector & | source, | |
const vector< int > & | index, | |||
bool | view | |||
) |
Copy constructor that creates a sub copy or view of the given multivector.
Definition at line 86 of file LOCA_TurningPoint_MooreSpence_ExtendedMultiVector.C.
LOCA::TurningPoint::MooreSpence::ExtendedMultiVector::~ExtendedMultiVector | ( | ) | [virtual] |
LOCA::TurningPoint::MooreSpence::ExtendedMultiVector::ExtendedMultiVector | ( | const Teuchos::RCP< LOCA::GlobalData > & | global_data, | |
int | nColumns | |||
) | [protected] |
Constructor.
Creates an empty multivector with nColumns columns
Definition at line 175 of file LOCA_TurningPoint_MooreSpence_ExtendedMultiVector.C.
LOCA::TurningPoint::MooreSpence::ExtendedMultiVector & LOCA::TurningPoint::MooreSpence::ExtendedMultiVector::operator= | ( | const ExtendedMultiVector & | y | ) | [virtual] |
Assignment operator.
Definition at line 114 of file LOCA_TurningPoint_MooreSpence_ExtendedMultiVector.C.
Referenced by operator=().
LOCA::Extended::MultiVector & LOCA::TurningPoint::MooreSpence::ExtendedMultiVector::operator= | ( | const LOCA::Extended::MultiVector & | y | ) | [virtual] |
Assignment operator.
Reimplemented from LOCA::Extended::MultiVector.
Definition at line 98 of file LOCA_TurningPoint_MooreSpence_ExtendedMultiVector.C.
References operator=().
NOX::Abstract::MultiVector & LOCA::TurningPoint::MooreSpence::ExtendedMultiVector::operator= | ( | const NOX::Abstract::MultiVector & | y | ) | [virtual] |
Assignment operator.
Reimplemented from LOCA::Extended::MultiVector.
Definition at line 106 of file LOCA_TurningPoint_MooreSpence_ExtendedMultiVector.C.
References operator=().
Teuchos::RCP< NOX::Abstract::MultiVector > LOCA::TurningPoint::MooreSpence::ExtendedMultiVector::clone | ( | NOX::CopyType | type = NOX::DeepCopy |
) | const [virtual] |
Create a new multi-vector of the same underlying type by cloning "this", and return a pointer to the new vector.
Reimplemented from LOCA::Extended::MultiVector.
Definition at line 122 of file LOCA_TurningPoint_MooreSpence_ExtendedMultiVector.C.
Teuchos::RCP< NOX::Abstract::MultiVector > LOCA::TurningPoint::MooreSpence::ExtendedMultiVector::clone | ( | int | numvecs | ) | const [virtual] |
Creates a new multi-vector with numvecs
columns.
Reimplemented from LOCA::Extended::MultiVector.
Definition at line 129 of file LOCA_TurningPoint_MooreSpence_ExtendedMultiVector.C.
Teuchos::RCP< NOX::Abstract::MultiVector > LOCA::TurningPoint::MooreSpence::ExtendedMultiVector::subCopy | ( | const vector< int > & | index | ) | const [virtual] |
Creates a new multi-vector with index.size()
columns whose columns are copies of the columns of *this
given by index
.
Reimplemented from LOCA::Extended::MultiVector.
Definition at line 136 of file LOCA_TurningPoint_MooreSpence_ExtendedMultiVector.C.
Teuchos::RCP< NOX::Abstract::MultiVector > LOCA::TurningPoint::MooreSpence::ExtendedMultiVector::subView | ( | const vector< int > & | index | ) | const [virtual] |
Creates a new multi-vector with index.size()
columns that shares the columns of *this
given by index
.
Reimplemented from LOCA::Extended::MultiVector.
Definition at line 144 of file LOCA_TurningPoint_MooreSpence_ExtendedMultiVector.C.
Referenced by LOCA::TurningPoint::MooreSpence::ExtendedGroup::setupViews().
Teuchos::RCP< const NOX::Abstract::MultiVector > LOCA::TurningPoint::MooreSpence::ExtendedMultiVector::getXMultiVec | ( | ) | const [virtual] |
Returns the solution vector component of extended multivector.
Definition at line 152 of file LOCA_TurningPoint_MooreSpence_ExtendedMultiVector.C.
References LOCA::Extended::MultiVector::getMultiVector().
Referenced by LOCA::TurningPoint::MooreSpence::ExtendedGroup::applyJacobianMultiVector(), LOCA::TurningPoint::MooreSpence::ExtendedGroup::applyJacobianTransposeMultiVector(), LOCA::TurningPoint::MooreSpence::ExtendedGroup::computeDfDpMulti(), LOCA::TurningPoint::MooreSpence::ExtendedGroup::computeJacobian(), LOCA::TurningPoint::MooreSpence::SalingerBordering::solve(), LOCA::TurningPoint::MooreSpence::PhippsBordering::solve(), and LOCA::TurningPoint::MooreSpence::SalingerBordering::solveTranspose().
Teuchos::RCP< NOX::Abstract::MultiVector > LOCA::TurningPoint::MooreSpence::ExtendedMultiVector::getXMultiVec | ( | ) | [virtual] |
Returns the solution vector component of extended multivector.
Definition at line 158 of file LOCA_TurningPoint_MooreSpence_ExtendedMultiVector.C.
References LOCA::Extended::MultiVector::getMultiVector().
Teuchos::RCP< const NOX::Abstract::MultiVector > LOCA::TurningPoint::MooreSpence::ExtendedMultiVector::getNullMultiVec | ( | ) | const [virtual] |
Returns the null vector component of extended multivector.
Definition at line 164 of file LOCA_TurningPoint_MooreSpence_ExtendedMultiVector.C.
References LOCA::Extended::MultiVector::getMultiVector().
Referenced by LOCA::TurningPoint::MooreSpence::ExtendedGroup::applyJacobianMultiVector(), LOCA::TurningPoint::MooreSpence::ExtendedGroup::applyJacobianTransposeMultiVector(), LOCA::TurningPoint::MooreSpence::ExtendedGroup::computeDfDpMulti(), LOCA::TurningPoint::MooreSpence::ExtendedGroup::computeJacobian(), LOCA::TurningPoint::MooreSpence::SalingerBordering::solve(), LOCA::TurningPoint::MooreSpence::PhippsBordering::solve(), and LOCA::TurningPoint::MooreSpence::SalingerBordering::solveTranspose().
Teuchos::RCP< NOX::Abstract::MultiVector > LOCA::TurningPoint::MooreSpence::ExtendedMultiVector::getNullMultiVec | ( | ) | [virtual] |
Returns the null vector component of extended multivector.
Definition at line 170 of file LOCA_TurningPoint_MooreSpence_ExtendedMultiVector.C.
References LOCA::Extended::MultiVector::getMultiVector().
Teuchos::RCP< LOCA::TurningPoint::MooreSpence::ExtendedVector > LOCA::TurningPoint::MooreSpence::ExtendedMultiVector::getColumn | ( | int | i | ) | [virtual] |
Returns ith column as an extended vector.
Definition at line 193 of file LOCA_TurningPoint_MooreSpence_ExtendedMultiVector.C.
References LOCA::Extended::MultiVector::getVector().
Referenced by LOCA::TurningPoint::MooreSpence::ExtendedGroup::ExtendedGroup(), and LOCA::TurningPoint::MooreSpence::ExtendedGroup::setupViews().
Teuchos::RCP< const LOCA::TurningPoint::MooreSpence::ExtendedVector > LOCA::TurningPoint::MooreSpence::ExtendedMultiVector::getColumn | ( | int | i | ) | const [virtual] |
Returns ith column as an extended vector.
Definition at line 199 of file LOCA_TurningPoint_MooreSpence_ExtendedMultiVector.C.
References LOCA::Extended::MultiVector::getVector().
Teuchos::RCP< LOCA::Extended::Vector > LOCA::TurningPoint::MooreSpence::ExtendedMultiVector::generateVector | ( | int | nVecs, | |
int | nScalarRows | |||
) | const [protected, virtual] |
Generate a derived extended vector.
Returns a vector of type LOCA::TurningPoint::MooreSpence::ExtendedVector
Reimplemented from LOCA::Extended::MultiVector.
Definition at line 183 of file LOCA_TurningPoint_MooreSpence_ExtendedMultiVector.C.
References LOCA::Extended::MultiVector::globalData.
friend class ExtendedVector [friend] |
Declare LOCA::TurningPoint::MooreSpence::ExtendedVector as a friend class so it can call protected methods.
Definition at line 78 of file LOCA_TurningPoint_MooreSpence_ExtendedMultiVector.H.