Changeset 3713 in Sophya for trunk/SophyaPI/PIext/pitvmaad.h
- Timestamp:
- Dec 11, 2009, 9:57:10 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaPI/PIext/pitvmaad.h
r3520 r3713 13 13 #include "tvector.h" 14 14 15 // Definition d'enum pour choix de la quantite affichee pour les tableaux de complexes. 16 enum PICmplxDispOption { PICDO_Module, PICDO_Real, PICDO_Imag, PICDO_Phase, PICDO_Module2 }; 17 // Decode la presence d'une chaine opt contenant cdreal , cdimag , cdphase , cdmod , cdmod2 18 PICmplxDispOption StringToCmplxDispOption( string & opt ); 15 19 16 20 // Adaptateur de vecteurs SOPHYA a P1DArrayAdapter … … 18 22 class POTVectorAdapter : public P1DArrayAdapter { 19 23 public : 20 POTVectorAdapter(TVector<T>* v, bool ad=false);24 POTVectorAdapter(TVector<T>* v, bool ad=false, PICmplxDispOption dopt=PICDO_Module); 21 25 virtual ~POTVectorAdapter(); 22 26 virtual double Value(int i); 23 27 24 28 protected: 29 PICmplxDispOption dOpt; 25 30 bool aDel; 26 31 TVector<T>* mVec; … … 35 40 class POTMatrixAdapter : public P2DArrayAdapter { 36 41 public : 37 POTMatrixAdapter(TMatrix<T>* mtx, bool ad=false);42 POTMatrixAdapter(TMatrix<T>* mtx, bool ad=false, PICmplxDispOption dopt=PICDO_Module); 38 43 virtual ~POTMatrixAdapter(); 39 44 virtual double Value(int ix, int iy); … … 41 46 42 47 protected: 48 PICmplxDispOption dOpt; 43 49 bool aDel; 44 50 TMatrix<T>* mMtx;
Note:
See TracChangeset
for help on using the changeset viewer.