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

Accrete flagged SPH particles onto sinks (mass, CoM, spin, etc.). More...

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

Go to the source code of this file.

Classes

class  shammodels::sph::modules::SinkParticlesAccreteQuantities< Tvec >

Namespaces

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

Macros

#define NODE_EDGES(X_RO, X_RW)

Detailed Description

Accrete flagged SPH particles onto sinks (mass, CoM, spin, etc.).

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 SinkParticlesAccreteQuantities.hpp.

Macro Definition Documentation

◆ NODE_EDGES

#define NODE_EDGES ( X_RO,
X_RW )
Value:
/* ------------------- (param) inputs ------------------- */ \
\
/* ------------------- (field) inputs ------------------- */ \
\
/* ------------------- (sink) accretion table ------------------- */ \
X_RW(shamrock::solvergraph::Field<u32>, sink_accretion_table) \
\
/* ------------------- (sink) in/out ------------------- */ \
X_RW(shamrock::solvergraph::IDataEdge<std::vector<Tvec>>, sink_positions) \
X_RW(shamrock::solvergraph::IDataEdge<std::vector<Tvec>>, sink_velocities) \
X_RW(shamrock::solvergraph::IDataEdge<std::vector<Tvec>>, sink_accelerations) \
X_RW(shamrock::solvergraph::IDataEdge<std::vector<Tvec>>, sink_angmom) \
X_RW(shamrock::solvergraph::IDataEdge<std::vector<Tscal>>, sink_mass)
Interface for a solver graph edge representing a field as spans.

Definition at line 27 of file SinkParticlesAccreteQuantities.hpp.