OPAL (Object Oriented Parallel Accelerator Library)
2.2.0
OPAL
|
#include <FFT.h>
Public Types | |
typedef CompressedBrickIterator< T, Dim > | iterator |
typedef NDIndex< Dim > | Domain_t |
typedef std::vector< LField< T, Dim > * >::iterator | OverlapIterator |
Public Member Functions | |
LField (const NDIndex< Dim > &owned, const NDIndex< Dim > &allocated, int vnode=-1) | |
LField (const NDIndex< Dim > &owned, const NDIndex< Dim > &allocated, int vnode, bool p) | |
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 iterator & | begin () const |
const iterator & | end () 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 (std::ostream &) const |
![]() | |
void * | operator new (size_t) |
void | operator delete (void *p, size_t) |
Private Member Functions | |
bool | CanCompressBasedOnPhysicalCells () const |
void | ReallyUncompress (bool fill_domain) |
void | CompressBasedOnPhysicalCells () |
void | allocateStorage (int newsize) |
void | deallocateStorage () |
LField () | |
const LField< T, Dim > & | operator= (const LField< T, Dim > &) |
Private Attributes | |
int | vnode_m |
T * | P |
bool | Pinned |
NDIndex< Dim > | Owned |
NDIndex< Dim > | Allocated |
iterator | Begin |
iterator | End |
T | CompressedData |
std::vector< LField< T, Dim > * > | overlap |
bool | overlapCacheInited |
int | allocCompressIndex |
int | ownedCompressIndex |
long | offsetBlocks |
LField< T, Dim >::LField | ( | const NDIndex< Dim > & | owned, |
const NDIndex< Dim > & | allocated, | ||
int | vnode = -1 |
||
) |
Definition at line 94 of file LField.hpp.
References LFieldInitializer< T >::apply(), and IpplInfo::noFieldCompression.
LField< T, Dim >::LField | ( | const NDIndex< Dim > & | owned, |
const NDIndex< Dim > & | allocated, | ||
int | vnode, | ||
bool | p | ||
) |
Definition at line 123 of file LField.hpp.
References LFieldInitializer< T >::apply(), LField< T, Dim >::Begin, IpplInfo::noFieldCompression, and LField< T, Dim >::ReallyUncompress().
Definition at line 157 of file LField.hpp.
References LField< T, Dim >::Allocated, LField< T, Dim >::allocateStorage(), LField< T, Dim >::Begin, LField< T, Dim >::CompressedData, LField< T, Dim >::IsCompressed(), Hypervolume::n, LField< T, Dim >::Owned, LField< T, Dim >::P, and PAssert_NE.
Definition at line 208 of file LField.hpp.
|
inline |
Definition at line 182 of file LField.h.
Referenced by BareField< T, Dim >::accumGuardCells(), and BareField< T, Dim >::fillGuardCells().
Definition at line 714 of file LField.hpp.
References ADDIPPLSTAT, IPPL_CACHE_LINE_SIZE, IpplInfo::offsetStorage, PAssert, PAssert_GE, PAssert_GT, and T.
Referenced by LField< T, Dim >::LField().
Definition at line 104 of file LField.h.
Referenced by BareField< T, Dim >::accumGuardCells(), assign(), ComponentFunctionFaceBCApply(), ComponentLinearExtrapolateFaceBCApply2(), ExtrapolateAndZeroFaceBCApply2(), ExtrapolateAndZeroFaceBCApply3(), ExtrapolateFaceBCApply2(), FieldDebugWriteb(), BareField< T, Dim >::fillGuardCells(), FunctionFaceBCApply(), FieldDataSource< T, Dim, M, C >::gather_data(), Interpolator::getFieldIter(), BareField< T, Dim >::getsingle(), BareField< T, Dim >::getsingle_bc(), IndexedLocalAssign(), IndexedSend(), InterpolationFaceBCApply(), LinearExtrapolateFaceBCApply2(), PeriodicFaceBCApply(), FieldPrint< T, Dim >::print(), FieldDebugPrint< T, Dim >::print(), FieldBlock< T, Dim, Mesh, Centering >::read(), DiscField< Dim >::read(), BareField< T, Dim >::setGuardCells(), SubFieldIter< T, Dim, SOffset< Dim > >::setLFieldData(), UniformCartesian< D, T >::storeSpacingFields(), Cartesian< Dim, MFLOAT >::storeSpacingFields(), TryCompressLHS(), FieldView< T, Dim, Mesh, Centering >::void_apply_map(), FieldBlock< T, Dim, Mesh, Centering >::write(), BareField< T, Dim >::write(), DiscField< Dim >::write(), and BareField< T, Dim >::writeb().
LField< T, Dim >::iterator LField< T, Dim >::begin | ( | const NDIndex< Dim > & | domain | ) |
Definition at line 619 of file LField.hpp.
LField< T, Dim >::iterator LField< T, Dim >::begin | ( | const NDIndex< Dim > & | domain, |
T & | compstore | ||
) |
Definition at line 638 of file LField.hpp.
|
inline |
Definition at line 192 of file LField.h.
Referenced by BareField< T, Dim >::accumGuardCells(), and BareField< T, Dim >::fillGuardCells().
Definition at line 140 of file LField.h.
Referenced by LField< T, 2U >::CanCompress().
Definition at line 265 of file LField.hpp.
References ADDIPPLSTAT, endl(), IpplInfo::extraCompressChecks, LFIELDMSG, IpplInfo::noFieldCompression, PAssert, PAssert_GE, PAssert_GT, PAssert_LT, and T.
|
private |
Definition at line 398 of file LField.hpp.
References ADDIPPLSTAT, endl(), IpplInfo::extraCompressChecks, INFORM_ALL_NODES, LFIELDMSG, IpplInfo::noFieldCompression, PAssert_LT, BrickCounter< Dim >::size(), and T.
Definition at line 155 of file LField.h.
Referenced by assign(), LField< T, 2U >::Compress(), IndexedLocalAssign(), DiscField< Dim >::read(), BareField< T, Dim >::setGuardCells(), and TryCompressLHS().
Definition at line 486 of file LField.hpp.
References endl(), INFORM_ALL_NODES, LFIELDMSG, and IpplInfo::noFieldCompression.
Definition at line 536 of file LField.hpp.
References IpplInfo::noFieldCompression.
Definition at line 747 of file LField.hpp.
References IPPL_CACHE_LINE_SIZE, IpplInfo::offsetStorage, and T.
Definition at line 105 of file LField.h.
Referenced by ComponentLinearExtrapolateFaceBCApply2(), LinearExtrapolateFaceBCApply2(), and BareField< T, Dim >::write().
|
inline |
Definition at line 193 of file LField.h.
Referenced by BareField< T, Dim >::accumGuardCells(), and BareField< T, Dim >::fillGuardCells().
Definition at line 92 of file LField.h.
Referenced by BareField< T, Dim >::accumGuardCells(), PatchBC< T, D, M, C >::apply(), assign(), CalcIndexedReceive(), ComponentFunctionFaceBCApply(), ComponentLinearExtrapolateFaceBCApply(), ExtrapolateAndZeroFaceBCApply(), ExtrapolateFaceBCApply(), BareField< T, Dim >::fillGuardCells(), FunctionFaceBCApply(), Interpolator::getFieldIter(), IndexedLocalAssign(), InterpolationFaceBCApply(), LinearExtrapolateFaceBCApply(), BareField< T, Dim >::localElement(), PeriodicFaceBCApply(), FieldDebugPrint< T, Dim >::print(), DiscField< Dim >::read(), BareField< T, Dim >::setGuardCells(), UniformCartesian< D, T >::storeSpacingFields(), Cartesian< Dim, MFLOAT >::storeSpacingFields(), FieldView< T, Dim, Mesh, Centering >::update_2D_data(), FieldView< T, Dim, Mesh, Centering >::update_3D_data(), and FieldBlock< T, Dim, Mesh, Centering >::write().
Definition at line 173 of file LField.h.
Referenced by ExtrapolateAndZeroFaceBCApply2(), ExtrapolateAndZeroFaceBCApply3(), ExtrapolateFaceBCApply2(), and BareField< T, Dim >::setGuardCells().
Definition at line 93 of file LField.h.
Referenced by BareField< T, Dim >::accumGuardCells(), PatchBC< T, D, M, C >::apply(), assign(), ComponentFunctionFaceBCApply(), BareField< T, Dim >::CompressedFraction(), ExtrapolateAndZeroFaceBCApply(), ExtrapolateFaceBCApply(), FieldDebugWriteb(), BareField< T, Dim >::fillGuardCells(), FunctionFaceBCApply(), FieldDataSource< T, Dim, M, C >::gather_data(), Interpolator::getFieldIter(), IndexedLocalAssign(), IndexedSend(), InterpolationFaceBCApply(), PeriodicFaceBCApply(), FieldPrint< T, Dim >::print(), FieldDebugPrint< T, Dim >::print(), FieldBlock< T, Dim, Mesh, Centering >::read(), DiscField< Dim >::read(), BareField< T, Dim >::setGuardCells(), SubFieldIter< T, Dim, SOffset< Dim > >::setLFieldData(), UniformCartesian< D, T >::storeSpacingFields(), Cartesian< Dim, MFLOAT >::storeSpacingFields(), TryCompressLHS(), FieldView< T, Dim, Mesh, Centering >::update_2D_data(), FieldView< T, Dim, Mesh, Centering >::update_3D_data(), FieldBlock< T, Dim, Mesh, Centering >::write(), BareField< T, Dim >::write(), DiscField< Dim >::write(), and BareField< T, Dim >::writeb().
Definition at line 94 of file LField.h.
Referenced by BareField< T, Dim >::localElement(), FFT< CCTransform, Dim, T >::transform(), FieldView< T, Dim, Mesh, Centering >::update_2D_data(), and FieldView< T, Dim, Mesh, Centering >::update_3D_data().
|
inline |
Definition at line 128 of file LField.h.
Referenced by assign(), LField< T, 2U >::CanCompress(), ComponentLinearExtrapolateFaceBCApply2(), LField< T, 2U >::Compress(), BareField< T, Dim >::CompressedFraction(), ExtrapolateAndZeroFaceBCApply2(), ExtrapolateAndZeroFaceBCApply3(), ExtrapolateFaceBCApply2(), BareField< T, Dim >::fillGuardCells(), IndexedLocalAssign(), IndexedReceive(), LField< T, Dim >::LField(), LinearExtrapolateFaceBCApply2(), DiscField< Dim >::read(), BareField< T, Dim >::setGuardCells(), TryCompressLHS(), and LField< T, 2U >::Uncompress().
|
private |
Definition at line 180 of file LField.h.
Referenced by BareField< T, Dim >::accumGuardCells(), and BareField< T, Dim >::fillGuardCells().
|
private |
Definition at line 567 of file LField.hpp.
References endl(), INFORM_ALL_NODES, LFIELDMSG, Hypervolume::n, PAssert_NE, and T.
Referenced by LField< T, Dim >::LField(), and LField< T, 2U >::Uncompress().
Definition at line 91 of file LField.h.
Referenced by FieldDebugWriteb(), FFT< CCTransform, Dim, T >::transform(), BareField< T, Dim >::write(), and BareField< T, Dim >::writeb().
Definition at line 655 of file LField.hpp.
References LField< T, Dim >::Allocated, LField< T, Dim >::allocCompressIndex, LField< T, Dim >::Begin, LField< T, Dim >::CompressedData, LField< T, Dim >::offsetBlocks, LField< T, Dim >::Owned, LField< T, Dim >::ownedCompressIndex, LField< T, Dim >::P, PAssert, and T.
bool LField< T, Dim >::TryCompress | ( | bool | baseOnPhysicalCells = false | ) |
Definition at line 223 of file LField.hpp.
References endl(), INFORM_ALL_NODES, LFIELDMSG, and IpplInfo::noFieldCompression.
Referenced by assign().
Definition at line 166 of file LField.h.
Referenced by BareField< T, Dim >::accumGuardCells(), PatchBC< T, D, M, C >::apply(), assign(), ComponentFunctionFaceBCApply(), ExtrapolateAndZeroFaceBCApply2(), ExtrapolateAndZeroFaceBCApply3(), ExtrapolateFaceBCApply2(), FieldView< T, Dim, Mesh, Centering >::FieldView(), BareField< T, Dim >::fillGuardCells(), FunctionFaceBCApply(), IndexedLocalAssign(), InterpolationFaceBCApply(), BareField< T, Dim >::localElement(), PeriodicFaceBCApply(), FieldPrint< T, Dim >::print(), FieldDebugPrint< T, Dim >::print(), FieldBlock< T, Dim, Mesh, Centering >::read(), DiscField< Dim >::read(), BareField< T, Dim >::setGuardCells(), FFT< CCTransform, Dim, T >::transform(), TryCompressLHS(), FieldView< T, Dim, Mesh, Centering >::update_2D_data(), FieldView< T, Dim, Mesh, Centering >::update_3D_data(), and BareField< T, Dim >::write().
Definition at line 778 of file LField.hpp.
Definition at line 232 of file LField.h.
Referenced by LField< T, 2U >::getAllocated(), LField< T, Dim >::LField(), and LField< T, Dim >::swapData().
Definition at line 257 of file LField.h.
Referenced by LField< T, Dim >::swapData().
Definition at line 236 of file LField.h.
Referenced by LField< T, 2U >::begin(), LField< T, 2U >::CanCompress(), LField< T, Dim >::LField(), and LField< T, Dim >::swapData().
Definition at line 244 of file LField.h.
Referenced by LField< T, 2U >::getCompressedData(), LField< T, Dim >::LField(), and LField< T, Dim >::swapData().
Definition at line 240 of file LField.h.
Referenced by LField< T, 2U >::end().
Definition at line 263 of file LField.h.
Referenced by LField< T, Dim >::swapData().
Definition at line 248 of file LField.h.
Referenced by LField< T, 2U >::AddToOverlapCache(), LField< T, 2U >::BeginOverlap(), and LField< T, 2U >::EndOverlap().
Definition at line 249 of file LField.h.
Referenced by LField< T, 2U >::AddToOverlapCache(), and LField< T, 2U >::OverlapCacheInitialized().
Definition at line 228 of file LField.h.
Referenced by LField< T, 2U >::getOwned(), LField< T, Dim >::LField(), LField< T, 2U >::size(), and LField< T, Dim >::swapData().
Definition at line 258 of file LField.h.
Referenced by LField< T, Dim >::swapData().
Definition at line 220 of file LField.h.
Referenced by LField< T, 2U >::Compress(), LField< T, 2U >::getP(), LField< T, 2U >::IsCompressed(), LField< T, Dim >::LField(), and LField< T, Dim >::swapData().
Definition at line 216 of file LField.h.
Referenced by LField< T, 2U >::getVnode().