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_HOPF_MOORESPENCE_EXTENDEDMULTIVECTOR_H
00043 #define LOCA_HOPF_MOORESPENCE_EXTENDEDMULTIVECTOR_H
00044
00045 #include "LOCA_Extended_MultiVector.H"
00046
00047
00048 namespace LOCA {
00049 namespace Hopf {
00050 namespace MooreSpence {
00051 class ExtendedVector;
00052 }
00053 }
00054 }
00055
00056 namespace LOCA {
00057
00058 namespace Hopf {
00059
00060 namespace MooreSpence {
00061
00073 class ExtendedMultiVector : public LOCA::Extended::MultiVector {
00074
00079 friend class ExtendedVector;
00080
00081 public:
00082
00084
00087 ExtendedMultiVector(
00088 const Teuchos::RCP<LOCA::GlobalData>& global_data,
00089 const NOX::Abstract::Vector& cloneVec,
00090 int nColumns);
00091
00093 ExtendedMultiVector(
00094 const Teuchos::RCP<LOCA::GlobalData>& global_data,
00095 const NOX::Abstract::MultiVector& xVec,
00096 const NOX::Abstract::MultiVector& realEigenVec,
00097 const NOX::Abstract::MultiVector& imagEigenVec,
00098 const NOX::Abstract::MultiVector::DenseMatrix& freqs,
00099 const NOX::Abstract::MultiVector::DenseMatrix& bifParams);
00100
00102 ExtendedMultiVector(const ExtendedMultiVector& source,
00103 NOX::CopyType type = NOX::DeepCopy);
00104
00109 ExtendedMultiVector(const ExtendedMultiVector& source, int nColumns);
00110
00115 ExtendedMultiVector(const ExtendedMultiVector& source,
00116 const vector<int>& index, bool view);
00117
00119 virtual ~ExtendedMultiVector();
00120
00122 virtual ExtendedMultiVector&
00123 operator=(const ExtendedMultiVector& y);
00124
00126 virtual LOCA::Extended::MultiVector&
00127 operator=(const LOCA::Extended::MultiVector& y);
00128
00130 virtual NOX::Abstract::MultiVector&
00131 operator=(const NOX::Abstract::MultiVector& y);
00132
00137 virtual Teuchos::RCP<NOX::Abstract::MultiVector>
00138 clone(NOX::CopyType type = NOX::DeepCopy) const;
00139
00141 virtual Teuchos::RCP<NOX::Abstract::MultiVector>
00142 clone(int numvecs) const;
00143
00149 virtual Teuchos::RCP<NOX::Abstract::MultiVector>
00150 subCopy(const vector<int>& index) const;
00151
00156 virtual Teuchos::RCP<NOX::Abstract::MultiVector>
00157 subView(const vector<int>& index) const;
00158
00160 virtual Teuchos::RCP<const NOX::Abstract::MultiVector>
00161 getXMultiVec() const;
00162
00164 virtual Teuchos::RCP<NOX::Abstract::MultiVector>
00165 getXMultiVec();
00166
00171 virtual Teuchos::RCP<const NOX::Abstract::MultiVector>
00172 getRealEigenMultiVec() const;
00173
00178 virtual Teuchos::RCP<NOX::Abstract::MultiVector>
00179 getRealEigenMultiVec();
00180
00185 virtual Teuchos::RCP<const NOX::Abstract::MultiVector>
00186 getImagEigenMultiVec() const;
00187
00192 virtual Teuchos::RCP<NOX::Abstract::MultiVector>
00193 getImagEigenMultiVec();
00194
00196 virtual
00197 Teuchos::RCP<const NOX::Abstract::MultiVector::DenseMatrix>
00198 getFrequencies() const;
00199
00201 virtual
00202 Teuchos::RCP<NOX::Abstract::MultiVector::DenseMatrix>
00203 getFrequencies();
00204
00206 virtual
00207 Teuchos::RCP<const NOX::Abstract::MultiVector::DenseMatrix>
00208 getBifParams() const;
00209
00211 virtual
00212 Teuchos::RCP<NOX::Abstract::MultiVector::DenseMatrix>
00213 getBifParams();
00214
00216 virtual
00217 Teuchos::RCP<LOCA::Hopf::MooreSpence::ExtendedVector>
00218 getColumn(int i);
00219
00221 virtual
00222 Teuchos::RCP<const LOCA::Hopf::MooreSpence::ExtendedVector>
00223 getColumn(int i) const;
00224
00225 protected:
00226
00228
00231 ExtendedMultiVector(
00232 const Teuchos::RCP<LOCA::GlobalData>& global_data,
00233 int nColumns);
00234
00236
00240 virtual Teuchos::RCP<LOCA::Extended::Vector>
00241 generateVector(int nVecs, int nScalarRows) const;
00242
00243 };
00244 }
00245 }
00246 }
00247
00248 #endif