OPAL (Object Oriented Parallel Accelerator Library)  2021.1.99
OPAL
Classes | Functions
BareField.hpp File Reference
#include "Field/BareField.h"
#include "Field/BrickExpression.h"
#include "FieldLayout/FieldLayout.h"
#include "Message/Communicate.h"
#include "Message/GlobalComm.h"
#include "Message/Tags.h"
#include "Utility/Inform.h"
#include "Utility/Unique.h"
#include "Utility/IpplInfo.h"
#include <map>
#include <cstdlib>
Include dependency graph for BareField.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  LFieldDimTag< Dim, exists >
 

Functions

template<class T >
T * PtrOffset (T *ptr, const NDIndex< 1U > &pos, const NDIndex< 1U > &alloc, LFieldDimTag< 1U, true >)
 
template<class T >
T * PtrOffset (T *ptr, const NDIndex< 2U > &pos, const NDIndex< 2U > &alloc, LFieldDimTag< 2U, true >)
 
template<class T >
T * PtrOffset (T *ptr, const NDIndex< 3U > &pos, const NDIndex< 3U > &alloc, LFieldDimTag< 3U, true >)
 
template<class T , unsigned Dim>
T * PtrOffset (T *ptr, const NDIndex< Dim > &pos, const NDIndex< Dim > &alloc, LFieldDimTag< Dim, false >)
 

Function Documentation

◆ PtrOffset() [1/4]

template<class T >
T* PtrOffset ( T *  ptr,
const NDIndex< 1U > &  pos,
const NDIndex< 1U > &  alloc,
LFieldDimTag< 1U, true >   
)
inline

Definition at line 1109 of file BareField.hpp.

References Attrib::Legacy::Distribution::T.

Referenced by BareField< T, Dim >::localElement().

◆ PtrOffset() [2/4]

template<class T >
T* PtrOffset ( T *  ptr,
const NDIndex< 2U > &  pos,
const NDIndex< 2U > &  alloc,
LFieldDimTag< 2U, true >   
)
inline

Definition at line 1117 of file BareField.hpp.

References Attrib::Legacy::Distribution::T.

◆ PtrOffset() [3/4]

template<class T >
T* PtrOffset ( T *  ptr,
const NDIndex< 3U > &  pos,
const NDIndex< 3U > &  alloc,
LFieldDimTag< 3U, true >   
)
inline

Definition at line 1126 of file BareField.hpp.

References Attrib::Legacy::Distribution::T.

◆ PtrOffset() [4/4]

template<class T , unsigned Dim>
T* PtrOffset ( T *  ptr,
const NDIndex< Dim > &  pos,
const NDIndex< Dim > &  alloc,
LFieldDimTag< Dim, false >   
)
inline

Definition at line 1136 of file BareField.hpp.

References Dim, Hypervolume::n, and Attrib::Legacy::Distribution::T.