tem_transformation_module Module

This module provide datatype and routine for transformation of geometrical objects i.e translation and deformation



Derived Types

type, public ::  tem_translation_type

Data type defines geometry translation

Components

Type Visibility Attributes Name Initial
logical, public :: active

Is translation defined

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

vector defining translation in x,y,z direction

type, public ::  tem_deformation_type

Data type defines geometry scale and rotation

Components

Type Visibility Attributes Name Initial
logical, public :: active

Is deformation defined

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

matrix defining the deformation

type, public ::  tem_transformation_type

Data type defines geometry transformation

Components

Type Visibility Attributes Name Initial
logical, public :: active

is transformation active

type(tem_translation_type), public :: translate

translation of geometry

type(tem_deformation_type), public :: deform

deformation of geometry


Subroutines

public subroutine tem_load_transformation(transform, conf, thandle)

This routine loads the transformation table for each spatial object table in config file

Read more…

Arguments

Type IntentOptional Attributes Name
type(tem_transformation_type), intent(out) :: transform

transformation for spatial object

type(flu_State) :: conf

lua state

integer, intent(in) :: thandle

spatial object parent handle

private subroutine tem_load_translation(translate, conf, thandle)

This routine loads the translation table from transformation table

Arguments

Type IntentOptional Attributes Name
type(tem_translation_type), intent(out) :: translate

translate for spatial object

type(flu_State) :: conf

lua state

integer, intent(in) :: thandle

spatial object parent handle

private subroutine tem_load_deformation(deform, conf, thandle)

This routine loads the deformation table from transformation table

Arguments

Type IntentOptional Attributes Name
type(tem_deformation_type), intent(out) :: deform

deform for spatial object

type(flu_State) :: conf

lua state

integer, intent(in) :: thandle

spatial object parent handle