Ignore:
Timestamp:
07/24/15 16:40:06 (9 years ago)
Author:
rlacroix
Message:

Distributions and transformations: Avoid using heap allocations.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/trunk/src/server_distribution_description.hpp

    r591 r653  
    4343    std::vector<std::vector<int> > getServerIndexBegin() const; 
    4444    std::vector<std::vector<int> > getServerDimensionSizes() const; 
    45     const std::vector<CArray<size_t,1>* >& getGlobalIndex() const; 
     45    const std::vector<CArray<size_t,1> >& getGlobalIndex() const; 
    4646    const boost::unordered_map<size_t,int>& getGlobalIndexRange() const; 
    4747 
     
    5656 
    5757    //!< General case, index describes distribution of each server (rarely use) 
    58     std::vector<CArray<size_t,1>* > vecGlobalIndex_; 
     58    std::vector<CArray<size_t,1> > vecGlobalIndex_; 
    5959 
    6060    //!< In case we need only global index of one server with specific rank 
Note: See TracChangeset for help on using the changeset viewer.