Shamrock 2025.10.0
Astrophysical Code
Loading...
Searching...
No Matches
Classes | Public Types | Public Member Functions | Public Attributes | Static Public Attributes | List of all members
AMRTestModel Class Reference
+ Collaboration diagram for AMRTestModel:

Classes

class  RefineCellAccessor
 
class  RefineCritCellAccessor
 

Public Types

using Grid = shamrock::amr::AMRGrid< u64_3, 3 >
 
template<class T >
using buf_access_read = sycl::accessor< T, 1, sycl::access::mode::read, sycl::target::device >
 
template<class T >
using buf_access_read_write = sycl::accessor< T, 1, sycl::access::mode::read_write, sycl::target::device >
 

Public Member Functions

 AMRTestModel (Grid &grd)
 
void dump_patch (u64 id)
 
void refine ()
 does the refinment step of the AMR
 
void derefine ()
 
void step ()
 

Public Attributes

Gridgrid
 

Static Public Attributes

static constexpr u64 fact_p_len = 2
 

Detailed Description

Definition at line 31 of file AMROverheadtest.hpp.

Member Typedef Documentation

◆ buf_access_read

template<class T >
using AMRTestModel::buf_access_read = sycl::accessor<T, 1, sycl::access::mode::read, sycl::target::device>

Definition at line 70 of file AMROverheadtest.hpp.

◆ buf_access_read_write

template<class T >
using AMRTestModel::buf_access_read_write = sycl::accessor<T, 1, sycl::access::mode::read_write, sycl::target::device>

Definition at line 72 of file AMROverheadtest.hpp.

◆ Grid

Definition at line 33 of file AMROverheadtest.hpp.

Constructor & Destructor Documentation

◆ AMRTestModel()

AMRTestModel::AMRTestModel ( Grid grd)
inlineexplicit

Definition at line 36 of file AMROverheadtest.hpp.

Member Function Documentation

◆ derefine()

void AMRTestModel::derefine ( )
inline

Definition at line 158 of file AMROverheadtest.hpp.

◆ dump_patch()

void AMRTestModel::dump_patch ( u64  id)
inline

Definition at line 91 of file AMROverheadtest.hpp.

◆ refine()

void AMRTestModel::refine ( )
inline

does the refinment step of the AMR

Definition at line 114 of file AMROverheadtest.hpp.

+ Here is the call graph for this function:

◆ step()

void AMRTestModel::step ( )
inline

Definition at line 198 of file AMROverheadtest.hpp.

Member Data Documentation

◆ fact_p_len

constexpr u64 AMRTestModel::fact_p_len = 2
staticconstexpr

Definition at line 108 of file AMROverheadtest.hpp.

◆ grid

Grid& AMRTestModel::grid

Definition at line 34 of file AMROverheadtest.hpp.


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