ORB5X 1.0.0
Performance-portable global electromagnetic gyrokinetic PIC code
orb5x::BcpartReducer Struct Reference

Kokkos reduction value for inner/outer radial particle losses. More...

#include "part.hpp"

Public Member Functions

 BcpartReducer ()
 Construct a zero-valued reduction state.
 
 BcpartReducer (const BcpartReducer &other)
 Copy a reduction state.
 
void operator+= (const BcpartReducer &other)
 Combine independent particle-loss contributions.
 

Public Attributes

Real density_loss_in
 Weighted inner particle loss in normalized density units.
 
Real density_loss_out
 Weighted outer particle loss.
 
Real energy_loss_in
 Weighted inner kinetic-energy loss in normalized energy units.
 
Real energy_loss_out
 Weighted outer kinetic-energy loss.
 
int nsbound_in
 Marker count lost through the inner boundary.
 
int nsbound_out
 Marker count lost through the outer boundary.
 
Real vpll_loss_in
 Weighted inner parallel-momentum loss.
 
Real vpll_loss_out
 Weighted outer parallel-momentum loss.
 

Detailed Description

Kokkos reduction value for inner/outer radial particle losses.

Constructor & Destructor Documentation

◆ BcpartReducer() [1/2]

orb5x::BcpartReducer::BcpartReducer ( )
inline

Construct a zero-valued reduction state.

◆ BcpartReducer() [2/2]

orb5x::BcpartReducer::BcpartReducer ( const BcpartReducer &  other)
inline

Copy a reduction state.

Parameters
[in]otherReduction state to copy.

Member Function Documentation

◆ operator+=()

void orb5x::BcpartReducer::operator+= ( const BcpartReducer &  other)
inline

Combine independent particle-loss contributions.

Parameters
[in]otherContributions accumulated by another reduction lane.

References density_loss_in, density_loss_out, energy_loss_in, energy_loss_out, nsbound_in, nsbound_out, vpll_loss_in, and vpll_loss_out.

Member Data Documentation

◆ density_loss_in

Real orb5x::BcpartReducer::density_loss_in

Weighted inner particle loss in normalized density units.

Referenced by operator+=().

◆ density_loss_out

Real orb5x::BcpartReducer::density_loss_out

Weighted outer particle loss.

Referenced by operator+=().

◆ energy_loss_in

Real orb5x::BcpartReducer::energy_loss_in

Weighted inner kinetic-energy loss in normalized energy units.

Referenced by operator+=().

◆ energy_loss_out

Real orb5x::BcpartReducer::energy_loss_out

Weighted outer kinetic-energy loss.

Referenced by operator+=().

◆ nsbound_in

int orb5x::BcpartReducer::nsbound_in

Marker count lost through the inner boundary.

Referenced by operator+=().

◆ nsbound_out

int orb5x::BcpartReducer::nsbound_out

Marker count lost through the outer boundary.

Referenced by operator+=().

◆ vpll_loss_in

Real orb5x::BcpartReducer::vpll_loss_in

Weighted inner parallel-momentum loss.

Referenced by operator+=().

◆ vpll_loss_out

Real orb5x::BcpartReducer::vpll_loss_out

Weighted outer parallel-momentum loss.

Referenced by operator+=().


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