00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034
00035
00036
00037
00038
00039
00040
00041
00042 #ifndef LOCA_MULTICONTINUATION_EXTENDEDMULTIVECTOR_H
00043 #define LOCA_MULTICONTINUATION_EXTENDEDMULTIVECTOR_H
00044
00045 #include "LOCA_Extended_MultiVector.H"
00046
00047
00048 namespace LOCA {
00049 namespace MultiContinuation {
00050 class ExtendedVector;
00051 }
00052 }
00053
00054 namespace LOCA {
00055
00056 namespace MultiContinuation {
00057
00068 class ExtendedMultiVector : public LOCA::Extended::MultiVector {
00069
00071
00074 friend class ExtendedVector;
00075
00076 public:
00077
00079
00083 ExtendedMultiVector(
00084 const Teuchos::RCP<LOCA::GlobalData>& global_data,
00085 const NOX::Abstract::Vector& xVec, int nColumns,
00086 int nScalarRows, NOX::CopyType type = NOX::DeepCopy);
00087
00089
00093 ExtendedMultiVector(
00094 const Teuchos::RCP<LOCA::GlobalData>& global_data,
00095 const NOX::Abstract::MultiVector& xVec,
00096 int nScalarRows);
00097
00099
00102 ExtendedMultiVector(
00103 const Teuchos::RCP<LOCA::GlobalData>& global_data,
00104 const NOX::Abstract::MultiVector& xVec,
00105 const NOX::Abstract::MultiVector::DenseMatrix& params);
00106
00108 ExtendedMultiVector(const ExtendedMultiVector& source,
00109 NOX::CopyType type = NOX::DeepCopy);
00110
00115 ExtendedMultiVector(const ExtendedMultiVector& source, int nColumns);
00116
00121 ExtendedMultiVector(const ExtendedMultiVector& source,
00122 const vector<int>& index, bool view);
00123
00125 virtual ~ExtendedMultiVector();
00126
00128 virtual ExtendedMultiVector&
00129 operator=(const ExtendedMultiVector& y);
00130
00132 virtual LOCA::Extended::MultiVector&
00133 operator=(const LOCA::Extended::MultiVector& y);
00134
00136 virtual NOX::Abstract::MultiVector&
00137 operator=(const NOX::Abstract::MultiVector& y);
00138
00143 virtual Teuchos::RCP<NOX::Abstract::MultiVector>
00144 clone(NOX::CopyType type = NOX::DeepCopy) const;
00145
00147 virtual Teuchos::RCP<NOX::Abstract::MultiVector>
00148 clone(int numvecs) const;
00149
00154 virtual Teuchos::RCP<NOX::Abstract::MultiVector>
00155 subCopy(const vector<int>& index) const;
00156
00161 virtual Teuchos::RCP<NOX::Abstract::MultiVector>
00162 subView(const vector<int>& index) const;
00163
00165 virtual Teuchos::RCP<const NOX::Abstract::MultiVector>
00166 getXMultiVec() const;
00167
00169 virtual Teuchos::RCP<NOX::Abstract::MultiVector> getXMultiVec();
00170
00171 protected:
00172
00174
00178 ExtendedMultiVector(
00179 const Teuchos::RCP<LOCA::GlobalData>& global_data,
00180 int nColumns, int nScalarRows);
00181
00183
00186 virtual Teuchos::RCP<LOCA::Extended::Vector>
00187 generateVector(int nVecs, int nScalarRows) const;
00188
00189 };
00190 }
00191 }
00192
00193 #endif