Shamrock 2025.10.0
Astrophysical Code
Loading...
Searching...
No Matches
ExchangeGhostField.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
21
27
28#define NODE_EDGES(X_RO, X_RW) \
29 /* input */ \
30 X_RO(shamrock::solvergraph::RankGetter, rank_owner) \
31 /* output */ \
32 X_RW(shamrock::solvergraph::PatchDataFieldDDShared<T>, ghost_layer)
33
34namespace shamrock::solvergraph {
35
65 template<class T>
67
69
70 public:
75
76 EXPAND_NODE_EDGES(NODE_EDGES)
77
78
87
92 inline virtual std::string _impl_get_label() const { return "ExchangeGhostField"; };
93
98 virtual std::string _impl_get_tex() const;
99 };
100} // namespace shamrock::solvergraph
101
102#undef NODE_EDGES
Shared distributed data field for patch data management in solver graphs.
virtual std::string _impl_get_tex() const
Returns the TeX representation for this node.
ExchangeGhostField()
Default constructor for ExchangeGhostField node.
virtual std::string _impl_get_label() const
Returns the display label for this node.
void _impl_evaluate_internal()
Performs the ghost field data exchange computation.
Inode is node between data edges, takes multiple inputs, multiple outputs.
Definition INode.hpp:30