tem_box_type Derived Type

type, public :: tem_box_type

This type contains origin and vec of box in each direction


Inherits

type~~tem_box_type~~InheritsGraph type~tem_box_type tem_box_type type~tem_plane_type tem_plane_type type~tem_box_type->type~tem_plane_type plane type~tem_triangle_type tem_triangle_type type~tem_plane_type->type~tem_triangle_type triangle

Inherited by

type~~tem_box_type~~InheritedByGraph type~tem_box_type tem_box_type type~grw_boxarray_type grw_boxarray_type type~grw_boxarray_type->type~tem_box_type val type~tem_canonicalnd_type tem_canonicalND_type type~tem_canonicalnd_type->type~tem_box_type box type~tem_shape_type tem_shape_type type~tem_shape_type->type~tem_canonicalnd_type canoND type~tem_tracking_config_type tem_tracking_config_type type~tem_tracking_config_type->type~tem_shape_type geometry type~spatial_parabol_type spatial_parabol_type type~spatial_parabol_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_convergenceheader_type tem_convergenceHeader_type type~tem_convergenceheader_type->type~tem_shape_type geometry type~tem_spatial_type tem_spatial_type type~tem_spatial_type->type~spatial_parabol_type parabol type~tem_variable_type tem_variable_type type~tem_variable_type->type~tem_spacetime_fun_type st_fun 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_convergence_type tem_convergence_type type~tem_convergence_type->type~tem_convergenceheader_type header type~tem_tracking_type tem_tracking_type type~tem_tracking_type->type~tem_tracking_config_type config

Contents


Components

TypeVisibilityAttributesNameInitial
real(kind=rk), private :: center(3)

center of the box

real(kind=rk), private :: halfvec(3,3)

vector which defines length of the box in x,y,z direction 1st dimension contains x,y,z coord and 2nd dimension defines three direction of vector. This vector is need to do transformation of box

real(kind=rk), private :: halfwidth(3)

halfwidth of the box from center in each direction. It is computed from halfvec during initialization since it is needed for boxboxoverlap

real(kind=rk), private :: normal(3,3)

unit normal vectors which defines the box orientation. It is computed from halfvec during initialization

logical, private :: only_surface

To choose what to do with intersection of box 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_plane_type), private :: plane(6)

For only_surface, box is converted into 6 planes and each plane is converted further into triangles