core
Shared MPI block decomposition + asynchronous ghost-layer exchange (header-only C++20)
Loading...
Searching...
No Matches
peclet::core::FieldRec Struct Reference

One registered field: its flat x-fastest device buffer plus the metadata a consumer needs to exchange or redistribute it. More...

#include <field_set.hpp>

Public Attributes

View< doubledata
 
int ghost = 0
 
Centering centering = Centering::Cell
 
bool ownStorage = false
 

Detailed Description

One registered field: its flat x-fastest device buffer plus the metadata a consumer needs to exchange or redistribute it.

ownStorage distinguishes a FieldSet-allocated buffer (add) from an aliased solver member (adopt) — redistribution reallocates the former and rebinds the latter.

Definition at line 37 of file field_set.hpp.

Member Data Documentation

◆ data

View<double> peclet::core::FieldRec::data

Definition at line 38 of file field_set.hpp.

◆ ghost

int peclet::core::FieldRec::ghost = 0

Definition at line 39 of file field_set.hpp.

◆ centering

Centering peclet::core::FieldRec::centering = Centering::Cell

Definition at line 40 of file field_set.hpp.

◆ ownStorage

bool peclet::core::FieldRec::ownStorage = false

Definition at line 41 of file field_set.hpp.


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