Shamrock 2025.10.0
Astrophysical Code
Loading...
Searching...
No Matches
shamrock.tree::TreeCellRanges< u_morton, pos_t > Class Template Reference
Collaboration diagram for shamrock.tree::TreeCellRanges< u_morton, pos_t >:

Public Member Functions

void build1 (sycl::queue &queue, TreeReducedMortonCodes< u_morton > &tree_reduced_morton_codes, TreeStructure< u_morton > &tree_struct)
void build2 (sycl::queue &queue, u32 total_count, std::tuple< pos_t, pos_t > bounding_box)
bool are_range_int_built ()
bool are_range_float_built ()
 TreeCellRanges (const TreeCellRanges &other)
TreeCellRanges & operator= (TreeCellRanges &&other) noexcept
u64 memsize () const
bool operator== (const TreeCellRanges &rhs) const
u32 get_total_tree_cell_count ()
void serialize (shamalgs::SerializeHelper &serializer)
shamalgs::SerializeSize serialize_byte_size ()

Static Public Member Functions

static TreeCellRanges deserialize (shamalgs::SerializeHelper &serializer)

Public Attributes

std::unique_ptr< sycl::buffer< ipos_t > > buf_pos_min_cell
std::unique_ptr< sycl::buffer< ipos_t > > buf_pos_max_cell
std::unique_ptr< sycl::buffer< pos_t > > buf_pos_min_cell_flt
std::unique_ptr< sycl::buffer< pos_t > > buf_pos_max_cell_flt

Detailed Description

template<class u_morton, class pos_t>
class shamrock.tree::TreeCellRanges< u_morton, pos_t >

Definition at line 25 of file TreeCellRanges.hpp.

Member Function Documentation

◆ are_range_float_built()

template<class u_morton, class pos_t>
bool shamrock.tree::TreeCellRanges< u_morton, pos_t >::are_range_float_built ( )
inline

Definition at line 53 of file TreeCellRanges.hpp.

◆ are_range_int_built()

template<class u_morton, class pos_t>
bool shamrock.tree::TreeCellRanges< u_morton, pos_t >::are_range_int_built ( )
inline

Definition at line 49 of file TreeCellRanges.hpp.

◆ build1()

template<class u_morton, class pos_t>
void shamrock.tree::TreeCellRanges< u_morton, pos_t >::build1 ( sycl::queue & queue,
TreeReducedMortonCodes< u_morton > & tree_reduced_morton_codes,
TreeStructure< u_morton > & tree_struct )

Definition at line 25 of file TreeCellRanges.cpp.

◆ build2()

template<class u_morton, class pos_t>
void shamrock.tree::TreeCellRanges< u_morton, pos_t >::build2 ( sycl::queue & queue,
u32 total_count,
std::tuple< pos_t, pos_t > bounding_box )

Definition at line 93 of file TreeCellRanges.cpp.

◆ deserialize()

template<class u_morton, class pos_t>
TreeCellRanges shamrock.tree::TreeCellRanges< u_morton, pos_t >::deserialize ( shamalgs::SerializeHelper & serializer)
inlinestatic

Definition at line 156 of file TreeCellRanges.hpp.

◆ get_total_tree_cell_count()

template<class u_morton, class pos_t>
u32 shamrock.tree::TreeCellRanges< u_morton, pos_t >::get_total_tree_cell_count ( )
inline

Definition at line 89 of file TreeCellRanges.hpp.

◆ memsize()

template<class u_morton, class pos_t>
u64 shamrock.tree::TreeCellRanges< u_morton, pos_t >::memsize ( ) const
inlinenodiscard

Definition at line 70 of file TreeCellRanges.hpp.

◆ operator=()

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

Definition at line 61 of file TreeCellRanges.hpp.

◆ operator==()

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

Definition at line 135 of file TreeCellRanges.cpp.

◆ serialize()

template<class u_morton, class pos_t>
void shamrock.tree::TreeCellRanges< u_morton, pos_t >::serialize ( shamalgs::SerializeHelper & serializer)
inline

Definition at line 100 of file TreeCellRanges.hpp.

◆ serialize_byte_size()

template<class u_morton, class pos_t>
shamalgs::SerializeSize shamrock.tree::TreeCellRanges< u_morton, pos_t >::serialize_byte_size ( )
inline

Definition at line 126 of file TreeCellRanges.hpp.

Member Data Documentation

◆ buf_pos_max_cell

template<class u_morton, class pos_t>
std::unique_ptr<sycl::buffer<ipos_t> > shamrock.tree::TreeCellRanges< u_morton, pos_t >::buf_pos_max_cell

Definition at line 35 of file TreeCellRanges.hpp.

◆ buf_pos_max_cell_flt

template<class u_morton, class pos_t>
std::unique_ptr<sycl::buffer<pos_t> > shamrock.tree::TreeCellRanges< u_morton, pos_t >::buf_pos_max_cell_flt

Definition at line 40 of file TreeCellRanges.hpp.

◆ buf_pos_min_cell

template<class u_morton, class pos_t>
std::unique_ptr<sycl::buffer<ipos_t> > shamrock.tree::TreeCellRanges< u_morton, pos_t >::buf_pos_min_cell

Definition at line 34 of file TreeCellRanges.hpp.

◆ buf_pos_min_cell_flt

template<class u_morton, class pos_t>
std::unique_ptr<sycl::buffer<pos_t> > shamrock.tree::TreeCellRanges< u_morton, pos_t >::buf_pos_min_cell_flt

Definition at line 39 of file TreeCellRanges.hpp.


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