OPALX (Object Oriented Parallel Accelerator Library for Exascal) master (dc2a29eed580)
OPALX
Loading...
Searching...
No Matches
TestBunch Struct Reference

Minimal particle bunch for binning unit tests. More...

Inherits ippl::ParticleBase< TestPLayout_t >.

Collaboration diagram for TestBunch:
Collaboration graph

Public Types

using Base = ippl::ParticleBase< TestPLayout_t >
 
using bin_index_type = short int
 

Public Member Functions

 TestBunch (TestPLayout_t &pl)
 
 ~TestBunch ()=default
 

Public Attributes

Base::particle_position_type P
 Particle momenta (used by CoordinateSelector)
 
ippl::ParticleAttrib< bin_index_typeBin
 Bin index attribute (used by AdaptBins)
 

Detailed Description

Minimal particle bunch for binning unit tests.

Provides only the attributes required by AdaptBins and CoordinateSelector: R (positions, inherited), P (momenta), and Bin (bin index).

Definition at line 71 of file TestBinning.cpp.

Member Typedef Documentation

◆ Base

using TestBunch::Base = ippl::ParticleBase<TestPLayout_t>

Definition at line 72 of file TestBinning.cpp.

◆ bin_index_type

using TestBunch::bin_index_type = short int

Definition at line 73 of file TestBinning.cpp.

Constructor & Destructor Documentation

◆ TestBunch()

TestBunch::TestBunch ( TestPLayout_t pl)
inline

Definition at line 81 of file TestBinning.cpp.

References Bin, and P.

◆ ~TestBunch()

TestBunch::~TestBunch ( )
default

Member Data Documentation

◆ Bin

ippl::ParticleAttrib<bin_index_type> TestBunch::Bin

Bin index attribute (used by AdaptBins)

Definition at line 79 of file TestBinning.cpp.

Referenced by TestBunch().

◆ P

Base::particle_position_type TestBunch::P

Particle momenta (used by CoordinateSelector)

Definition at line 76 of file TestBinning.cpp.

Referenced by TestBunch().


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