LField< T, Dim > Class Template Reference

#include <LField.h>

Inheritance diagram for LField< T, Dim >:

Inheritance graph
[legend]
Collaboration diagram for LField< T, Dim >:

Collaboration graph
[legend]
List of all members.

Public Types

typedef CompressedBrickIterator<
T, Dim > 
iterator
typedef NDIndex< Dim > Domain_t
typedef vector< LField< T,
Dim > * >::iterator 
OverlapIterator

Public Member Functions

 LField (const NDIndex< Dim > &owned, const NDIndex< Dim > &allocated, int vnode=-1)
 LField (const LField< T, Dim > &)
 ~LField ()
int size (unsigned d) const
const NDIndex< Dim > & getAllocated () const
const NDIndex< Dim > & getOwned () const
T * getP ()
int getVnode () const
const iteratorbegin () const
const iteratorend () const
iterator begin (const NDIndex< Dim > &domain)
iterator begin (const NDIndex< Dim > &domain, T &)
bool IsCompressed () const
bool TryCompress (bool baseOnPhysicalCells=false)
bool CanCompress () const
bool CanCompress (T x) const
void Compress ()
void Compress (const T &val)
void Uncompress (bool fill_domain=true)
T & getCompressedData ()
const T & getCompressedData () const
bool OverlapCacheInitialized ()
void AddToOverlapCache (LField< T, Dim > *newCacheItem)
OverlapIterator BeginOverlap ()
OverlapIterator EndOverlap ()
void swapData (LField< T, Dim > &a)
void write (ostream &) const

Detailed Description

template<class T, unsigned Dim>
class LField< T, Dim >

Definition at line 56 of file LField.h.


Member Typedef Documentation

template<class T, unsigned Dim>
typedef NDIndex<Dim> LField< T, Dim >::Domain_t
 

Definition at line 64 of file LField.h.

template<class T, unsigned Dim>
typedef CompressedBrickIterator<T,Dim> LField< T, Dim >::iterator
 

Definition at line 61 of file LField.h.

template<class T, unsigned Dim>
typedef vector< LField<T, Dim> *>::iterator LField< T, Dim >::OverlapIterator
 

Definition at line 189 of file LField.h.


Constructor & Destructor Documentation

template<class T, unsigned Dim>
LField< T, Dim >::LField const NDIndex< Dim > &  owned,
const NDIndex< Dim > &  allocated,
int  vnode = -1
 

Definition at line 97 of file LField.cpp.

References LFieldInitializer< T >::apply(), CT, IpplInfo::noFieldCompression, TAU_FIELD, TAU_PROFILE, and TAU_TYPE_STRING.

Here is the call graph for this function:

template<class T, unsigned Dim>
LField< T, Dim >::LField const LField< T, Dim > &   ) 
 

Definition at line 134 of file LField.cpp.

References LField< T, Dim >::CompressedData, CT, LField< T, Dim >::IsCompressed(), TAU_FIELD, TAU_PROFILE, and TAU_TYPE_STRING.

Here is the call graph for this function:

template<class T, unsigned Dim>
LField< T, Dim >::~LField  ) 
 

Definition at line 184 of file LField.cpp.


Member Function Documentation

template<class T, unsigned Dim>
void LField< T, Dim >::AddToOverlapCache LField< T, Dim > *  newCacheItem  )  [inline]
 

Definition at line 181 of file LField.h.

template<class T, unsigned Dim>
LField< T, Dim >::iterator LField< T, Dim >::begin const NDIndex< Dim > &  domain,
T & 
 

Definition at line 614 of file LField.cpp.

References CT, LField< T, Dim >::IsCompressed(), TAU_FIELD, TAU_PROFILE, and TAU_TYPE_STRING.

Here is the call graph for this function:

template<class T, unsigned Dim>
LField< T, Dim >::iterator LField< T, Dim >::begin const NDIndex< Dim > &  domain  ) 
 

Definition at line 595 of file LField.cpp.

template<class T, unsigned Dim>
const iterator& LField< T, Dim >::begin  )  const [inline]
 

Definition at line 103 of file LField.h.

