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

Node applying the external forces accelerations at t^n and t^{n+1} to the dust conservative state (trapezoidal rule). More...

Include dependency graph for ApplyExtForceDustTrapezoidal.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::ApplyExtForceDustTrapezoidal< Tvec >
 Apply the external forces accelerations to the momentum of every dust species with the trapezoidal rule: the average of the source terms at t^n (a_ext_n and the dust density at t^n) and at t^{n+1} (a_ext_np1 and the dust density at t^{n+1}) is applied over the whole time step. 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

Node applying the external forces accelerations at t^n and t^{n+1} to the dust conservative state (trapezoidal rule).

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)

Definition in file ApplyExtForceDustTrapezoidal.hpp.

Macro Definition Documentation

◆ NODE_EDGES

#define NODE_EDGES ( X_RO,
X_RW )
Value:
/* ------------------- inputs ------------------- */ \
X_RO(shamrock::solvergraph::IFieldSpan<Tscal>, spans_dt_rho_dust) \
X_RO(shamrock::solvergraph::IFieldSpan<Tvec>, spans_a_ext_np1) \
\
/* ------------------- outputs ------------------- */ \
Interface for a solver graph edge representing a field as spans.

Definition at line 26 of file ApplyExtForceDustTrapezoidal.hpp.