Type-Bound Procedures
procedure, public :: in_cgs
-
private pure function in_cgs(this)
Arguments
Type | Intent | Optional | Attributes | | Name | |
class(units_t), |
intent(in) |
| | :: |
this | |
Return Value logical
procedure, public :: are_set
-
private pure function are_set(this)
Arguments
Type | Intent | Optional | Attributes | | Name | |
class(units_t), |
intent(in) |
| | :: |
this | |
Return Value logical
procedure, public :: set_units_from_density
-
private pure subroutine set_units_from_density(this, unit_length, unit_magneticfield, unit_density, mean_molecular_weight)
Arguments
Type | Intent | Optional | Attributes | | Name | |
class(units_t), |
intent(inout) |
| | :: |
this | |
real(kind=dp), |
intent(in) |
| | :: |
unit_length | |
real(kind=dp), |
intent(in) |
| | :: |
unit_magneticfield | |
real(kind=dp), |
intent(in) |
| | :: |
unit_density | |
real(kind=dp), |
intent(in), |
optional | | :: |
mean_molecular_weight | |
procedure, public :: set_units_from_temperature
-
private pure subroutine set_units_from_temperature(this, unit_length, unit_magneticfield, unit_temperature, mean_molecular_weight)
Arguments
Type | Intent | Optional | Attributes | | Name | |
class(units_t), |
intent(inout) |
| | :: |
this | |
real(kind=dp), |
intent(in) |
| | :: |
unit_length | |
real(kind=dp), |
intent(in) |
| | :: |
unit_magneticfield | |
real(kind=dp), |
intent(in) |
| | :: |
unit_temperature | |
real(kind=dp), |
intent(in), |
optional | | :: |
mean_molecular_weight | |
procedure, public :: set_units_from_numberdensity
-
private pure subroutine set_units_from_numberdensity(this, unit_length, unit_temperature, unit_numberdensity, mean_molecular_weight)
Arguments
Type | Intent | Optional | Attributes | | Name | |
class(units_t), |
intent(inout) |
| | :: |
this | |
real(kind=dp), |
intent(in) |
| | :: |
unit_length | |
real(kind=dp), |
intent(in) |
| | :: |
unit_temperature | |
real(kind=dp), |
intent(in) |
| | :: |
unit_numberdensity | |
real(kind=dp), |
intent(in), |
optional | | :: |
mean_molecular_weight | |
procedure, public :: set_mean_molecular_weight
-
private pure subroutine set_mean_molecular_weight(this, mean_molecular_weight)
Arguments
Type | Intent | Optional | Attributes | | Name | |
class(units_t), |
intent(inout) |
| | :: |
this | |
real(kind=dp), |
intent(in) |
| | :: |
mean_molecular_weight | |
procedure, public :: get_unit_length
-
Arguments
Type | Intent | Optional | Attributes | | Name | |
class(units_t), |
intent(in) |
| | :: |
this | |
Return Value real(kind=dp)
procedure, public :: get_unit_time
-
private pure function get_unit_time(this)
Arguments
Type | Intent | Optional | Attributes | | Name | |
class(units_t), |
intent(in) |
| | :: |
this | |
Return Value real(kind=dp)
procedure, public :: get_unit_density
-
Arguments
Type | Intent | Optional | Attributes | | Name | |
class(units_t), |
intent(in) |
| | :: |
this | |
Return Value real(kind=dp)
procedure, public :: get_unit_velocity
-
Arguments
Type | Intent | Optional | Attributes | | Name | |
class(units_t), |
intent(in) |
| | :: |
this | |
Return Value real(kind=dp)
procedure, public :: get_unit_temperature
-
Arguments
Type | Intent | Optional | Attributes | | Name | |
class(units_t), |
intent(in) |
| | :: |
this | |
Return Value real(kind=dp)
procedure, public :: get_unit_pressure
-
Arguments
Type | Intent | Optional | Attributes | | Name | |
class(units_t), |
intent(in) |
| | :: |
this | |
Return Value real(kind=dp)
procedure, public :: get_unit_magneticfield
-
Arguments
Type | Intent | Optional | Attributes | | Name | |
class(units_t), |
intent(in) |
| | :: |
this | |
Return Value real(kind=dp)
procedure, public :: get_unit_numberdensity
-
Arguments
Type | Intent | Optional | Attributes | | Name | |
class(units_t), |
intent(in) |
| | :: |
this | |
Return Value real(kind=dp)
procedure, public :: get_unit_mass
-
private pure function get_unit_mass(this)
Arguments
Type | Intent | Optional | Attributes | | Name | |
class(units_t), |
intent(in) |
| | :: |
this | |
Return Value real(kind=dp)
procedure, public :: get_mean_molecular_weight
-
Arguments
Type | Intent | Optional | Attributes | | Name | |
class(units_t), |
intent(in) |
| | :: |
this | |
Return Value real(kind=dp)
procedure, public :: get_unit_resistivity
-
Arguments
Type | Intent | Optional | Attributes | | Name | |
class(units_t), |
intent(in) |
| | :: |
this | |
Return Value real(kind=dp)
procedure, public :: get_unit_lambdaT
-
Arguments
Type | Intent | Optional | Attributes | | Name | |
class(units_t), |
intent(in) |
| | :: |
this | |
Return Value real(kind=dp)
procedure, public :: get_unit_conduction
-
Arguments
Type | Intent | Optional | Attributes | | Name | |
class(units_t), |
intent(in) |
| | :: |
this | |
Return Value real(kind=dp)
procedure, public :: get_unit_gravity
-
Arguments
Type | Intent | Optional | Attributes | | Name | |
class(units_t), |
intent(in) |
| | :: |
this | |
Return Value real(kind=dp)
procedure, private :: update_dependent_units
-
Arguments
Type | Intent | Optional | Attributes | | Name | |
class(units_t), |
intent(inout) |
| | :: |
this | |
procedure, private :: set_based_on_to_false
-
Arguments
Type | Intent | Optional | Attributes | | Name | |
class(units_t), |
intent(inout) |
| | :: |
this | |