![]() |
Peano
|
#include <config.h>
#include "mhd.h"
Go to the source code of this file.
Functions | |
__attribute__ ((always_inline)) INLINE static float signal_velocity(const float dx[3] | |
Compute the signal velocity between two gas particles, MHD case. | |
Variables | |
const struct part *restrict | pi |
const struct part *restrict const struct part *restrict | pj |
const struct part *restrict const struct part *restrict const float | mu_ij |
const struct part *restrict const struct part *restrict const float const float | beta |
__attribute__ | ( | (always_inline) | ) | const |
Compute the signal velocity between two gas particles, MHD case.
Warning ONLY to be called just after preparation of the force loop.
dx | Comoving vector separating both particles (pi - pj). |
pi The first part.
pj The second part.
mu_ij The velocity on the axis linking the particles, or zero if the particles are moving away from each other,
beta The non-linear viscosity constant.
Definition at line 45 of file signal_velocity.h.
Referenced by exahype2::fd::tests::CCZ4KernelTest::AppleWithAppleTest(), TP::TwoPunctures::bicgstab(), applications::exahype2::ccz4::ncp(), examples::exahype2::mgccz4::ncp(), exahype2::fd::tests::CCZ4KernelTest::prepareFieldData(), applications::exahype2::ccz4::source(), and examples::exahype2::mgccz4::source().
Definition at line 45 of file signal_velocity.h.
Referenced by swift2::kernels::legacy::force_kernel(), and swift2::kernels::legacy::forceKernelWithMasking().
const struct part* restrict pi |
Definition at line 44 of file signal_velocity.h.
Definition at line 45 of file signal_velocity.h.