Referenced by BareField< T, Dim >::accumGuardCells(), assign(), LField< T, Dim >::Compress(), BareField< T, Dim >::fillGuardCells(), BareField< T, Dim >::setGuardCells(), SubFieldIter< T, Dim, SOffset< Dim > >::setLFieldData(), TryCompressLHS(), DLDescriptor< D, Dim, C, T >::unpackData(), DLDescriptor< D, Dim, C, T >::unpackStdData(), LField< T, Dim >::write(), and BareField< T, Dim >::writeb().

template<class T, unsigned Dim>
OverlapIterator LField< T, Dim >::BeginOverlap  )  [inline]
 

Definition at line 191 of file LField.h.

template<class T, unsigned Dim>
bool LField< T, Dim >::CanCompress x  )  const
 

Definition at line 241 of file LField.cpp.

References ADDIPPLSTAT, CT, endl(), IpplInfo::extraCompressChecks, LField< T, Dim >::getAllocated(), LField< T, Dim >::IsCompressed(), LFIELDMSG, IpplInfo::noFieldCompression, PAssert, TAU_FIELD, TAU_PROFILE, and TAU_TYPE_STRING.

Here is the call graph for this function:

template<class T, unsigned Dim>
bool LField< T, Dim >::CanCompress  )  const [inline]
 

Definition at line 139 of file LField.h.

Referenced by LField< T, 2U >::CanCompress(), and LField< T, Dim >::TryCompress().

template<class T, unsigned Dim>
void LField< T, Dim >::Compress const T &  val  ) 
 

Definition at line 462 of file LField.cpp.

References LField< T, Dim >::begin(), CompressedBrickIterator< T, Dim >::Compress(), CT, LField< T, Dim >::end(), endl(), LField< T, Dim >::getOwned(), INFORM_ALL_NODES, LField< T, Dim >::IsCompressed(), LFIELDMSG, IpplInfo::noFieldCompression, TAU_FIELD, TAU_PROFILE, and TAU_TYPE_STRING.

Here is the call graph for this function:

template<class T, unsigned Dim>
void LField< T, Dim >::Compress  )  [inline]
 

Definition at line 154 of file LField.h.

Referenced by LField< T, 2U >::Compress(), BareField< T, Dim >::setGuardCells(), LField< T, Dim >::TryCompress(), TryCompressLHS(), DLDescriptor< D, Dim, C, T >::unpackData(), and DLDescriptor< D, Dim, C, T >::unpackStdData().

template<class T, unsigned Dim>
const iterator& LField< T, Dim >::end  )  const [inline]
 

Definition at line 104 of file LField.h.

Referenced by LField< T, Dim >::Compress(), DLDescriptor< D, Dim, C, T >::unpackData(), DLDescriptor< D, Dim, C, T >::unpackStdData(), and LField< T, Dim >::write().

template<class T, unsigned Dim>
OverlapIterator LField< T, Dim >::EndOverlap  )  [inline]
 

Definition at line 192 of file LField.h.

template<class T, unsigned Dim>
const NDIndex<Dim>& LField< T, Dim >::getAllocated  )  const [inline]
 

Definition at line 91 of file LField.h.

Referenced by BareField< T, Dim >::accumGuardCells(), LField< T, Dim >::CanCompress(), and BareField< T, Dim >::fillGuardCells().

template<class T, unsigned Dim>
const T& LField< T, Dim >::getCompressedData  )  const [inline]
 

Definition at line 173 of file LField.h.

template<class T, unsigned Dim>
T& LField< T, Dim >::getCompressedData  )  [inline]
 

Definition at line 172 of file LField.h.

Referenced by ExtrapolateAndZeroFaceBCApply2(), ExtrapolateAndZeroFaceBCApply3(), ExtrapolateFaceBCApply2(), DLDescriptor< D, Dim, C, T >::packData(), and DLDescriptor< D, Dim, C, T >::packStdData().

template<class T, unsigned Dim>
const NDIndex<Dim>& LField< T, Dim >::getOwned  )  const [inline]
 

Definition at line 92 of file LField.h.

