core
Shared MPI block decomposition + asynchronous ghost-layer exchange (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

Tdata
 

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 34 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 36 of file grid_halo_topology.hpp.

◆ pack()

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

◆ unpack()

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

◆ addFrom()

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

Member Data Documentation

◆ data


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