Shamrock 2025.10.0
Astrophysical Code
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
shamtree::KarrasRadixTreeField< T > Class Template Reference

A data structure representing a Karras Radix Tree Field. More...

#include <shamtree/include/shamtree/KarrasRadixTreeField.hpp>

Public Member Functions

u32 get_total_cell_count ()
 Get internal cell count.
 
 KarrasRadixTreeField (sham::DeviceBuffer< T > &&buf_field)
 CTOR.
 

Static Public Member Functions

static KarrasRadixTreeField make_empty (sham::DeviceScheduler_ptr dev_sched)
 

Public Attributes

sham::DeviceBuffer< T > buf_field
 left child id (size = internal_count)
 

Detailed Description

template<class T>
class shamtree::KarrasRadixTreeField< T >

A data structure representing a Karras Radix Tree Field.

This class encapsulates the structure of a Karras Radix Tree Field, which is used for efficiently handling hierarchical data based on Morton codes. It manages buffers for left and right child identifiers and flags, as well as end ranges.

Definition at line 57 of file KarrasRadixTreeField.hpp.

Constructor & Destructor Documentation

◆ KarrasRadixTreeField()

template<class T >
shamtree::KarrasRadixTreeField< T >::KarrasRadixTreeField ( sham::DeviceBuffer< T > &&  buf_field)
inline

CTOR.

Definition at line 66 of file KarrasRadixTreeField.hpp.

Member Function Documentation

◆ get_total_cell_count()

template<class T >
u32 shamtree::KarrasRadixTreeField< T >::get_total_cell_count ( )
inline

Get internal cell count.

Definition at line 61 of file KarrasRadixTreeField.hpp.

◆ make_empty()

template<class T >
static KarrasRadixTreeField shamtree::KarrasRadixTreeField< T >::make_empty ( sham::DeviceScheduler_ptr  dev_sched)
inlinestatic

Definition at line 68 of file KarrasRadixTreeField.hpp.

Member Data Documentation

◆ buf_field

template<class T >
sham::DeviceBuffer<T> shamtree::KarrasRadixTreeField< T >::buf_field

left child id (size = internal_count)

Definition at line 63 of file KarrasRadixTreeField.hpp.


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