Peano
Loading...
Searching...
No Matches
exaparty::CellMetaData Struct Reference

Provide meta data around ExaParty cell. More...

#include <CellMetaData.h>

Collaboration diagram for exaparty::CellMetaData:

Public Member Functions

 CellMetaData ()=delete
 CellMetaData (const peano4::datamanagement::CellMarker &marker_, const std::vector< int > &numberOfCoalescedLocalParticlesPerVertex_, const std::vector< int > &numberOfCoalescedActiveParticlesPerVertex_, const std::vector< char > &localParticleIsContainedInCell_)
 CellMetaData (const peano4::datamanagement::CellMarker &marker_, const std::vector< char > &localParticleIsContainedInCell_)

Data Fields

const peano4::datamanagement::CellMarker & marker
const std::vector< int > & numberOfCoalescedLocalParticlesPerVertex
const std::vector< int > & numberOfCoalescedActiveParticlesPerVertex
const std::vector< char > & localParticleIsContainedInCell

Static Private Attributes

static std::vector< int > _dummyNumberOfCoalescedActiveParticlesPerVertex

Detailed Description

Provide meta data around ExaParty cell.

Lightweight wrapper around a couple of attributes which have to be passed into particle (pair) update kernels. I started to add more and more attributes. Over time, I got fed up with all the variants and therefore introduce this lightweight wrapper around attributes. Due to this this one, we can extend the attributes passed in at any point without having to touch each individual piece of source code.

Definition at line 27 of file CellMetaData.h.

Constructor & Destructor Documentation

◆ CellMetaData() [1/3]

exaparty::CellMetaData::CellMetaData ( )
delete

◆ CellMetaData() [2/3]

exaparty::CellMetaData::CellMetaData ( const peano4::datamanagement::CellMarker & marker_,
const std::vector< int > & numberOfCoalescedLocalParticlesPerVertex_,
const std::vector< int > & numberOfCoalescedActiveParticlesPerVertex_,
const std::vector< char > & localParticleIsContainedInCell_ )

◆ CellMetaData() [3/3]

exaparty::CellMetaData::CellMetaData ( const peano4::datamanagement::CellMarker & marker_,
const std::vector< char > & localParticleIsContainedInCell_ )

Field Documentation

◆ _dummyNumberOfCoalescedActiveParticlesPerVertex

std::vector<int> exaparty::CellMetaData::_dummyNumberOfCoalescedActiveParticlesPerVertex
staticprivate

Definition at line 30 of file CellMetaData.h.

Referenced by CellMetaData().

◆ localParticleIsContainedInCell

const std::vector<char>& exaparty::CellMetaData::localParticleIsContainedInCell

Definition at line 35 of file CellMetaData.h.

Referenced by CellMetaData(), and CellMetaData().

◆ marker

const peano4::datamanagement::CellMarker& exaparty::CellMetaData::marker

Definition at line 32 of file CellMetaData.h.

Referenced by CellMetaData(), and CellMetaData().

◆ numberOfCoalescedActiveParticlesPerVertex

const std::vector<int>& exaparty::CellMetaData::numberOfCoalescedActiveParticlesPerVertex

Definition at line 34 of file CellMetaData.h.

Referenced by CellMetaData(), and CellMetaData().

◆ numberOfCoalescedLocalParticlesPerVertex

const std::vector<int>& exaparty::CellMetaData::numberOfCoalescedLocalParticlesPerVertex

Definition at line 33 of file CellMetaData.h.

Referenced by CellMetaData(), and CellMetaData().


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