type contains sphere information
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
real(kind=rk), | public | :: | origin(3) | ||||
real(kind=rk), | public | :: | radius | ||||
logical, | public | :: | only_surface |
To choose what to do with intersection of this object if only_surface = true than the only the surface of the object is intersected if only_surface = false then the whole object is intersected default is set to false |
type tem_sphere_type real(kind=rk) :: origin(3) !< origin of the sphere real(kind=rk) :: radius !< radius of the sphere !> To choose what to do with intersection of this object !! if only_surface = true than the only the surface of the object !! is intersected !! if only_surface = false then the whole object is intersected !! default is set to false logical :: only_surface end type tem_sphere_type