recovery Submodule

This SUBMODULE contains the implementation of the method test_recovery of TYPE particles.

FT 18.02.2022



Uses

  • module~~recovery~~UsesGraph module~recovery recovery module~sph_particles sph_particles module~recovery->module~sph_particles module~id_base id_base module~sph_particles->module~id_base module~utility utility module~sph_particles->module~utility timing timing module~sph_particles->timing module~id_base->module~utility module~id_base->timing constants constants module~utility->constants matrix matrix module~utility->matrix

Contents


Module Procedures

module procedure test_recovery module subroutine test_recovery(this, npart, pos, nlrf, u, pr, vel_u, theta, nstar)

Tests the recovery. Computes the conserved variables from the physical ones, and then the physical ones from the conserved ones. It then compares the variables computed with the recovery PROCEDURES, with those computed with \(\texttt{SPHINCS_ID}\).

Read more…

Arguments

Type IntentOptional Attributes Name
class(particles), intent(inout) :: this

particles object which this PROCEDURE is a member of

integer, intent(in) :: npart

Particle number

double precision, intent(in), DIMENSION(3,npart) :: pos

Particle positions

double precision, intent(in), DIMENSION(npart) :: nlrf

Baryon density in the local rest frame on the particles

double precision, intent(in), DIMENSION(npart) :: u

Specific internal energy on the particles

double precision, intent(in), DIMENSION(npart) :: pr

Pressure on the particles

double precision, intent(in), DIMENSION(3,npart) :: vel_u

Spatial velocity in the computing frame on the particles

double precision, intent(in), DIMENSION(npart) :: theta

Generalized Lorentz factor on the particles

double precision, intent(in), DIMENSION(npart) :: nstar

Proper baryon density in the local rest frame on the particles

Read more…