access Submodule

The module contains the implementation of the methods of TYPE ejecta that allow to access PRIVATE members.

FT xx.11.2021



Uses

  • module~~access~8~~UsesGraph module~access~8 access module~ejecta_generic ejecta_generic module~access~8->module~ejecta_generic module~id_base id_base module~ejecta_generic->module~id_base module~utility utility module~ejecta_generic->module~utility module~id_base->module~utility timing timing module~id_base->timing constants constants module~utility->constants matrix matrix module~utility->matrix

Contents


Module Procedures

module procedure get_adm_mass module function get_adm_mass(this)

Returns 0 (the ADM mass is not necessarily known for this TYPE)

Read more…

Arguments

Type IntentOptional Attributes Name
class(ejecta), intent(in) :: this

ejecta object which this PROCEDURE is a member of

Return Value double precision

module procedure get_barycenter module function get_barycenter(this, i_matter)

Returns the barycenter of the system []

Read more…

Arguments

Type IntentOptional Attributes Name
class(ejecta), intent(in) :: this

ejecta object which this PROCEDURE is a member of

integer, intent(in) :: i_matter

Index of the matter object whose parameter is to return

Return Value double precision, DIMENSION(3)

module procedure get_center module function get_center(this, i_matter)

Returns the center of the system []

Read more…

Arguments

Type IntentOptional Attributes Name
class(ejecta), intent(in) :: this

ejecta object which this PROCEDURE is a member of

integer, intent(in) :: i_matter

Index of the matter object whose parameter is to return

Return Value double precision, DIMENSION(3)

module procedure get_eos module function get_eos(this, i_matter)

Returns the \(\mathrm{EOS}\) name of the system

Read more…

Arguments

Type IntentOptional Attributes Name
class(ejecta), intent(in) :: this

ejecta object which this PROCEDURE is a member of

integer, intent(in) :: i_matter

Index of the matter object whose string is to return

Return Value character(len=:), ALLOCATABLE

module procedure get_eos_id module function get_eos_id(this)

Returns the \(\texttt{SPHINCS_ID}\) identifier of the \(\mathrm{EOS}\) of the system

Read more…

Arguments

Type IntentOptional Attributes Name
class(ejecta), intent(in) :: this

ejecta object which this PROCEDURE is a member of

Return Value integer

module procedure get_eos_parameters module subroutine get_eos_parameters(this, i_matter, eos_params)

Returns the \(\mathrm{EOS}\) parameters of the system

Read more…

Arguments

Type IntentOptional Attributes Name
class(ejecta), intent(in) :: this

ejecta object which this PROCEDURE is a member of

integer, intent(in) :: i_matter

Index of the matter object whose parameter is to return

double precision, intent(out), DIMENSION(:), ALLOCATABLE :: eos_params

Array containing the parameters of the \(\mathrm{EOS}\) for the DRS

module procedure get_gamma pure module function get_gamma(this)

Returns the value of gamma, the polytropic index for polytropic EOS, not piecewise polytropic EOS

Read more…

Arguments

Type IntentOptional Attributes Name
class(ejecta), intent(in) :: this

ejecta object which this PROCEDURE is a member of

Return Value double precision

module procedure get_gamma0 pure module function get_gamma0(this)

Returns the value of gamma0, the crust's polytropic index for the system with piecewise polytropic EOS

Read more…

Arguments

Type IntentOptional Attributes Name
class(ejecta), intent(in) :: this

ejecta object which this PROCEDURE is a member of

Return Value double precision

module procedure get_gamma1 pure module function get_gamma1(this)

Returns the value of gamma1, the first polytropic index for the system with piecewise polytropic EOS

Read more…

Arguments

Type IntentOptional Attributes Name
class(ejecta), intent(in) :: this

ejecta object which this PROCEDURE is a member of

Return Value double precision

module procedure get_gamma2 pure module function get_gamma2(this)

Returns the value of gamma2, the second polytropic index for NS 2 with piecewise polytropic EOS

Read more…

Arguments

Type IntentOptional Attributes Name
class(ejecta), intent(in) :: this

ejecta object which this PROCEDURE is a member of

Return Value double precision

module procedure get_gamma3 pure module function get_gamma3(this)

