tem_plane_module Module

This module contains plane boundary definition and routines


Uses

  • module~~tem_plane_module~2~~UsesGraph module~tem_plane_module~2 tem_plane_module module~env_module env_module module~tem_plane_module~2->module~env_module module~tem_math_module tem_math_module module~tem_plane_module~2->module~tem_math_module module~tem_triangle_module tem_triangle_module module~tem_plane_module~2->module~tem_triangle_module module~tem_cube_module tem_cube_module module~tem_plane_module~2->module~tem_cube_module module~flu_binding flu_binding module~env_module->module~flu_binding iso_fortran_env iso_fortran_env module~env_module->iso_fortran_env module~aotus_module aotus_module module~env_module->module~aotus_module mpi mpi module~env_module->mpi module~tem_math_module->module~env_module module~tem_aux_module tem_aux_module module~tem_math_module->module~tem_aux_module module~tem_matrix_module tem_matrix_module module~tem_math_module->module~tem_matrix_module module~tem_logging_module tem_logging_module module~tem_math_module->module~tem_logging_module module~tem_triangle_module->module~env_module module~tem_triangle_module->module~tem_math_module module~tem_triangle_module->module~tem_cube_module module~tem_triangle_module->module~tem_aux_module module~tem_triangle_module->module~tem_logging_module module~tem_transformation_module tem_transformation_module module~tem_triangle_module->module~tem_transformation_module module~tem_triangle_module->module~aotus_module module~aot_table_module aot_table_module module~tem_triangle_module->module~aot_table_module module~aot_out_module aot_out_module module~tem_triangle_module->module~aot_out_module module~tem_cube_module->module~env_module module~tem_cube_module->module~tem_aux_module module~tem_cube_module->module~tem_logging_module module~tem_geometry_module tem_geometry_module module~tem_cube_module->module~tem_geometry_module module~tem_cube_module->module~aotus_module module~tem_cube_module->module~aot_table_module module~treelmesh_module treelmesh_module module~tem_cube_module->module~treelmesh_module module~tem_aux_module->module~env_module module~tem_aux_module->module~flu_binding module~tem_aux_module->module~tem_logging_module module~tem_aux_module->module~aotus_module module~tem_aux_module->mpi module~tem_aux_module->module~aot_table_module module~tem_lua_requires_module tem_lua_requires_module module~tem_aux_module->module~tem_lua_requires_module module~tem_tools_module tem_tools_module module~tem_aux_module->module~tem_tools_module module~soi_revision_module soi_revision_module module~tem_aux_module->module~soi_revision_module module~tem_comm_env_module tem_comm_env_module module~tem_aux_module->module~tem_comm_env_module module~tem_matrix_module->module~env_module module~tem_matrix_module->module~tem_aux_module module~tem_matrix_module->module~tem_logging_module module~tem_float_module tem_float_module module~tem_matrix_module->module~tem_float_module module~tem_dyn_array_module tem_dyn_array_module module~tem_matrix_module->module~tem_dyn_array_module module~tem_grow_array_module tem_grow_array_module module~tem_matrix_module->module~tem_grow_array_module module~tem_param_module tem_param_module module~tem_matrix_module->module~tem_param_module module~tem_debug_module tem_debug_module module~tem_matrix_module->module~tem_debug_module module~tem_logging_module->module~env_module module~tem_logging_module->module~aotus_module module~tem_logging_module->module~aot_table_module module~tem_transformation_module->module~env_module module~tem_transformation_module->module~tem_aux_module module~tem_transformation_module->module~flu_binding module~tem_transformation_module->module~tem_logging_module module~tem_transformation_module->module~aotus_module module~tem_transformation_module->module~aot_table_module module~tem_transformation_module->module~tem_tools_module module~tem_geometry_module->module~env_module module~tem_geometry_module->module~tem_logging_module module~tem_geometry_module->mpi module~tem_geometry_module->module~treelmesh_module module~tem_geometry_module->module~tem_float_module module~tem_geometry_module->module~tem_param_module module~tem_topology_module tem_topology_module module~tem_geometry_module->module~tem_topology_module module~tem_geometry_module->module~tem_tools_module module~tem_geometry_module->module~tem_debug_module module~tem_property_module tem_property_module module~tem_geometry_module->module~tem_property_module module~tem_subtree_type_module tem_subTree_type_module module~tem_geometry_module->module~tem_subtree_type_module module~treelmesh_module->module~env_module module~treelmesh_module->module~tem_aux_module module~treelmesh_module->module~tem_logging_module module~treelmesh_module->module~aotus_module module~treelmesh_module->mpi module~treelmesh_module->module~aot_table_module module~treelmesh_module->module~tem_topology_module module~tem_sparta_module tem_Sparta_module module~treelmesh_module->module~tem_sparta_module module~treelmesh_module->module~tem_tools_module module~treelmesh_module->module~tem_property_module module~tem_global_module tem_global_module module~treelmesh_module->module~tem_global_module

Contents


Derived Types

type, public ::  tem_plane_type

type contains intrinsic plane information

Components

Type Visibility Attributes Name Initial
real(kind=rk), public :: origin(3)

origin of the plane in x,y,z coordinate system

real(kind=rk), public :: vec(3,2)

two vectors defining the plane length 1st index x,y,z coordinate, 2nd index vector number

type(tem_triangle_type), public :: triangle(2)

Convert plane into two triangles

real(kind=rk), public :: unitNormal(3)

unit normal direction of a plane


Functions

public function tem_planeCubeOverlap(plane, cube) result(overlap)

This function checks for intersection of plane and cube by checking two triangles of plane with a cube

Arguments

Type IntentOptional Attributes Name
type(tem_plane_type), intent(in) :: plane
type(tem_cube_type), intent(in) :: cube

Return Value logical


Subroutines

public subroutine tem_createPlane(me, origin, vecA, vecB)

This routine creates plane definition from given origin and two vectors \verbatim vecB______ /\ | | | | | | | | | |-------------->| origin vecA \endverbatim

Arguments

Type IntentOptional Attributes Name
type(tem_plane_type), intent(out) :: me
real(kind=rk), intent(in) :: origin(3)
real(kind=rk), intent(in) :: vecA(3)
real(kind=rk), intent(in) :: vecB(3)