Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
type(vector), | private | :: | axis | ||||
type(vector), | private | :: | center | ||||
real(kind=psb_dpk_), | private | :: | r2 | ||||
real(kind=psb_dpk_), | private | :: | radius |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(cylinder), | intent(in) | :: | this_cylinder |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(cylinder), | intent(in) | :: | cyl |
TYPE cylinder
PRIVATE
TYPE(vector) :: center ! the location of the surface
TYPE(vector) :: axis ! a unit vector pointing along the axis
REAL(psb_dpk_) :: radius ! the radius of the cylinder
REAL(psb_dpk_) :: r2 ! The correlation parameter for the fit
CONTAINS
PROCEDURE :: get_cylinder_normal, get_cylinder_r2 ! Getters
PROCEDURE :: get_pt_cylinder ! Getters, cont.
PROCEDURE :: translate_cylinder ! Setters
PROCEDURE, PRIVATE :: nemo_cylinder_sizeof
GENERIC, PUBLIC :: nemo_sizeof => nemo_cylinder_sizeof
END TYPE cylinder