Referenced by BareField< T, Dim >::accumGuardCells(), assign(), LField< T, Dim >::Compress(), BareField< T, Dim >::fillGuardCells(), SubFieldIter< T, Dim, SOffset< Dim > >::setLFieldData(), LField< T, Dim >::TryCompress(), TryCompressLHS(), DLDescriptor< D, Dim, C, T >::unpackData(), and DLDescriptor< D, Dim, C, T >::unpackStdData().

template<class T, unsigned Dim>
T* LField< T, Dim >::getP  )  [inline]
 

Definition at line 93 of file LField.h.

template<class T, unsigned Dim>
int LField< T, Dim >::getVnode  )  const [inline]
 

Definition at line 96 of file LField.h.

template<class T, unsigned Dim>
bool LField< T, Dim >::IsCompressed  )  const [inline]
 

Definition at line 127 of file LField.h.

Referenced by assign(), LField< T, Dim >::begin(), LField< T, 2U >::CanCompress(), LField< T, Dim >::CanCompress(), ComponentLinearExtrapolateFaceBCApply2(), LField< T, 2U >::Compress(), LField< T, Dim >::Compress(), ExtrapolateAndZeroFaceBCApply2(), ExtrapolateAndZeroFaceBCApply3(), ExtrapolateFaceBCApply2(), LField< T, Dim >::LField(), LinearExtrapolateFaceBCApply2(), DLDescriptor< D, Dim, C, T >::packData(), DLDescriptor< D, Dim, C, T >::packStdData(), LField< T, Dim >::TryCompress(), TryCompressLHS(), LField< T, 2U >::Uncompress(), DLDescriptor< D, Dim, C, T >::unpackData(), and DLDescriptor< D, Dim, C, T >::unpackStdData().

template<class T, unsigned Dim>
bool LField< T, Dim >::OverlapCacheInitialized  )  [inline]
 

Definition at line 179 of file LField.h.

template<class T, unsigned Dim>
int LField< T, Dim >::size unsigned  d  )  const [inline]
 

Definition at line 90 of file LField.h.

Referenced by DLDescriptor< D, Dim, C, T >::unpackData(), and DLDescriptor< D, Dim, C, T >::unpackStdData().

template<class T, unsigned Dim>
void LField< T, Dim >::swapData LField< T, Dim > &  a  ) 
 

Definition at line 634 of file LField.cpp.

References a, CT, PAssert, TAU_FIELD, TAU_PROFILE, and TAU_TYPE_STRING.

template<class T, unsigned Dim>
bool LField< T, Dim >::TryCompress bool  baseOnPhysicalCells = false  ) 
 

Definition at line 199 of file LField.cpp.

References LField< T, Dim >::CanCompress(), LField< T, Dim >::Compress(), CT, endl(), LField< T, Dim >::getOwned(), INFORM_ALL_NODES, LField< T, Dim >::IsCompressed(), LFIELDMSG, IpplInfo::noFieldCompression, TAU_FIELD, TAU_PROFILE, and TAU_TYPE_STRING.

Referenced by assign(), DLDescriptor< D, Dim, C, T >::packData(), and DLDescriptor< D, Dim, C, T >::packStdData().

Here is the call graph for this function:

template<class T, unsigned Dim>
void LField< T, Dim >::Uncompress bool  fill_domain = true  )  [inline]
 

Definition at line 165 of file LField.h.

Referenced by assign(), FieldView< T, Dim, Mesh, Centering >::FieldView(), DLDescriptor< D, Dim, C, T >::unpackData(), and DLDescriptor< D, Dim, C, T >::unpackStdData().

template<class T, unsigned Dim>
void LField< T, Dim >::write ostream &   )  const
 

Definition at line 756 of file LField.cpp.

References LField< T, Dim >::begin(), CT, LField< T, Dim >::end(), TAU_FIELD, TAU_IO, TAU_PROFILE, and TAU_TYPE_STRING.

Here is the call graph for this function:


The documentation for this class was generated from the following files:
Generated on Mon Jan 16 14:42:46 2006 for IPPL by  doxygen 1.4.6