Correct the velocity and the generalized Lorentz factor, so that the linear momentum of the \(\mathrm{BNS}\) is 0
: add reference
FT 14.04.2022
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in) | :: | npart |
Particle number |
||
double precision, | intent(inout), | DIMENSION(3,npart) | :: | pos |
Particle positions |
|
double precision, | intent(inout), | DIMENSION(npart) | :: | nlrf |
Baryon density in the local rest frame on the particles |
|
double precision, | intent(inout), | DIMENSION(npart) | :: | u |
Specific internal energy on the particles |
|
double precision, | intent(inout), | DIMENSION(npart) | :: | pr |
Pressure on the particles |
|
double precision, | intent(inout), | DIMENSION(3,npart) | :: | vel_u |
Spatial velocity in the computing frame on the particles |
|
double precision, | intent(inout), | DIMENSION(npart) | :: | theta |
Generalized Lorentz factor on the particles |
|
double precision, | intent(inout), | DIMENSION(npart) | :: | nstar |
Proper baryon density in the local rest frame on the particles |
|
double precision, | intent(inout), | DIMENSION(npart) | :: | nu |
Baryon number per particle |
|
double precision, | intent(in), | DIMENSION(npart) | :: | g_xx | ||
double precision, | intent(in), | DIMENSION(npart) | :: | g_xy | ||
double precision, | intent(in), | DIMENSION(npart) | :: | g_xz | ||
double precision, | intent(in), | DIMENSION(npart) | :: | g_yy | ||
double precision, | intent(in), | DIMENSION(npart) | :: | g_yz | ||
double precision, | intent(in), | DIMENSION(npart) | :: | g_zz | ||
double precision, | intent(in), | DIMENSION(npart) | :: | lapse |
Lapse function on the particles |
|
double precision, | intent(in), | DIMENSION(npart) | :: | shift_x | ||
double precision, | intent(in), | DIMENSION(npart) | :: | shift_y | ||
double precision, | intent(in), | DIMENSION(npart) | :: | shift_z | ||
double precision, | intent(in), | DIMENSION(3) | :: | adm_mom_error | ||
double precision, | intent(in) | :: | adm_mass |
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
integer, | private | :: | a | ||||
double precision, | private, | DIMENSION(3) | :: | delta | |||
double precision, | private | :: | den | ||||
double precision, | private | :: | det | ||||
double precision, | private, | DIMENSION(3,3) | :: | g3mat | |||
double precision, | private, | DIMENSION(3,3) | :: | g3mat_inv | |||
double precision, | private | :: | g4(n_sym4x4) | ||||
double precision, | private, | DIMENSION(4,4) | :: | g4mat | |||
double precision, | private, | DIMENSION(4,4) | :: | g4mat_inv | |||
integer, | private | :: | j | ||||
double precision, | private | :: | shift_delta | ||||
double precision, | private | :: | shift_norm2 | ||||
double precision, | private, | DIMENSION(0:3) | :: | v_l | |||
double precision, | private, | DIMENSION(0:3) | :: | v_u | |||
double precision, | private, | DIMENSION(3,npart) | :: | vel_l_corr |