LOCA::PhaseTransition::ExtendedMultiVector Class Reference

MultiVector class to hold solution vectors, Newton vectors, etc. for the phase transition tracking algorithm. More...

#include <LOCA_PhaseTransition_ExtendedMultiVector.H>

Inheritance diagram for LOCA::PhaseTransition::ExtendedMultiVector:
Inheritance graph
[legend]
Collaboration diagram for LOCA::PhaseTransition::ExtendedMultiVector:
Collaboration graph
[legend]

List of all members.

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 ExtendedMultiVectoroperator= (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::PhaseTransition::ExtendedVector
getColumn (int i)
 Returns ith column as an extended vector.
virtual Teuchos::RCP< const
LOCA::PhaseTransition::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::PhaseTransition::MooreSpence::ExtendedVector as a friend class so it can call protected methods.

Detailed Description

MultiVector class to hold solution vectors, Newton vectors, etc. for the phase transition tracking algorithm.

This class uses the LOCA::Extended::MultiVector implementation to store the solution1, solution2, and parameter components of the phase transition multivector and merely provides an interface for naming which components of the multivector these quantities correspond to.


Constructor & Destructor Documentation

LOCA::PhaseTransition::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

References NOX::Abstract::Vector::createMultiVector(), LOCA::Extended::MultiVector::setMultiVectorPtr(), and NOX::ShapeCopy.

LOCA::PhaseTransition::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

References NOX::Abstract::MultiVector::clone(), NOX::DeepCopy, LOCA::Extended::MultiVector::getScalars(), and LOCA::Extended::MultiVector::setMultiVectorPtr().

LOCA::PhaseTransition::ExtendedMultiVector::ExtendedMultiVector ( const Teuchos::RCP< LOCA::GlobalData > &  global_data,
int  nColumns 
) [protected]

Constructor.

Creates an empty multivector with nColumns columns


Member Function Documentation

Teuchos::RCP< LOCA::Extended::Vector > LOCA::PhaseTransition::ExtendedMultiVector::generateVector ( int  nVecs,
int  nScalarRows 
) const [protected, virtual]

Generate a derived extended vector.

Returns a vector of type LOCA::PhaseTransition::MooreSpence::ExtendedVector

Reimplemented from LOCA::Extended::MultiVector.

References LOCA::Extended::MultiVector::globalData, and Teuchos::rcp().


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends
Generated on Wed Apr 13 09:59:43 2011 for NOX by  doxygen 1.6.3