Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
real(kind=psb_dpk_), | private | :: | x | ||||
real(kind=psb_dpk_), | private | :: | y | ||||
real(kind=psb_dpk_), | private | :: | z |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(vector), | intent(in) | :: | vert |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(vector), | intent(in) | :: | vert |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(vector), | intent(in) | :: | vert |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(vector), | intent(in) | :: | vec |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(vector), | intent(inout) | :: | vect | |||
real(kind=psb_dpk_) | :: | r |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(vector), | intent(inout) | :: | vect | |||
real(kind=psb_dpk_) | :: | r |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(vector), | intent(inout) | :: | vect | |||
real(kind=psb_dpk_) | :: | r |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(vector), | intent(in) | :: | v |
TYPE vector
PRIVATE
REAL(psb_dpk_) :: x
REAL(psb_dpk_) :: y
REAL(psb_dpk_) :: z
CONTAINS
PROCEDURE, PRIVATE :: get_vector_x, get_vector_y, get_vector_z ! Getters
GENERIC, PUBLIC :: x_ => get_vector_x
GENERIC, PUBLIC :: y_ => get_vector_y
GENERIC, PUBLIC :: z_ => get_vector_z
PROCEDURE, PRIVATE :: set_vector_x, set_vector_y, set_vector_z ! Setters
GENERIC, PUBLIC :: set_x_ => set_vector_x
GENERIC, PUBLIC :: set_y_ => set_vector_y
GENERIC, PUBLIC :: set_z_ => set_vector_z
PROCEDURE, PRIVATE :: vec_mag, vec_unit
GENERIC, PUBLIC :: mag => vec_mag
GENERIC, PUBLIC :: unit => vec_unit
PROCEDURE, PRIVATE :: nemo_vector_sizeof
GENERIC, PUBLIC :: nemo_sizeof => nemo_vector_sizeof
END TYPE vector