core 1.8.1
Shared MPI block decomposition, asynchronous ghost-layer exchange, SDF geometry, load balancing (header-only C++20)
Loading...
Searching...
No Matches
peclet::core::halo::GridFieldView< T > Struct Template Reference

A contiguous local array of T (one per cell of the extended block) viewed as a packable field. More...

#include <grid_halo_topology.hpp>

Public Member Functions

std::size_t bytesPerElem () const
void pack (Index localIdx, char *dst) const
void unpack (Index localIdx, const char *src)
void addFrom (Index localIdx, const char *src)

Public Attributes

T * data

Detailed Description

template<typename T>
struct peclet::core::halo::GridFieldView< T >

A contiguous local array of T (one per cell of the extended block) viewed as a packable field.

Definition at line 36 of file grid_halo_topology.hpp.

Member Function Documentation

◆ bytesPerElem()

template<typename T>
std::size_t peclet::core::halo::GridFieldView< T >::bytesPerElem ( ) const
inline

Definition at line 38 of file grid_halo_topology.hpp.

◆ pack()

template<typename T>
void peclet::core::halo::GridFieldView< T >::pack ( Index localIdx,
char * dst ) const
inline

Definition at line 39 of file grid_halo_topology.hpp.

References data.

◆ unpack()

template<typename T>
void peclet::core::halo::GridFieldView< T >::unpack ( Index localIdx,
const char * src )
inline

Definition at line 40 of file grid_halo_topology.hpp.

References data.

◆ addFrom()

template<typename T>
void peclet::core::halo::GridFieldView< T >::addFrom ( Index localIdx,
const char * src )
inline

Definition at line 42 of file grid_halo_topology.hpp.

References data.

Member Data Documentation

◆ data

template<typename T>
T* peclet::core::halo::GridFieldView< T >::data

Definition at line 37 of file grid_halo_topology.hpp.

Referenced by addFrom(), pack(), and unpack().


The documentation for this struct was generated from the following file: