Shamrock 2025.10.0
Astrophysical Code
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
shamrock.tree::TreeReducedMortonCodes< u_morton > Class Template Reference
+ Collaboration diagram for shamrock.tree::TreeReducedMortonCodes< u_morton >:

Public Member Functions

void build (sycl::queue &queue, u32 obj_cnt, u32 reduc_level, TreeMortonCodes< u_morton > &morton_codes, bool &one_cell_mode)
 
u64 memsize () const
 
 TreeReducedMortonCodes (const TreeReducedMortonCodes &other)
 
TreeReducedMortonCodesoperator= (TreeReducedMortonCodes &&other) noexcept
 
bool operator== (const TreeReducedMortonCodes< u_morton > &rhs) const
 
void serialize (shamalgs::SerializeHelper &serializer)
 serialize a TreeMortonCodes object
 
shamalgs::SerializeSize serialize_byte_size ()
 

Static Public Member Functions

static TreeReducedMortonCodes deserialize (shamalgs::SerializeHelper &serializer)
 

Public Attributes

u32 tree_leaf_count
 
std::unique_ptr< sycl::buffer< u32 > > buf_reduc_index_map
 
std::unique_ptr< sycl::buffer< u_morton > > buf_tree_morton
 

Detailed Description

template<class u_morton>
class shamrock.tree::TreeReducedMortonCodes< u_morton >

Definition at line 23 of file TreeReducedMortonCodes.hpp.

Constructor & Destructor Documentation

◆ TreeReducedMortonCodes()

template<class u_morton >
shamrock.tree::TreeReducedMortonCodes< u_morton >::TreeReducedMortonCodes ( const TreeReducedMortonCodes< u_morton > &  other)
inline

Definition at line 56 of file TreeReducedMortonCodes.hpp.

Member Function Documentation

◆ build()

template<class u_morton >
void shamrock.tree::TreeReducedMortonCodes< u_morton >::build ( sycl::queue &  queue,
u32  obj_cnt,
u32  reduc_level,
TreeMortonCodes< u_morton > &  morton_codes,
bool &  one_cell_mode 
)

Definition at line 23 of file TreeReducedMortonCodes.cpp.

◆ deserialize()

template<class u_morton >
static TreeReducedMortonCodes shamrock.tree::TreeReducedMortonCodes< u_morton >::deserialize ( shamalgs::SerializeHelper serializer)
inlinestatic

Definition at line 95 of file TreeReducedMortonCodes.hpp.

◆ memsize()

template<class u_morton >
u64 shamrock.tree::TreeReducedMortonCodes< u_morton >::memsize ( ) const
inline

Definition at line 37 of file TreeReducedMortonCodes.hpp.

◆ operator=()

template<class u_morton >
TreeReducedMortonCodes & shamrock.tree::TreeReducedMortonCodes< u_morton >::operator= ( TreeReducedMortonCodes< u_morton > &&  other)
inlinenoexcept

Definition at line 65 of file TreeReducedMortonCodes.hpp.

◆ operator==()

template<class u_morton >
bool shamrock.tree::TreeReducedMortonCodes< u_morton >::operator== ( const TreeReducedMortonCodes< u_morton > &  rhs) const

Definition at line 86 of file TreeReducedMortonCodes.cpp.

◆ serialize()

template<class u_morton >
void shamrock.tree::TreeReducedMortonCodes< u_morton >::serialize ( shamalgs::SerializeHelper serializer)
inline

serialize a TreeMortonCodes object

Parameters
serializer

Definition at line 80 of file TreeReducedMortonCodes.hpp.

+ Here is the call graph for this function:

◆ serialize_byte_size()

template<class u_morton >
shamalgs::SerializeSize shamrock.tree::TreeReducedMortonCodes< u_morton >::serialize_byte_size ( )
inline

Definition at line 113 of file TreeReducedMortonCodes.hpp.

Member Data Documentation

◆ buf_reduc_index_map

template<class u_morton >
std::unique_ptr<sycl::buffer<u32> > shamrock.tree::TreeReducedMortonCodes< u_morton >::buf_reduc_index_map

Definition at line 26 of file TreeReducedMortonCodes.hpp.

◆ buf_tree_morton

template<class u_morton >
std::unique_ptr<sycl::buffer<u_morton> > shamrock.tree::TreeReducedMortonCodes< u_morton >::buf_tree_morton

Definition at line 27 of file TreeReducedMortonCodes.hpp.

◆ tree_leaf_count

template<class u_morton >
u32 shamrock.tree::TreeReducedMortonCodes< u_morton >::tree_leaf_count

Definition at line 25 of file TreeReducedMortonCodes.hpp.


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