tem_cube_module Module

cube table from config file



Derived Types

type, public ::  tem_cube_type

An auxilary data type to describe a cube.

Read more…

Components

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

Subroutines

public subroutine tem_load_cube(me, conf, key, pos, parent)

This routine loads the boundCube table from config file

Arguments

Type IntentOptional Attributes Name
type(tem_cube_type), intent(out) :: me
type(flu_State) :: conf
character(len=*), intent(in), optional :: key

open cube table by given key

integer, intent(in), optional :: pos

open cube table by position

integer, intent(in), optional :: parent

if cube is to be load from pos, parent handle is required

public subroutine tem_convertTreeIDtoCube(cube, tree, TreeID)

This routine converts treeID in given tree to cube

Arguments

Type IntentOptional Attributes Name
type(tem_cube_type), intent(out) :: cube
type(treelmesh_type), intent(in) :: tree

mesh information

integer(kind=long_k), intent(in) :: TreeID

input Element ID