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

Sum the fluxes into the time derivative fields for Dust. More...

Include dependency graph for SumFluxDust.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::NodeSumFluxDust< Tvec, TgridVec >

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)

Typedefs

template<class T>
using shammodels::basegodunov::modules::NGLink = shammodels::basegodunov::modules::NeighGraphLinkField<T>

Detailed Description

Sum the fluxes into the time derivative fields for Dust.

Author
Timothée David–Cléris (tim.s.nosp@m.hamr.nosp@m.ock@p.nosp@m.roto.nosp@m.n.me)

Definition in file SumFluxDust.hpp.

Macro Definition Documentation

◆ NODE_EDGES

#define NODE_EDGES ( X_RO,
X_RW )
Value:
/* ------------------- inputs ------------------- */ \
/* number of blocks */ \
\
/* cell neighbor graph */ \
X_RO(CellGraphEdge, cell_neigh_graph) \
\
/* block cell sizes */ \
X_RO(shamrock::solvergraph::IFieldSpan<Tscal>, spans_block_cell_sizes) \
/* block low corner position */ \
X_RO(shamrock::solvergraph::IFieldSpan<Tvec>, spans_cell0block_aabb_lower) \
\
/* fluxes */ \
X_RO(solvergraph::NeighGraphLinkFieldEdge<Tscal>, flux_rho_face_xp) \
X_RO(solvergraph::NeighGraphLinkFieldEdge<Tscal>, flux_rho_face_xm) \
X_RO(solvergraph::NeighGraphLinkFieldEdge<Tscal>, flux_rho_face_yp) \
X_RO(solvergraph::NeighGraphLinkFieldEdge<Tscal>, flux_rho_face_ym) \
X_RO(solvergraph::NeighGraphLinkFieldEdge<Tscal>, flux_rho_face_zp) \
X_RO(solvergraph::NeighGraphLinkFieldEdge<Tscal>, flux_rho_face_zm) \
\
X_RO(solvergraph::NeighGraphLinkFieldEdge<Tvec>, flux_rhov_face_xp) \
X_RO(solvergraph::NeighGraphLinkFieldEdge<Tvec>, flux_rhov_face_xm) \
X_RO(solvergraph::NeighGraphLinkFieldEdge<Tvec>, flux_rhov_face_yp) \
X_RO(solvergraph::NeighGraphLinkFieldEdge<Tvec>, flux_rhov_face_ym) \
X_RO(solvergraph::NeighGraphLinkFieldEdge<Tvec>, flux_rhov_face_zp) \
X_RO(solvergraph::NeighGraphLinkFieldEdge<Tvec>, flux_rhov_face_zm) \
\
/* ------------------- outputs ------------------- */ \
X_RW(shamrock::solvergraph::IFieldSpan<Tscal>, spans_dtrho) /* time derivative of density*/ \
X_RW(shamrock::solvergraph::IFieldSpan<Tvec>, spans_dtrhov) /* time derivative of momentum*/
Interface for a solver graph edge representing a field as spans.

Definition at line 27 of file SumFluxDust.hpp.