LOCA::TurningPoint::MooreSpence::ExtendedVector Class Reference

Vector class to hold solution vectors, Newton vectors, etc. for the Moore-Spence turning point formulation. More...

#include <LOCA_TurningPoint_MooreSpence_ExtendedVector.H>

Inheritance diagram for LOCA::TurningPoint::MooreSpence::ExtendedVector:

Inheritance graph
[legend]
Collaboration diagram for LOCA::TurningPoint::MooreSpence::ExtendedVector:

Collaboration graph
[legend]

List of all members.

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::Vectoroperator= (const NOX::Abstract::Vector &y)
 Assignment operator.
virtual LOCA::Extended::Vectoroperator= (const LOCA::Extended::Vector &y)
 Assignment operator.
virtual ExtendedVectoroperator= (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.


Detailed Description

Vector class to hold solution vectors, Newton vectors, etc. for the Moore-Spence turning point formulation.

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.


Constructor & Destructor Documentation

LOCA::TurningPoint::MooreSpence::ExtendedVector::ExtendedVector ( const Teuchos::RCP< LOCA::GlobalData > &  global_data,
const NOX::Abstract::Vector xVec,
const NOX::Abstract::Vector nullVec,
double  bifParam 
)

LOCA::TurningPoint::MooreSpence::ExtendedVector::ExtendedVector ( const ExtendedVector source,
NOX::CopyType  type = NOX::DeepCopy 
)

Copy constructor.

Definition at line 57 of file LOCA_TurningPoint_MooreSpence_ExtendedVector.C.

LOCA::TurningPoint::MooreSpence::ExtendedVector::~ExtendedVector (  )  [virtual]

Destructor.

Definition at line 65 of file LOCA_TurningPoint_MooreSpence_ExtendedVector.C.

LOCA::TurningPoint::MooreSpence::ExtendedVector::ExtendedVector ( const Teuchos::RCP< LOCA::GlobalData > &  global_data  )  [protected]

Default Constructor.

Definition at line 149 of file LOCA_TurningPoint_MooreSpence_ExtendedVector.C.


Member Function Documentation

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]

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]

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.


Friends And Related Function Documentation

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.


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

Generated on Thu Dec 17 11:03:02 2009 for Nonlinear Solver Project by  doxygen 1.5.9