sdr_canonicalND_module Module

This module provides the routine to load canonical geometrical objects to growing array of geometries and their positions in growing array in growing array of spatialObj


Uses

Used by

  • module~~sdr_canonicalnd_module~~UsedByGraph module~sdr_canonicalnd_module sdr_canonicalND_module module~sdr_geometry_module sdr_geometry_module module~sdr_geometry_module->module~sdr_canonicalnd_module module~sdr_proto2treelm_module sdr_proto2treelm_module module~sdr_proto2treelm_module->module~sdr_geometry_module module~sdr_config_module sdr_config_module module~sdr_proto2treelm_module->module~sdr_config_module module~sdr_boundary_module sdr_boundary_module module~sdr_proto2treelm_module->module~sdr_boundary_module module~sdr_prototree_module sdr_protoTree_module module~sdr_proto2treelm_module->module~sdr_prototree_module module~sdr_node_module sdr_node_module module~sdr_proto2treelm_module->module~sdr_node_module module~sdr_config_module->module~sdr_geometry_module module~sdr_refinept_module sdr_refinePT_module module~sdr_refinept_module->module~sdr_geometry_module module~sdr_refinept_module->module~sdr_config_module module~sdr_refinept_module->module~sdr_prototree_module module~sdr_refinept_module->module~sdr_node_module module~sdr_boundary_module->module~sdr_geometry_module module~sdr_boundary_module->module~sdr_prototree_module module~sdr_boundary_module->module~sdr_node_module module~sdr_prototree_module->module~sdr_geometry_module module~sdr_prototree_module->module~sdr_config_module module~sdr_prototree_module->module~sdr_node_module module~sdr_node_module->module~sdr_geometry_module program~seeder seeder program~seeder->module~sdr_geometry_module program~seeder->module~sdr_proto2treelm_module program~seeder->module~sdr_config_module program~seeder->module~sdr_refinept_module program~seeder->module~sdr_prototree_module module~sdr_flooding_module sdr_flooding_module program~seeder->module~sdr_flooding_module module~sdr_flooding_module->module~sdr_geometry_module module~sdr_flooding_module->module~sdr_config_module module~sdr_flooding_module->module~sdr_boundary_module module~sdr_flooding_module->module~sdr_prototree_module module~sdr_flooding_module->module~sdr_node_module

Contents


Subroutines

public subroutine sdr_load_canonicalND(pntArray, lineArray, triArray, boxArray, spaObjArray, attr_pos, transform, conf, thandle)

This routine loads canonical geometrial objects like point, line, plane and box and add them to the growing array of each primitive geometries and the position of this geometries are stored in the growing array of spatialObject

Arguments

TypeIntentOptionalAttributesName
type(grw_pointarray_type), intent(inout) :: pntArray

growing array of points

type(grw_linearray_type), intent(inout) :: lineArray

growing array of line

type(grw_trianglearray_type), intent(inout) :: triArray

growing array of triangles

type(grw_boxarray_type), intent(inout) :: boxArray

growing array of boxes

type(grw_spatialobjarray_type), intent(inout) :: spaObjArray

growing array of geometrical objects.

integer, intent(in) :: attr_pos

Position of the attribute to connect this object to.

type(tem_transformation_type), intent(in) :: transform

transformation for spatial object

type(flu_State) :: conf

lua state

integer, intent(in) :: thandle

public subroutine append_CanoNDPointToSdrPoint(canopoint, pntArray, spaObjArray, attr_pos)

This routine convert canonical point to seeder point array

Arguments

TypeIntentOptionalAttributesName
type(tem_point_type), intent(in) :: canopoint

canonical point object type

type(grw_pointarray_type), intent(inout) :: pntArray

growing array of points

type(grw_spatialobjarray_type), intent(inout) :: spaObjArray

growing array of geometrical objects.

integer, intent(in) :: attr_pos

spatial object type

public subroutine append_CanoNDLineToSdrLine(canoline, lineArray, spaObjArray, attr_pos)

This routine convert canonical line to seeder line array

Arguments

TypeIntentOptionalAttributesName
type(tem_line_type), intent(in) :: canoline

canonical geometry line object type

type(grw_linearray_type), intent(inout) :: lineArray

growing array of line

type(grw_spatialobjarray_type), intent(inout) :: spaObjArray

growing array of geometrical objects.

integer, intent(in) :: attr_pos

spatial object type

public subroutine append_CanoNDBoxToTriangle(canoBox, triArray, spaObjArray, attr_pos)

This routine convert box to planes and then planes to triangles and add triangle to growing array and add position of triangle into spatialObj%primitive_position

Arguments

TypeIntentOptionalAttributesName
type(tem_box_type), intent(in) :: canoBox

canonical geometry box object type

type(grw_trianglearray_type), intent(inout) :: triArray

growing array of triangles

type(grw_spatialobjarray_type), intent(inout) :: spaObjArray

growing array of geometrical objects.

integer, intent(in) :: attr_pos

spatial object type

public subroutine append_CanoNDPlaneToTriangle(plane, triArray, spaObjArray, attr_pos)

This routine convert plane to triangle and add triangle to growing array and add position of triangle into spatialObj%primitive_position

Arguments

TypeIntentOptionalAttributesName
type(tem_plane_type), intent(in) :: plane

canonical plane geometry object type

type(grw_trianglearray_type), intent(inout) :: triArray

growing array of triangles

type(grw_spatialobjarray_type), intent(inout) :: spaObjArray

growing array of geometrical objects.

integer, intent(in) :: attr_pos

spatial object type

public subroutine append_CanoNDBoxToSdrBox(canobox, boxArray, spaObjArray, attr_pos)

This routine convert plane to triangle and add triangle to growing array and add position of triangle into spatialObj%primitive_position

Arguments

TypeIntentOptionalAttributesName
type(tem_box_type), intent(in) :: canobox

canonical geometry object type

type(grw_boxarray_type), intent(inout) :: boxArray

growing array of boxes

type(grw_spatialobjarray_type), intent(inout) :: spaObjArray

growing array of geometrical objects.

integer, intent(in) :: attr_pos

spatial object type