Peano
Loading...
Searching...
No Matches
signal_velocity.h File Reference
#include <config.h>
#include "mhd.h"
Include dependency graph for signal_velocity.h:
This graph shows which files directly or indirectly include this file:

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
 

Function Documentation

◆ __attribute__()

__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.

Parameters
dxComoving 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.

Variable Documentation

◆ beta

const struct part* restrict const struct part* restrict const float const float beta
Initial value:
{
return mhd_signal_velocity(dx, pi, pj, mu_ij, beta)
const float dx[3]
Definition hydro_iact.h:54
const struct part *restrict const struct part *restrict const float const float beta
const struct part *restrict const struct part *restrict pj
const struct part *restrict const struct part *restrict const float mu_ij

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().

◆ mu_ij

const struct part* restrict const struct part* restrict const float mu_ij

◆ pi

const struct part* restrict pi

Definition at line 44 of file signal_velocity.h.

◆ pj

const struct part* restrict const struct part* restrict pj

Definition at line 45 of file signal_velocity.h.