![]() |
Shamrock 2025.10.0
Astrophysical Code
|
Node applying the external forces accelerations at t^n and t^{n+1} to the gas conservative state (trapezoidal rule). More...
#include "shambackends/vec.hpp"#include "shamrock/solvergraph/IFieldSpan.hpp"#include "shamrock/solvergraph/Indexes.hpp"#include "shamrock/solvergraph/ScalarEdge.hpp"#include "shamsolvergraph/node/INode.hpp"Go to the source code of this file.
Classes | |
| class | shammodels::basegodunov::modules::ApplyExtForceGasTrapezoidal< Tvec > |
| Apply the external forces accelerations to the gas momentum and total energy with the trapezoidal rule: the average of the source terms at t^n (a_ext_n and the state at t^n) and at t^{n+1} (a_ext_np1 and the state 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) |
Node applying the external forces accelerations at t^n and t^{n+1} to the gas conservative state (trapezoidal rule).
Adapted from the PhD work of Léodasce Sewanou.
Definition in file ApplyExtForceGasTrapezoidal.hpp.
| #define NODE_EDGES | ( | X_RO, | |
| X_RW ) |
Definition at line 28 of file ApplyExtForceGasTrapezoidal.hpp.