finalize Module Procedure

module procedure finalize module subroutine finalize(npart, pos, nlrf, u, pr, vel_u, theta, nstar, nu)

This SUBROUTINE is curretly just a placeholder. It could be used, for exmaple, to correct the ADM momentum at the end of the execution, or correct for residual eccentricity, etc.

FT 14.04.2022


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


Called by

proc~~finalize~2~~CalledByGraph proc~finalize~2 finalize interface~finalize~2 finalize interface~finalize~2->proc~finalize~2

Contents