Shamrock 2025.10.0
Astrophysical Code
Loading...
Searching...
No Matches
FuseGhostLayer.hpp
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
10#pragma once
11
17
21
22#define NODE_EDGES(X_RO, X_RW) \
23 /* ------------------- inputs ------------------- */ \
24 X_RO(shamrock::solvergraph::PatchDataLayerDDShared, ghost_layer) \
25 \
26 /* ------------------- outputs ------------------- */ \
27 X_RW(shamrock::solvergraph::IPatchDataLayerRefs, patch_data_layers)
28
30
31 class FuseGhostLayer : public shamrock::solvergraph::INode {
32
33 public:
34 FuseGhostLayer() {}
35
36 EXPAND_NODE_EDGES(NODE_EDGES)
37
39
40 inline virtual std::string _impl_get_label() const { return "FuseGhostLayer"; };
41
42 virtual std::string _impl_get_tex() const;
43 };
44} // namespace shammodels::basegodunov::modules
45
46#undef NODE_EDGES
Defines the PatchDataLayerRefs class for managing distributed references to patch data layers.
Shared distributed data layer for patch data management in solver graphs.
virtual std::string _impl_get_label() const
get the label of the node
virtual std::string _impl_get_tex() const
get the tex of the node
Inode is node between data edges, takes multiple inputs, multiple outputs.
Definition INode.hpp:31
namespace for the basegodunov model modules