Skip to content
Open
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -74,10 +74,17 @@ namespace shammodels::basegodunov::modules {
*/
template<class UserAcc, class... T>
void gen_refine_block_changes(
shambase::DistributedData<OptIndexList> &refine_list,
shambase::DistributedData<OptIndexList> &derefine_list,
shambase::DistributedData<sycl::buffer<u32>> &refine_flags,
shambase::DistributedData<sycl::buffer<u32>> &derefine_flags,
Comment thread
Akos299 marked this conversation as resolved.
Outdated
T &&...args);

/**
* @brief
*/
Comment thread
Akos299 marked this conversation as resolved.
Outdated
void enforce_two_to_one_for_refinement(
shambase::DistributedData<sycl::buffer<u32>> &&refine_flags,
shambase::DistributedData<OptIndexList> &refine_idx_list);

template<class UserAcc>
bool internal_refine_grid(shambase::DistributedData<OptIndexList> &&refine_list);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ namespace shammodels::basegodunov {
using Tscal = shambase::VecComponent<Tvec>;
using Tgridscal = shambase::VecComponent<TgridVec>;
static constexpr u32 dim = shambase::VectorProperties<Tvec>::dimension;
using TgridUint = typename std::make_unsigned<shambase::VecComponent<TgridVec>>::type;

using RTree = RadixTree<Tmorton, TgridVec>;

Expand Down Expand Up @@ -141,6 +142,9 @@ namespace shammodels::basegodunov {

std::shared_ptr<shamrock::solvergraph::DDSharedBuffers<u32>> idx_in_ghost;

std::shared_ptr<shamrock::solvergraph::ScalarsEdge<TgridVec>> level0_size;
std::shared_ptr<shamrock::solvergraph::Field<TgridUint>> amr_block_levels;

std::shared_ptr<solvergraph::NeighGraphLinkFieldEdge<std::array<Tscal, 2>>> rho_face_xp;
std::shared_ptr<solvergraph::NeighGraphLinkFieldEdge<std::array<Tscal, 2>>> rho_face_xm;
std::shared_ptr<solvergraph::NeighGraphLinkFieldEdge<std::array<Tscal, 2>>> rho_face_yp;
Expand Down
Loading
Loading