OPAL (Object Oriented Parallel Accelerator Library) 2024.2
OPAL
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 >)

Class Documentation

◆ LFieldDimTag

class LFieldDimTag
template<unsigned Dim, bool exists>
class LFieldDimTag< Dim, exists >

Definition at line 1103 of file BareField.hpp.

Collaboration diagram for LFieldDimTag< Dim, exists >:

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.

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.

◆ 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.

◆ 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.