27template <
class T,
unsigned Dim>
class LField;
28template <
class T,
unsigned Dim>
37 inline static int calc(
int n)
46 inline static int calc(
int n)
56template<
class T,
unsigned Dim>
97 int size(
unsigned d)
const {
return Owned[d].length(); }
192 overlap.push_back(newCacheItem);
292template<
class T,
unsigned Dim>
std::ostream & operator<<(std::ostream &, const LField< T, Dim > &)
const NDIndex< Dim > & getOwned() const
void ReallyUncompress(bool fill_domain)
const NDIndex< Dim > & getAllocated() const
int size(unsigned d) const
void swapData(LField< T, Dim > &a)
const T & getCompressedData() const
void AddToOverlapCache(LField< T, Dim > *newCacheItem)
CompressedBrickIterator< Complex_t, Dim > iterator
iterator begin(const NDIndex< Dim > &domain)
void allocateStorage(int newsize)
void Compress(const T &val)
bool IsCompressed() const
const LField< T, Dim > & operator=(const LField< T, Dim > &)
const iterator & end() const
std::vector< LField< Complex_t, Dim > * > overlap
bool CanCompressBasedOnPhysicalCells() const
bool CanCompress(T x) const
bool TryCompress(bool baseOnPhysicalCells=false)
void write(std::ostream &) const
void CompressBasedOnPhysicalCells()
void Uncompress(bool fill_domain=true)
OverlapIterator BeginOverlap()
LField(const LField< T, Dim > &)
LField(const NDIndex< Dim > &owned, const NDIndex< Dim > &allocated, int vnode, bool p)
LField(const NDIndex< Dim > &owned, const NDIndex< Dim > &allocated, int vnode=-1)
std::vector< LField< Complex_t, Dim > * >::iterator OverlapIterator
OverlapIterator EndOverlap()
const iterator & begin() const
iterator begin(const NDIndex< Dim > &domain, T &)
bool OverlapCacheInitialized()