construct_bnslorene Module Procedure

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

Uses

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

Constructs an object of TYPE bnslorene

FT


Arguments

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

Constructed bnslorene object

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

\(\texttt{LORENE}\) 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_bnslorene~~CallsGraph proc~construct_bnslorene construct_bnslorene interface~read_bns_properties read_bns_properties proc~construct_bnslorene->interface~read_bns_properties timer timer proc~construct_bnslorene->timer proc~read_bns_properties read_bns_properties interface~read_bns_properties->proc~read_bns_properties interface~get_lorene_bns_params get_lorene_bns_params proc~read_bns_properties->interface~get_lorene_bns_params interface~print_bns_properties print_bns_properties proc~read_bns_properties->interface~print_bns_properties proc~k_lorene2cu k_lorene2cu proc~read_bns_properties->proc~k_lorene2cu proc~k_lorene2cu_pwp k_lorene2cu_pwp proc~read_bns_properties->proc~k_lorene2cu_pwp proc~read_compose_beta_equilibrated_eos read_compose_beta_equilibrated_eos proc~read_bns_properties->proc~read_compose_beta_equilibrated_eos proc~shorten_eos_name shorten_eos_name proc~read_bns_properties->proc~shorten_eos_name proc~print_bns_properties print_bns_properties interface~print_bns_properties->proc~print_bns_properties proc~print_bns_properties->proc~k_lorene2cu proc~print_bns_properties->proc~k_lorene2cu_pwp

Called by

proc~~construct_bnslorene~~CalledByGraph proc~construct_bnslorene construct_bnslorene interface~construct_bnslorene construct_bnslorene interface~construct_bnslorene->proc~construct_bnslorene

Contents


Variables

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

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