finalize_sph_id_int Abstract Interface

abstract interface
public subroutine finalize_sph_id_int(npart, pos, nlrf, u, pr, vel_u, theta, nstar, nu)

Arguments

Type IntentOptional 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

Description

Post-process the \(\mathrm{SPH}\) \(\mathrm{ID}\); for example, correct for the residual ADM linear momentum.