compute_and_print_bssn_constraints_particles Module Procedure

module procedure compute_and_print_bssn_constraints_particles module subroutine compute_and_print_bssn_constraints_particles(this, parts_obj, namefile, name_logfile, points)

Uses

    • sph_variables
    • kernel_table
    • map_particles_2_grid
    • options
    • gradient
    • Tmunu_refine
    • timing
    • GravityAcceleration_refine
    • alive_flag
    • units
    • set_h
    • metric_on_particles
    • RCB_tree_3D
    • McLachlan_refine
    • tensor
    • mesh_refinement
    • particle_mesh_hash
    • input_output
    • BSSN_refine
    • sphincs_sph
    • ADM_refine
  • proc~~compute_and_print_bssn_constraints_particles~~UsesGraph proc~compute_and_print_bssn_constraints_particles compute_and_print_bssn_constraints_particles ADM_refine ADM_refine proc~compute_and_print_bssn_constraints_particles->ADM_refine BSSN_refine BSSN_refine proc~compute_and_print_bssn_constraints_particles->BSSN_refine GravityAcceleration_refine GravityAcceleration_refine proc~compute_and_print_bssn_constraints_particles->GravityAcceleration_refine McLachlan_refine McLachlan_refine proc~compute_and_print_bssn_constraints_particles->McLachlan_refine RCB_tree_3D RCB_tree_3D proc~compute_and_print_bssn_constraints_particles->RCB_tree_3D Tmunu_refine Tmunu_refine proc~compute_and_print_bssn_constraints_particles->Tmunu_refine alive_flag alive_flag proc~compute_and_print_bssn_constraints_particles->alive_flag gradient gradient proc~compute_and_print_bssn_constraints_particles->gradient input_output input_output proc~compute_and_print_bssn_constraints_particles->input_output kernel_table kernel_table proc~compute_and_print_bssn_constraints_particles->kernel_table map_particles_2_grid map_particles_2_grid proc~compute_and_print_bssn_constraints_particles->map_particles_2_grid mesh_refinement mesh_refinement proc~compute_and_print_bssn_constraints_particles->mesh_refinement metric_on_particles metric_on_particles proc~compute_and_print_bssn_constraints_particles->metric_on_particles options options proc~compute_and_print_bssn_constraints_particles->options particle_mesh_hash particle_mesh_hash proc~compute_and_print_bssn_constraints_particles->particle_mesh_hash set_h set_h proc~compute_and_print_bssn_constraints_particles->set_h sph_variables sph_variables proc~compute_and_print_bssn_constraints_particles->sph_variables sphincs_sph sphincs_sph proc~compute_and_print_bssn_constraints_particles->sphincs_sph tensor tensor proc~compute_and_print_bssn_constraints_particles->tensor timing timing proc~compute_and_print_bssn_constraints_particles->timing units units proc~compute_and_print_bssn_constraints_particles->units

Compute, store and print the \(\mathrm{BSSNOK}\) constraints to a formatted file. The computaton is done mapping the physical metric from the gravity to the particles, computing e stress-energy tensor on the particles, and mapping it to the gravity grid.

FT 1.02.2021


Arguments

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

bssn object to which this PROCEDURE is bound

class(particles), intent(inout) :: parts_obj

particles object used to map the hydrodynamical \(\mathrm{ID}\) to the mesh

character(len=*), intent(inout) :: namefile
character(len=*), intent(inout) :: name_logfile
double precision, intent(in), optional, DIMENSION(:,:,:,:), TARGET :: points

Calls

