![]() |
Shamrock 2025.10.0
Astrophysical Code
|
Shearing box forces as in athena [3]. More...
#include <shammodels/common/include/shammodels/common/ExtForceConfig.hpp>
Public Member Functions | |
| Tscal | shear_speed (Tscal box_length) |
| ShearingBoxForce (Tscal Omega_0, Tscal eta, Tscal q) | |
| ShearingBoxForce (i32_3 shear_base, i32_3 shear_dir, Tscal Omega_0, Tscal eta, Tscal q) | |
Public Attributes | |
| i32_3 | shear_base = {1, 0, 0} |
| i32_3 | shear_dir = {0, 1, 0} |
| Tscal | Omega_0 |
| Tscal | eta |
| Tscal | q |
Shearing box forces as in athena [3].
\[ \mathbf{f} = 2\Omega_0 \left( q \Omega_0 x + v_y \right) \basevec{x} -2\Omega_0 v_x \basevec{y} - \Omega_0^2 z \basevec{z} \]
Shear speed :
\[ \omega = q \Omega_0 L_x \]
Definition at line 54 of file ExtForceConfig.hpp.
|
inline |
Definition at line 65 of file ExtForceConfig.hpp.
|
inline |
Definition at line 67 of file ExtForceConfig.hpp.
|
inline |
Definition at line 62 of file ExtForceConfig.hpp.
| Tscal shammodels::ExtForceVariant< Tvec >::ShearingBoxForce::eta |
Definition at line 59 of file ExtForceConfig.hpp.
| Tscal shammodels::ExtForceVariant< Tvec >::ShearingBoxForce::Omega_0 |
Definition at line 58 of file ExtForceConfig.hpp.
| Tscal shammodels::ExtForceVariant< Tvec >::ShearingBoxForce::q |
Definition at line 60 of file ExtForceConfig.hpp.
| i32_3 shammodels::ExtForceVariant< Tvec >::ShearingBoxForce::shear_base = {1, 0, 0} |
Definition at line 55 of file ExtForceConfig.hpp.
| i32_3 shammodels::ExtForceVariant< Tvec >::ShearingBoxForce::shear_dir = {0, 1, 0} |
Definition at line 56 of file ExtForceConfig.hpp.