tem_sphere_type Derived Type

type, public :: tem_sphere_type

type contains sphere information


Inherited by

type~~tem_sphere_type~~InheritedByGraph type~tem_sphere_type tem_sphere_type type~grw_spherearray_type grw_spherearray_type type~grw_spherearray_type->type~tem_sphere_type val type~tem_shape_type tem_shape_type type~tem_shape_type->type~tem_sphere_type sphere type~spatial_parabol_type spatial_parabol_type type~spatial_parabol_type->type~tem_shape_type geometry type~tem_convergenceheader_type tem_convergenceHeader_type type~tem_convergenceheader_type->type~tem_shape_type geometry type~tem_spacetime_fun_type tem_spacetime_fun_type type~tem_spacetime_fun_type->type~tem_shape_type geom type~tem_spatial_type tem_spatial_type type~tem_spacetime_fun_type->type~tem_spatial_type spatial type~tem_tracking_config_type tem_tracking_config_type type~tem_tracking_config_type->type~tem_shape_type geometry type~tem_convergence_type tem_convergence_type type~tem_convergence_type->type~tem_convergenceheader_type header type~tem_spatial_type->type~spatial_parabol_type parabol type~tem_st_fun_listelem_type tem_st_fun_listElem_type type~tem_st_fun_listelem_type->type~tem_spacetime_fun_type val type~tem_st_fun_listelem_type->type~tem_st_fun_listelem_type next type~tem_tracking_type tem_tracking_type type~tem_tracking_type->type~tem_tracking_config_type config type~tem_variable_type tem_variable_type type~tem_variable_type->type~tem_spacetime_fun_type st_fun type~tem_abortcriteria_type tem_abortCriteria_type type~tem_abortcriteria_type->type~tem_convergence_type convergence type~tem_ini_condition_type tem_ini_condition_type type~tem_ini_condition_type->type~tem_spatial_type ini_state type~tem_st_fun_linkedlist_type tem_st_fun_linkedList_type type~tem_st_fun_linkedlist_type->type~tem_st_fun_listelem_type head

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