access Submodule

Implementation of the methods of TYPE idbase to access PRIVATE data

FT 28.10.2021



Uses

  • module~~access~2~~UsesGraph module~access~2 access module~id_base id_base module~access~2->module~id_base module~utility 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 check_i_matter module subroutine check_i_matter(this, i_matter)

Checks that the given index i_matter is between 1 and n_matter, included. If not, it stops the execution of the program.

Read more…

Arguments

Type IntentOptional Attributes Name
class(idbase), intent(in) :: this
integer, intent(in) :: i_matter

Value to be checked

module procedure get_cold_system pure module function get_cold_system(this)

Returns cold_system, the LOGICAL variable at specifies if the system is cold (no thermal component)

Read more…

Arguments

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

Return Value logical

cold_system

module procedure get_estimate_length_scale pure module function get_estimate_length_scale(this)

Returns estimate_length_scale, the LOGICAL variable that specifies if a typical length scale, equal to the ratio of a field over its gradient, should be computed

Read more…

Arguments

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

Return Value logical

estimate_length_scale

module procedure get_n_matter pure module function get_n_matter(this)

Returns n_matter, the number of matter objects in the physical system

Read more…

Arguments

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

Return Value integer

n_matter, the number of matter objects in the

module procedure get_one_lapse pure module function get_one_lapse(this)

Returns one_lapse

Read more…

Arguments

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

Return Value logical

n_matter, the number of matter objects in the

module procedure get_total_spatial_extent module function get_total_spatial_extent(this) result(box)

Return the coordinates of a box containing the entire physical system

Read more…

Arguments

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

Object of class idbase which this PROCEDURE is a member of

Return Value double precision, DIMENSION(6)

6-dimensional array containing the coordinates of a box containing the physical system.

module procedure get_zero_shift pure module function get_zero_shift(this)

Returns zero_shift

Read more…

Arguments

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

Return Value logical

n_matter, the number of matter objects in the

module procedure set_cold_system module subroutine set_cold_system(this, value)

Sets cold_system to the given value

Read more…

Arguments

Type IntentOptional Attributes Name
class(idbase), intent(inout) :: this
logical, intent(in) :: value

Value to set cold_system to

module procedure set_estimate_length_scale module subroutine set_estimate_length_scale(this, value)

Sets estimate_length_scale to the given value

Read more…

Arguments

Type IntentOptional Attributes Name
class(idbase), intent(inout) :: this
logical, intent(in) :: value

Value to set cold_system to

module procedure set_n_matter pure module subroutine set_n_matter(this, value)

Sets n_matter to the given value

Read more…

Arguments

Type IntentOptional Attributes Name
class(idbase), intent(inout) :: this
integer, intent(in) :: value

Value to set n_matter to

module procedure set_one_lapse pure module subroutine set_one_lapse(this, logic)

Sets one_lapse to the given value

Read more…

Arguments

Type IntentOptional Attributes Name
class(idbase), intent(inout) :: this
logical, intent(in) :: logic

Value to set n_matter to

module procedure set_zero_shift pure module subroutine set_zero_shift(this, logic)

Sets zero_shift to the given value

Read more…

Arguments

Type IntentOptional Attributes Name
class(idbase), intent(inout) :: this
logical, intent(in) :: logic

Value to set n_matter to