Shamrock 2025.10.0
Astrophysical Code
Loading...
Searching...
No Matches
Classes | Namespaces | Macros | Typedefs
SumFluxDust.hpp File Reference

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

#include "shambackends/vec.hpp"
#include "shammodels/common/amr/AMRBlock.hpp"
#include "shammodels/ramses/solvegraph/NeighGraphLinkFieldEdge.hpp"
#include "shamrock/solvergraph/Field.hpp"
#include "shamrock/solvergraph/INode.hpp"
#include "shamrock/solvergraph/Indexes.hpp"
#include "shamrock/solvergraph/ScalarsEdge.hpp"
+ 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_SUM_FLUX_DUST(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_SUM_FLUX_DUST

#define NODE_SUM_FLUX_DUST (   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.