Changeset 894 in Sophya for trunk/SophyaLib/TArray/basarr.h


Ignore:
Timestamp:
Apr 12, 2000, 7:42:33 PM (25 years ago)
Author:
ansari
Message:

documentation cmv 12/4/00

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SophyaLib/TArray/basarr.h

    r890 r894  
    1313
    1414
    15 //! Maximum number of dimensions for an array
     15//! Maximum number of dimensions for an array
     16/*! \anchor BASEARRAY_MAXNDIMS */
    1617#define BASEARRAY_MAXNDIMS  5
    1718
     
    2122//! Base class for template arrays
    2223/*!
    23   Define base methods, enum and defaults for TArray , TMatrix and TVector
     24  No data are connected to this class.
     25
     26  Define base methods, enum and defaults for TArray , TMatrix and TVector.
    2427*/
    2528class BaseArray : public AnyDataObj {
     
    5154  static inline uint_4 GetPrintLevel() { return prt_lev_; }
    5255
    53   //! Set Default Memory Mapping
    5456  static short   SetDefaultMemoryMapping(short mm=CMemoryMapping);
    5557  //! Get Default Memory Mapping
    5658  static inline short GetDefaultMemoryMapping() { return default_memory_mapping; }
    57   //! Set Default Vector Type
    5859  static short   SetDefaultVectorType(short vt=ColumnVector);
    5960  //! Get Default Vector Type
     
    146147  virtual string InfoString() const;
    147148
    148   //  Objet DVList info
    149   DVList&       Info();
     149  // DVList info Object
     150  DVList& Info();
    150151
    151152protected:
     
    166167  virtual void UpdateSubArraySizes(BaseArray & ra, uint_4 ndim, uint_4 * siz, uint_4 * pos, uint_4 * step) const;
    167168
    168   uint_4 ndim_; //! number of dimensions of array
    169   uint_4 size_[BASEARRAY_MAXNDIMS]; //! array of the size in each dimension
    170   uint_8 totsize_; //! Total number of elements
     169  uint_4 ndim_; //!< number of dimensions of array
     170  uint_4 size_[BASEARRAY_MAXNDIMS]; //!< array of the size in each dimension
     171  uint_8 totsize_; //!< Total number of elements
    171172  //! two consecutive elements distance in a given dimension
    172173  uint_4 step_[BASEARRAY_MAXNDIMS];
    173   uint_4 minstep_; //! minimal step (in any axes)
    174   uint_4 moystep_; //! mean step, if == 0 --\> non regular steps
    175   uint_8 offset_;  //! global offset -\> position of elem[0] in DataBlock
    176   uint_4 marowi_; //! For matrices, Row index in dimensions
    177   uint_4 macoli_; //! For matrices, Column index in dimensions
    178   uint_4 veceli_; //! For vectors, dimension index = marowi_/macoli_ (Row/Col vectors)
    179   bool ck_memo_vt_; //! if true, check MemoryOrg./VectorType for CompareSize
    180   DVList* mInfo;    //! Infos (variables) attached to the array
    181 
    182   static char * ck_op_msg_[6]; //! Operation messages for CheckDI() CheckBound()
    183   static uint_4 max_nprt_; //! Nb maximum number of printed elements
    184   static uint_4 prt_lev_;  //! Print level
    185   static short default_memory_mapping; //! Default memory mapping
    186   static short default_vector_type;    //! Default vector type Row/Column
    187   static uint_8 openmp_size_threshold; //! Size limit for parallel routine calls
     174  uint_4 minstep_; //!< minimal step (in any axes)
     175  uint_4 moystep_; //!< mean step, if == 0 --\> non regular steps
     176  uint_8 offset_;  //!< global offset -\> position of elem[0] in DataBlock
     177  uint_4 marowi_; //!< For matrices, Row index in dimensions
     178  uint_4 macoli_; //!< For matrices, Column index in dimensions
     179  uint_4 veceli_; //!< For vectors, dimension index = marowi_/macoli_ (Row/Col vectors)
     180  bool ck_memo_vt_; //!< if true, check MemoryOrg./VectorType for CompareSize
     181  DVList* mInfo;    //!< Infos (variables) attached to the array
     182
     183  static char * ck_op_msg_[6]; //!< Operation messages for CheckDI() CheckBound()
     184  static uint_4 max_nprt_; //!< maximum number of printed elements
     185  static uint_4 prt_lev_;  //!< Print level
     186  static short default_memory_mapping; //!< Default memory mapping
     187  static short default_vector_type;    //!< Default vector type Row/Column
     188  static uint_8 openmp_size_threshold; //!< Size limit for parallel routine calls
    188189};
    189190
Note: See TracChangeset for help on using the changeset viewer.