proc~~compute_and_print_bssn_constraints_particles~~CallsGraph proc~compute_and_print_bssn_constraints_particles compute_and_print_bssn_constraints_particles a_bssn3_ll a_bssn3_ll proc~compute_and_print_bssn_constraints_particles->a_bssn3_ll alive alive proc~compute_and_print_bssn_constraints_particles->alive allocate_adm allocate_adm proc~compute_and_print_bssn_constraints_particles->allocate_adm allocate_bssn allocate_bssn proc~compute_and_print_bssn_constraints_particles->allocate_bssn allocate_gradient allocate_gradient proc~compute_and_print_bssn_constraints_particles->allocate_gradient allocate_gravityacceleration allocate_gravityacceleration proc~compute_and_print_bssn_constraints_particles->allocate_gravityacceleration allocate_grid_function allocate_grid_function proc~compute_and_print_bssn_constraints_particles->allocate_grid_function allocate_metric_on_particles allocate_metric_on_particles proc~compute_and_print_bssn_constraints_particles->allocate_metric_on_particles allocate_rcb_tree_memory_3d allocate_rcb_tree_memory_3d proc~compute_and_print_bssn_constraints_particles->allocate_rcb_tree_memory_3d allocate_sph_memory allocate_sph_memory proc~compute_and_print_bssn_constraints_particles->allocate_sph_memory allocate_tmunu allocate_tmunu proc~compute_and_print_bssn_constraints_particles->allocate_tmunu allocate_ztmp allocate_ztmp proc~compute_and_print_bssn_constraints_particles->allocate_ztmp deallocate_adm deallocate_adm proc~compute_and_print_bssn_constraints_particles->deallocate_adm deallocate_bssn deallocate_bssn proc~compute_and_print_bssn_constraints_particles->deallocate_bssn deallocate_gradient deallocate_gradient proc~compute_and_print_bssn_constraints_particles->deallocate_gradient deallocate_gravityacceleration deallocate_gravityacceleration proc~compute_and_print_bssn_constraints_particles->deallocate_gravityacceleration deallocate_grid_function deallocate_grid_function proc~compute_and_print_bssn_constraints_particles->deallocate_grid_function deallocate_hash_memory deallocate_hash_memory proc~compute_and_print_bssn_constraints_particles->deallocate_hash_memory deallocate_metric_on_particles deallocate_metric_on_particles proc~compute_and_print_bssn_constraints_particles->deallocate_metric_on_particles deallocate_rcb_tree_memory_3d deallocate_rcb_tree_memory_3d proc~compute_and_print_bssn_constraints_particles->deallocate_rcb_tree_memory_3d deallocate_sph_memory deallocate_sph_memory proc~compute_and_print_bssn_constraints_particles->deallocate_sph_memory deallocate_tmunu deallocate_tmunu proc~compute_and_print_bssn_constraints_particles->deallocate_tmunu deallocate_ztmp deallocate_ztmp proc~compute_and_print_bssn_constraints_particles->deallocate_ztmp exact_nei_tree_update exact_nei_tree_update proc~compute_and_print_bssn_constraints_particles->exact_nei_tree_update g_bssn3_ll g_bssn3_ll proc~compute_and_print_bssn_constraints_particles->g_bssn3_ll gamma_u gamma_u proc~compute_and_print_bssn_constraints_particles->gamma_u gc_parts gc_parts proc~compute_and_print_bssn_constraints_particles->gc_parts get_metric_on_particles get_metric_on_particles proc~compute_and_print_bssn_constraints_particles->get_metric_on_particles hc_parts hc_parts proc~compute_and_print_bssn_constraints_particles->hc_parts interface~bssn_constraint_terms_interior bssn_constraint_terms_interior proc~compute_and_print_bssn_constraints_particles->interface~bssn_constraint_terms_interior iorig iorig proc~compute_and_print_bssn_constraints_particles->iorig k_phys3_ll k_phys3_ll proc~compute_and_print_bssn_constraints_particles->k_phys3_ll lapse lapse proc~compute_and_print_bssn_constraints_particles->lapse levels levels proc~compute_and_print_bssn_constraints_particles->levels map_2_grid_hash map_2_grid_hash proc~compute_and_print_bssn_constraints_particles->map_2_grid_hash mc_parts mc_parts proc~compute_and_print_bssn_constraints_particles->mc_parts phi phi proc~compute_and_print_bssn_constraints_particles->phi read_options read_options proc~compute_and_print_bssn_constraints_particles->read_options rho_parts rho_parts proc~compute_and_print_bssn_constraints_particles->rho_parts s_parts s_parts proc~compute_and_print_bssn_constraints_particles->s_parts set_units set_units proc~compute_and_print_bssn_constraints_particles->set_units shift_u shift_u proc~compute_and_print_bssn_constraints_particles->shift_u trk trk proc~compute_and_print_bssn_constraints_particles->trk

Called by

proc~~compute_and_print_bssn_constraints_particles~~CalledByGraph proc~compute_and_print_bssn_constraints_particles compute_and_print_bssn_constraints_particles interface~compute_and_print_bssn_constraints_particles compute_and_print_bssn_constraints_particles interface~compute_and_print_bssn_constraints_particles->proc~compute_and_print_bssn_constraints_particles

Contents


Variables

Type Visibility Attributes Name Initial
integer, private :: a
integer, private :: allocation_status
integer, private, SAVE :: counter = 1
logical, private, parameter :: debug = .FALSE.
logical, private :: exist
character(len=:), private, ALLOCATABLE :: finalname_logfile
integer, private :: i
integer, private, DIMENSION(3) :: imax
integer, private, DIMENSION(3) :: imin
integer, private :: j
integer, private :: k
integer, private :: l
double precision, private :: min_abs_y
double precision, private :: min_abs_z
character(len=2), private :: n_reflev
character(len=:), private, ALLOCATABLE :: name_analysis
character(len=:), private, ALLOCATABLE :: name_constraint
double precision, private, DIMENSION(:), ALLOCATABLE :: nlrf_loc
double precision, private, DIMENSION(:), ALLOCATABLE :: nu_loc
integer, private :: nx
integer, private :: ny
integer, private :: nz
double precision, private, DIMENSION(:,:), ALLOCATABLE :: pos_loc
double precision, private, DIMENSION(:), ALLOCATABLE :: pressure_loc
double precision, private, DIMENSION(:,:,:), POINTER :: pts_x
double precision, private, DIMENSION(:,:,:), POINTER :: pts_y
double precision, private, DIMENSION(:,:,:), POINTER :: pts_z
double precision, private, DIMENSION(:), ALLOCATABLE :: sph_density
double precision, private, DIMENSION(:), ALLOCATABLE :: theta_loc
character(len=2), private :: tpo_id
double precision, private, DIMENSION(:), ALLOCATABLE :: u_loc
integer, private :: unit_logfile
double precision, private, DIMENSION(:,:), ALLOCATABLE :: vel_loc