This SUBMODULE contains the implementation of the method test_recovery of TYPE particles.
FT 18.02.2022
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}\).
Type | Intent | Optional | 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 |