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

Public Member Functions

void generate (PatchScheduler &sched)
void generate (PatchScheduler &sched, std::unordered_map< u64, u32 > &size_map)
const std::unique_ptr< sycl::buffer< T > > & get_buf (u64 id_patch) const
std::unique_ptr< sycl::buffer< T > > get_sub_buf (u64 id_patch)
PatchDataField< T > & get_field (u64 id_patch)

Public Attributes

std::unordered_map< u64, PatchDataField< T > > field_data

Detailed Description

template<class T>
class PatchComputeField< T >

Definition at line 26 of file compute_field.hpp.

Member Function Documentation

◆ generate() [1/2]

template<class T>
void PatchComputeField< T >::generate ( PatchScheduler & sched)
inline

Definition at line 32 of file compute_field.hpp.

◆ generate() [2/2]

template<class T>
void PatchComputeField< T >::generate ( PatchScheduler & sched,
std::unordered_map< u64, u32 > & size_map )
inline

Definition at line 46 of file compute_field.hpp.

◆ get_buf()

template<class T>
const std::unique_ptr< sycl::buffer< T > > & PatchComputeField< T >::get_buf ( u64 id_patch) const
inline

Definition at line 60 of file compute_field.hpp.

◆ get_field()

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

Definition at line 69 of file compute_field.hpp.

◆ get_sub_buf()

template<class T>
std::unique_ptr< sycl::buffer< T > > PatchComputeField< T >::get_sub_buf ( u64 id_patch)
inline

Definition at line 65 of file compute_field.hpp.

Member Data Documentation

◆ field_data

template<class T>
std::unordered_map<u64, PatchDataField<T> > PatchComputeField< T >::field_data

Definition at line 30 of file compute_field.hpp.


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