Shamrock 2025.10.0
Astrophysical Code
Loading...
Searching...
No Matches
NodeSumReduction.hpp File Reference

Node computing the global sum of a field over all patches and ranks. More...

Include dependency graph for NodeSumReduction.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  shamrock::solvergraph::NodeSumReduction< T >
 Compute the sum of spans_in over the first sizes * nvar values of every patch on every rank. More...

Namespaces

namespace  shamrock
 namespace for the main framework

Macros

#define NODE_EDGES(X_RO, X_RW)

Detailed Description

Node computing the global sum of a field over all patches and ranks.

Author
Léodasce Sewanou (leoda.nosp@m.sce..nosp@m.sewan.nosp@m.ou@e.nosp@m.ns-ly.nosp@m.on.f.nosp@m.r)
Timothée David–Cléris (tim.s.nosp@m.hamr.nosp@m.ock@p.nosp@m.roto.nosp@m.n.me)

Adapted from the PhD work of Léodasce Sewanou.

Definition in file NodeSumReduction.hpp.

Macro Definition Documentation

◆ NODE_EDGES

#define NODE_EDGES ( X_RO,
X_RW )
Value:
/* ------------------- inputs ------------------- */ \
\
/* ------------------- outputs ------------------- */ \
Interface for a solver graph edge representing a field as references to the underlying patch fields.

Definition at line 27 of file NodeSumReduction.hpp.