Shamrock 2025.10.0
Astrophysical Code
Loading...
Searching...
No Matches
FuseGhostLayer.cpp
Go to the documentation of this file.
1// -------------------------------------------------------//
2//
3// SHAMROCK code for hydrodynamics
4// Copyright (c) 2021-2026 Timothée David--Cléris <tim.shamrock@proton.me>
5// SPDX-License-Identifier: CeCILL Free Software License Agreement v2.1
6// Shamrock is licensed under the CeCILL 2.1 License, see LICENSE for more information
7//
8// -------------------------------------------------------//
9
15
17
20 auto edges = get_edges();
21
22 auto &ghost_layer = edges.ghost_layer;
23 auto &patch_data_layers = edges.patch_data_layers;
24
25 ghost_layer.patchdatas.for_each(
26 [&]([[maybe_unused]] u64 sender,
27 u64 receiver,
28 const shamrock::patch::PatchDataLayer &ghost_layer_element) {
29 patch_data_layers.get(receiver).insert_elements(ghost_layer_element);
30 });
31}
32
34 return "TODO";
35}
A solver graph node to fuse a ghost layer into a set of patch data layers.
std::uint64_t u64
64 bit unsigned integer
virtual std::string _impl_get_tex() const
get the tex of the node
PatchDataLayer container class, the layout is described in patchdata_layout.
#define __shamrock_stack_entry()
Macro to create a stack entry.