28namespace shamrock::solvergraph {
61 std::shared_ptr<shamrock::patch::PatchDataLayerLayout> ghost_layer_layout;
72 std::shared_ptr<shamrock::patch::PatchDataLayerLayout> ghost_layer_layout)
73 : ghost_layer_layout(
std::move(ghost_layer_layout)) {}
75#define NODE_EXCHANGE_GHOST_LAYER_EDGES(X_RO, X_RW) \
77 X_RO(shamrock::solvergraph::RankGetter, rank_owner) \
79 X_RW(shamrock::solvergraph::PatchDataLayerDDShared, ghost_layer)
81 EXPAND_NODE_EDGES(NODE_EXCHANGE_GHOST_LAYER_EDGES)
82#undef NODE_EXCHANGE_GHOST_LAYER_EDGES
98 inline virtual std::string
_impl_get_label()
const {
return "ExchangeGhostLayer"; };
Shared distributed data layer for patch data management in solver graphs.
Solver graph node for distributed ghost layer data exchange.
virtual std::string _impl_get_tex() const
Returns the TeX representation for this node.
virtual std::string _impl_get_label() const
Returns the display label for this node.
void _impl_evaluate_internal()
Performs the ghost layer data exchange computation.
ExchangeGhostLayer(std::shared_ptr< shamrock::patch::PatchDataLayerLayout > ghost_layer_layout)
Constructs an ExchangeGhostLayer node with specified layout.
Inode is node between data edges, takes multiple inputs, multiple outputs.