Computes an estimate of the linear momentum using the \(\mathrm{SPH}\) fields on the particles
add reference
FT 12.04.2022
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 |
||
double precision, | intent(out), | DIMENSION(3) | :: | adm_mom |
ADM linear momentum of the fluid computed using the metric mapped with the mesh-to-particle mapping |
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
integer, | private | :: | a | ||||
double precision, | private | :: | adm_mom_element | ||||
double precision, | private, | DIMENSION(parts% get_n_matter(),3) | :: | adm_mom_i | |||
logical, | private, | parameter | :: | debug | = | .FALSE. | |
double precision, | private | :: | det | ||||
double precision, | private, | DIMENSION(6) | :: | g3 | |||
integer, | private | :: | i_matter | ||||
integer, | private | :: | j | ||||
integer, | private | :: | l | ||||
double precision, | private | :: | lapse_loc | ||||
double precision, | private, | DIMENSION(:), ALLOCATABLE | :: | nlrf_loc | |||
double precision, | private, | DIMENSION(:), ALLOCATABLE | :: | nu_loc | |||
double precision, | private, | DIMENSION(:,:), ALLOCATABLE | :: | pos | |||
double precision, | private, | DIMENSION(:), ALLOCATABLE | :: | pr_loc | |||
double precision, | private, | DIMENSION(3) | :: | shift | |||
double precision, | private | :: | shift_norm2 | ||||
double precision, | private, | DIMENSION(:), ALLOCATABLE | :: | theta_loc | |||
double precision, | private, | DIMENSION(:), ALLOCATABLE | :: | u_loc | |||
integer, | private, | parameter | :: | unit_recovery | = | 34956 | |
double precision, | private, | DIMENSION(0:3,parts% get_npart()) | :: | v_l | |||
double precision, | private, | DIMENSION(0:3) | :: | v_u | |||
double precision, | private, | DIMENSION(:,:), ALLOCATABLE | :: | vel_loc |