tem_sphere_type Derived Type

type, public :: tem_sphere_type

type contains sphere information


Inherited by

type~~tem_sphere_type~2~~InheritedByGraph type~tem_sphere_type~2 tem_sphere_type type~grw_spherearray_type~2 grw_spherearray_type type~grw_spherearray_type~2->type~tem_sphere_type~2 val

Contents

Source Code


Components

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


Source Code

  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