Shamrock 2025.10.0
Astrophysical Code
Loading...
Searching...
No Matches
shamrock::ComputeField< T > Class Template Reference
Collaboration diagram for shamrock::ComputeField< T >:

Public Member Functions

void generate (PatchScheduler &sched, std::string name, u32 nvar=1)
sham::DeviceBuffer< T > & get_buf (u64 id_patch)
shambase::DistributedData< u32get_obj_cnts () const
PatchDataField< T > & get_field (u64 id_patch)
sham::DeviceBuffer< T > & get_buf_check (u64 id)
template<u32 nvar>
shambase::DistributedData< PatchDataFieldSpan< T, nvar > > get_field_span ()
shambase::DistributedData< PatchDataFieldSpan< T, shamrock::dynamic_nvar > > get_field_span_nvar_dynamic ()
compute_rank_max ()
compute_rank_min ()
compute_rank_sum ()
compute_rank_dot_sum ()
u32 get_nvar ()
std::unique_ptr< sycl::buffer< T > > rankgather_computefield (PatchScheduler &sched)
void reset ()

Public Attributes

shambase::DistributedData< PatchDataField< T > > field_data

Detailed Description

template<class T>
class shamrock::ComputeField< T >

Definition at line 31 of file ComputeField.hpp.

Member Function Documentation

◆ compute_rank_dot_sum()

template<class T>
T shamrock::ComputeField< T >::compute_rank_dot_sum ( )
inline

Definition at line 113 of file ComputeField.hpp.

◆ compute_rank_max()

template<class T>
T shamrock::ComputeField< T >::compute_rank_max ( )
inline

Definition at line 77 of file ComputeField.hpp.

◆ compute_rank_min()

template<class T>
T shamrock::ComputeField< T >::compute_rank_min ( )
inline

Definition at line 89 of file ComputeField.hpp.

◆ compute_rank_sum()

template<class T>
T shamrock::ComputeField< T >::compute_rank_sum ( )
inline

Definition at line 101 of file ComputeField.hpp.

◆ generate()

template<class T>
void shamrock::ComputeField< T >::generate ( PatchScheduler & sched,
std::string name,
u32 nvar = 1 )
inline

Definition at line 36 of file ComputeField.hpp.

◆ get_buf()

template<class T>
sham::DeviceBuffer< T > & shamrock::ComputeField< T >::get_buf ( u64 id_patch)
inline

Definition at line 47 of file ComputeField.hpp.

◆ get_buf_check()

template<class T>
sham::DeviceBuffer< T > & shamrock::ComputeField< T >::get_buf_check ( u64 id)
inline

Definition at line 59 of file ComputeField.hpp.

◆ get_field()

template<class T>
PatchDataField< T > & shamrock::ComputeField< T >::get_field ( u64 id_patch)
inline

Definition at line 57 of file ComputeField.hpp.

◆ get_field_span()

template<class T>
template<u32 nvar>
shambase::DistributedData< PatchDataFieldSpan< T, nvar > > shamrock::ComputeField< T >::get_field_span ( )
inline

Definition at line 62 of file ComputeField.hpp.

◆ get_field_span_nvar_dynamic()

template<class T>
shambase::DistributedData< PatchDataFieldSpan< T, shamrock::dynamic_nvar > > shamrock::ComputeField< T >::get_field_span_nvar_dynamic ( )
inline

Definition at line 70 of file ComputeField.hpp.

◆ get_nvar()

template<class T>
u32 shamrock::ComputeField< T >::get_nvar ( )
inline

Definition at line 125 of file ComputeField.hpp.

◆ get_obj_cnts()

template<class T>
shambase::DistributedData< u32 > shamrock::ComputeField< T >::get_obj_cnts ( ) const
inline

Definition at line 51 of file ComputeField.hpp.

◆ rankgather_computefield()

template<class T>
std::unique_ptr< sycl::buffer< T > > shamrock::ComputeField< T >::rankgather_computefield ( PatchScheduler & sched)
inline

Definition at line 149 of file ComputeField.hpp.

◆ reset()

template<class T>
void shamrock::ComputeField< T >::reset ( )
inline

Definition at line 183 of file ComputeField.hpp.

Member Data Documentation

◆ field_data

template<class T>
shambase::DistributedData<PatchDataField<T> > shamrock::ComputeField< T >::field_data

Definition at line 34 of file ComputeField.hpp.


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