Shamrock
2025.10.0
Astrophysical Code
Loading...
Searching...
No Matches
shammodels
ramses
src
modules
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
16
#include "
shammodels/ramses/modules/FuseGhostLayer.hpp
"
17
18
void
shammodels::basegodunov::modules::FuseGhostLayer::_impl_evaluate_internal
() {
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
32
std::string
shammodels::basegodunov::modules::FuseGhostLayer::_impl_get_tex
()
const
{
33
return
"TODO"
;
34
}
FuseGhostLayer.hpp
A solver graph node to fuse a ghost layer into a set of patch data layers.
u64
std::uint64_t u64
64 bit unsigned integer
Definition
aliases_int.hpp:26
shammodels::basegodunov::modules::FuseGhostLayer::_impl_evaluate_internal
void _impl_evaluate_internal()
evaluate the node
Definition
FuseGhostLayer.cpp:18
shammodels::basegodunov::modules::FuseGhostLayer::_impl_get_tex
virtual std::string _impl_get_tex() const
get the tex of the node
Definition
FuseGhostLayer.cpp:32
shamrock::patch::PatchDataLayer
PatchDataLayer container class, the layout is described in patchdata_layout.
Definition
PatchDataLayer.hpp:35
Generated on Wed May 13 2026 13:21:49 for Shamrock by
1.9.8