Tests the recovery using the metric mapped from the emsh to the particles. 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}\).
add reference for recovery
FT 25.02.2020
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(tpo), | intent(in) | :: | this |
tpo object which this PROCEDURE is a member of |
||
class(particles), | intent(in) | :: | parts |
particles object used to map the metric from the mesh to the particles, and to call the recovery procedures |
||
character(len=*), | intent(inout) | :: | namefile |
Name of the formatted file where the data is printed |
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
integer, | private | :: | a | ||||
logical, | private, | parameter | :: | debug | = | .FALSE. | |
double precision, | private, | DIMENSION(:), ALLOCATABLE | :: | e_hat_rec | |||
integer, | private | :: | eos_id | ||||
logical, | private | :: | exist | ||||
character(len=:), | private, | ALLOCATABLE | :: | finalnamefile | |||
character(len=2), | private | :: | i_mat | ||||
integer, | private | :: | i_matter | ||||
integer, | private | :: | l | ||||
double precision, | private, | DIMENSION(:), ALLOCATABLE | :: | nlrf_rec | |||
integer, | private | :: | npart | ||||
double precision, | private, | DIMENSION(:), ALLOCATABLE | :: | nstar | |||
double precision, | private, | DIMENSION(:), ALLOCATABLE | :: | nstar_rec | |||
double precision, | private, | DIMENSION(:,:), ALLOCATABLE | :: | pos | |||
double precision, | private, | DIMENSION(:), ALLOCATABLE | :: | pr_rec | |||
double precision, | private, | DIMENSION(:,:), ALLOCATABLE | :: | s_l_rec | |||
double precision, | private, | DIMENSION(:), ALLOCATABLE | :: | theta_rec | |||
double precision, | private, | DIMENSION(:), ALLOCATABLE | :: | u_rec | |||
integer, | private, | parameter | :: | unit_recovery | = | 34156 | |
double precision, | private, | DIMENSION(:,:), ALLOCATABLE | :: | vel_u_rec |