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

Per-species work storage for phase-space quadtree smoothing. More...

#include "part.hpp"

Public Member Functions

void allocate (const std::string &label, int size)
 Allocate the four integer index arrays.
 

Public Attributes

Kokkos::View< int * > indx
 Permuted marker indices.
 
Kokkos::View< int * > ipos
 Inverse marker positions.
 
Kokkos::View< int * > p_end
 Exclusive particle end by tree node.
 
Kokkos::View< int * > p_start
 Inclusive particle start by tree node.
 
Kokkos::View< Real ** > quadtree_array_all
 Packed tree data used across smoothing passes.
 
Kokkos::View< Real ** > work
 Smoothing workspace.
 

Detailed Description

Per-species work storage for phase-space quadtree smoothing.

Member Function Documentation

◆ allocate()

void orb5x::PointerQuadtree::allocate ( const std::string &  label,
int  size 
)
inline

Allocate the four integer index arrays.

Parameters
[in]labelCommon Kokkos label prefix.
[in]sizeLength of every index array.

References indx, ipos, p_end, and p_start.

Member Data Documentation

◆ indx

Kokkos::View<int*> orb5x::PointerQuadtree::indx

Permuted marker indices.

Referenced by allocate().

◆ ipos

Kokkos::View<int*> orb5x::PointerQuadtree::ipos

Inverse marker positions.

Referenced by allocate().

◆ p_end

Kokkos::View<int*> orb5x::PointerQuadtree::p_end

Exclusive particle end by tree node.

Referenced by allocate().

◆ p_start

Kokkos::View<int*> orb5x::PointerQuadtree::p_start

Inclusive particle start by tree node.

Referenced by allocate().

◆ quadtree_array_all

Kokkos::View<Real**> orb5x::PointerQuadtree::quadtree_array_all

Packed tree data used across smoothing passes.

◆ work

Kokkos::View<Real**> orb5x::PointerQuadtree::work

Smoothing workspace.


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