This module provide datatype and routine for transformation of geometrical objects i.e translation and deformation
Data type defines geometry translation
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
logical, | private | :: | active | Is translation defined |
|||
real(kind=rk), | private | :: | vec(3) | vector defining translation in x,y,z direction |
Data type defines geometry scale and rotation
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
logical, | private | :: | active | Is deformation defined |
|||
real(kind=rk), | private | :: | matrix(3,3) | matrix defining the deformation |
Data type defines geometry transformation
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
logical, | private | :: | active | is transformation active |
|||
type(tem_translation_type), | private | :: | translate | translation of geometry |
|||
type(tem_deformation_type), | private | :: | deform | deformation of geometry |
This routine loads the transformation table for each spatial object table in config file
Type | Intent | Optional | 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 |
This routine loads the translation table from transformation table
Type | Intent | Optional | 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 |
This routine loads the deformation table from transformation table
Type | Intent | Optional | 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 |