construct_bnsfuka Module Procedure

module procedure construct_bnsfuka module subroutine construct_bnsfuka(derived_type, filename, eos_filenames)

Uses

  • proc~~construct_bnsfuka~~UsesGraph proc~construct_bnsfuka construct_bnsfuka module~utility utility proc~construct_bnsfuka->module~utility constants constants module~utility->constants matrix matrix module~utility->matrix

Constructs an object of TYPE bnsfuka

Created: FT 09.02.2022 Last update: FT 27.05.2022


Arguments

Type IntentOptional Attributes Name
class(bnsfuka), intent(out) :: derived_type

Constructed bnsfuka object

character(len=*), intent(in), optional :: filename

\(\texttt{FUKA}\) binary file containing the spectral \(\mathrm{BNS}\) \(\mathrm{ID}\)

character(len=*), intent(in), optional, DIMENSION(:) :: eos_filenames

Array of strings containing the names of the files containing the \(\mathrm{EOS}\) to be used for each matter object. If not PRESENT, information from the file filename is used


Calls

proc~~construct_bnsfuka~~CallsGraph proc~construct_bnsfuka construct_bnsfuka interface~read_bns_properties~2 read_bns_properties proc~construct_bnsfuka->interface~read_bns_properties~2 timer timer proc~construct_bnsfuka->timer proc~read_bns_properties~2 read_bns_properties interface~read_bns_properties~2->proc~read_bns_properties~2 interface~get_fuka_id_params get_fuka_id_params proc~read_bns_properties~2->interface~get_fuka_id_params interface~print_bns_properties~2 print_bns_properties proc~read_bns_properties~2->interface~print_bns_properties~2 proc~shorten_eos_name shorten_eos_name proc~read_bns_properties~2->proc~shorten_eos_name proc~print_bns_properties~2 print_bns_properties interface~print_bns_properties~2->proc~print_bns_properties~2

Called by

proc~~construct_bnsfuka~~CalledByGraph proc~construct_bnsfuka construct_bnsfuka interface~construct_bnsfuka construct_bnsfuka interface~construct_bnsfuka->proc~construct_bnsfuka

Contents


Variables

Type Visibility Attributes Name Initial
integer, private, SAVE :: bns_counter = 1
double precision, private, DIMENSION(:), ALLOCATABLE :: length_scale_pressure

Functions

function get_pressure(x, y, z) result(val)

Returns the value of the pressure at the desired point

Arguments

Type IntentOptional Attributes Name
double precision, intent(in) :: x

coordinate of the desired point

double precision, intent(in) :: y

coordinate of the desired point

double precision, intent(in) :: z

coordinate of the desired point

Return Value double precision

Pressure at