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

Squared L2 norm of a field, summed over all patches and ranks. More...

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

Go to the source code of this file.

Classes

class  shammodels::basegodunov::modules::ResidualDot< T >
 Compute res_ddot <- sum_i <res_i, res_i> over the first sizes * nvar values of every patch on every rank. More...

Namespaces

namespace  shammodels
 namespace for models
namespace  shammodels::basegodunov
 namespace for the basegodunov model
namespace  shammodels::basegodunov::modules
 namespace for the basegodunov model modules

Macros

#define NODE_EDGES(X_RO, X_RW)

Detailed Description

Squared L2 norm of a field, summed 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 ResidualDot.hpp.

Macro Definition Documentation

◆ NODE_EDGES

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

Definition at line 26 of file ResidualDot.hpp.