Returns the value of gamma3, the third polytropic index for the system with piecewise polytropic EOS (innermost index)

Read more…

Arguments

Type IntentOptional Attributes Name
class(ejecta), intent(in) :: this

ejecta object which this PROCEDURE is a member of

Return Value double precision

module procedure get_kappa pure module function get_kappa(this)

Returns the value of kappa, the polytropic constant for polytropic EOS, not piecewise polytropic EOS

Read more…

Arguments

Type IntentOptional Attributes Name
class(ejecta), intent(in) :: this

ejecta object which this PROCEDURE is a member of

Return Value double precision

module procedure get_kappa0 pure module function get_kappa0(this)

Returns the value of kappa0, the crust's polytropic constant for the system with piecewise polytropic EOS

Read more…

Arguments

Type IntentOptional Attributes Name
class(ejecta), intent(in) :: this

ejecta object which this PROCEDURE is a member of

Return Value double precision

module procedure get_kappa1 pure module function get_kappa1(this)

Returns the value of kappa1, the first polytropic constant for the system with piecewise polytropic EOS

Read more…

Arguments

Type IntentOptional Attributes Name
class(ejecta), intent(in) :: this

ejecta object which this PROCEDURE is a member of

Return Value double precision

module procedure get_kappa2 pure module function get_kappa2(this)

Returns the value of kappa2, the second polytropic constant for the system with piecewise polytropic EOS

Read more…

Arguments

Type IntentOptional Attributes Name
class(ejecta), intent(in) :: this

ejecta object which this PROCEDURE is a member of

Return Value double precision

module procedure get_kappa3 pure module function get_kappa3(this)

Returns the value of kappa3, the third polytropic constant for the system with piecewise polytropic EOS

Read more…

Arguments

Type IntentOptional Attributes Name
class(ejecta), intent(in) :: this

ejecta object which this PROCEDURE is a member of

Return Value double precision

module procedure get_logRho0 pure module function get_logRho0(this)

Returns the value of logRho0, the base 10 logarithm of the mass density where the polytrope starts, for the system with piecewise polytropic EOS

Read more…

Arguments

Type IntentOptional Attributes Name
class(ejecta), intent(in) :: this

ejecta object which this PROCEDURE is a member of

Return Value double precision

module procedure get_logRho1 pure module function get_logRho1(this)

Returns the value of logRho1, the base 10 logarithm of the mass density where the polytrope starts, for the system with piecewise polytropic EOS

Read more…

Arguments

Type IntentOptional Attributes Name
class(ejecta), intent(in) :: this

ejecta object which this PROCEDURE is a member of

Return Value double precision

module procedure get_logRho2 pure module function get_logRho2(this)

Returns the value of logRho2, the base 10 logarithm of the mass density where the polytrope starts, for the system with piecewise polytropic EOS

Read more…

Arguments

Type IntentOptional Attributes Name
class(ejecta), intent(in) :: this

ejecta object which this PROCEDURE is a member of

Return Value double precision

module procedure get_logp1 pure module function get_logp1(this) result(get_logP1)

Returns the value of logP1, the base 10 logarithm of the pressure where the gamma1 polytrope starts, for the system with piecewise polytropic EOS

Read more…

Arguments

Type IntentOptional Attributes Name
class(ejecta), intent(in) :: this

ejecta object which this PROCEDURE is a member of

Return Value double precision

module procedure get_mass module function get_mass(this, i_matter)

Returns the baryon mass of the system []

Read more…

Arguments

Type IntentOptional Attributes Name
class(ejecta), intent(in) :: this

ejecta object which this PROCEDURE is a member of

integer, intent(in) :: i_matter

Return Value double precision

module procedure get_npeos pure module function get_npeos(this)

Returns the identifier of the EOS for the system

Read more…

Arguments

Type IntentOptional Attributes Name
class(ejecta), intent(in) :: this

ejecta object which this PROCEDURE is a member of

Return Value integer

module procedure get_radii module function get_radii(this, i_matter)

Returns the radii of the system []

Read more…

Arguments

Type IntentOptional Attributes Name
class(ejecta), intent(in) :: this

ejecta object which this PROCEDURE is a member of

integer, intent(in) :: i_matter

Index of the matter object whose string is to return

Return Value double precision, DIMENSION(6)