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
17
19 auto edges = get_edges();
20
21 auto &ghost_layer = edges.ghost_layer;
22 auto &patch_data_layers = edges.patch_data_layers;
23
24 ghost_layer.patchdatas.for_each(
25 [&]([[maybe_unused]] u64 sender,
26 u64 receiver,
27 const shamrock::patch::PatchDataLayer &ghost_layer_element) {
28 patch_data_layers.get(receiver).insert_elements(ghost_layer_element);
29 });
30}
31
33 return "TODO";
34}
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.