Shamrock 2025.10.0
Astrophysical Code
Loading...
Searching...
No Matches
shammodels::basegodunov::AMRStencilCache Struct Reference
Collaboration diagram for shammodels::basegodunov::AMRStencilCache:

Public Types

using cell_stencil_el_buf = std::unique_ptr<sycl::buffer<amr::cell::StencilElement>>
using dd_cell_stencil_el_buf = shambase::DistributedData<cell_stencil_el_buf>

Public Member Functions

void insert_data (u32 map_id, dd_cell_stencil_el_buf &&stencil_element)
sycl::buffer< amr::cell::StencilElement > & get_stencil_element (u64 patch_id, u32 map_id)

Public Attributes

std::unordered_map< u32, dd_cell_stencil_el_buf > storage

Detailed Description

Definition at line 26 of file AMRStencilCache.hpp.

Member Typedef Documentation

◆ cell_stencil_el_buf

using shammodels::basegodunov::AMRStencilCache::cell_stencil_el_buf = std::unique_ptr<sycl::buffer<amr::cell::StencilElement>>

Definition at line 28 of file AMRStencilCache.hpp.

◆ dd_cell_stencil_el_buf

using shammodels::basegodunov::AMRStencilCache::dd_cell_stencil_el_buf = shambase::DistributedData<cell_stencil_el_buf>

Definition at line 30 of file AMRStencilCache.hpp.

Member Function Documentation

◆ get_stencil_element()

sycl::buffer< amr::cell::StencilElement > & shammodels::basegodunov::AMRStencilCache::get_stencil_element ( u64 patch_id,
u32 map_id )
inline

Definition at line 37 of file AMRStencilCache.hpp.

◆ insert_data()

void shammodels::basegodunov::AMRStencilCache::insert_data ( u32 map_id,
dd_cell_stencil_el_buf && stencil_element )
inline

Definition at line 33 of file AMRStencilCache.hpp.

Member Data Documentation

◆ storage

std::unordered_map<u32, dd_cell_stencil_el_buf> shammodels::basegodunov::AMRStencilCache::storage

Definition at line 31 of file AMRStencilCache.hpp.


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