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

Compute a gravitational acceleration at the center of each cell, using an analytical formula. More...

Include dependency graph for AddExtForcePointMassGravity.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::AddExtForcePointMassGravity< Tvec >

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

Compute a gravitational acceleration at the center of each cell, using an analytical formula.

Author
NoƩ Brucy (noe.b.nosp@m.rucy.nosp@m.@ens-.nosp@m.lyon.nosp@m..fr)

Definition in file AddExtForcePointMassGravity.hpp.

Macro Definition Documentation

◆ NODE_EDGES

#define NODE_EDGES ( X_RO,
X_RW )
Value:
/* ------------------- inputs ------------------- */ \
X_RO( \
spans_coordinates) /* center coordinates of each cell */ \
X_RO(shamrock::solvergraph::ScalarEdge<Tscal>, constant_G) /* Grav Constant*/ \
\
/* ------------------- outputs ------------------- */ \
Interface for a solver graph edge representing a field as spans.

Definition at line 24 of file AddExtForcePointMassGravity.hpp.