initialize_id_bnsfuka Interface

interface


Calls

interface~~initialize_id_bnsfuka~~CallsGraph interface~initialize_id_bnsfuka initialize_id_bnsfuka proc~initialize_id_bnsfuka initialize_id_bnsfuka interface~initialize_id_bnsfuka->proc~initialize_id_bnsfuka proc~initialize_id_bnsfuka->interface~initialize_id_bnsfuka allocate_grid_function allocate_grid_function proc~initialize_id_bnsfuka->allocate_grid_function

Called by

interface~~initialize_id_bnsfuka~~CalledByGraph interface~initialize_id_bnsfuka initialize_id_bnsfuka proc~initialize_id_bnsfuka initialize_id_bnsfuka interface~initialize_id_bnsfuka->proc~initialize_id_bnsfuka proc~initialize_id_bnsfuka->interface~initialize_id_bnsfuka

public recursive module subroutine initialize_id_bnsfuka(this, flag, switch)

Arguments

Type IntentOptional Attributes Name
class(bnsfuka), intent(inout) :: this
integer, intent(in) :: flag

Identifies what kind of initialization has to be done

logical, intent(in), optional :: switch

If .TRUE., switch to a different initialization

Description

Initialize the \(\texttt{FUKA}\) \(\mathrm{BNS}\) \(\mathrm{ID}\).

  • If flag= [[utility:flag$sph]], set up the lattices around the stars for the \(\mathrm{BNS}\) produced with \(\texttt{FUKA}\).
  • If flag= [[utility:flag$tpo]], allocate memory for the hydro grid functions.
  • If flag > 0, assign its value to l_curr.
  • If [[utility:flag$tpo]] < flag < 0, assign its value to tpo_curr.