This routine loads the transformation table for each spatial object table in config file
If single spatial object contains multiple geometry then the transformation is applied to all geometries defined in that spatial object
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 |
subroutine tem_load_transformation( transform, conf, thandle ) !--------------------------------------------------------------------------! !inferface variables !> transformation for spatial object type(tem_transformation_type), intent(out) :: transform !> lua state type(flu_state) :: conf !> spatial object parent handle integer, intent(in) :: thandle !--------------------------------------------------------------------------! integer :: transform_handle !--------------------------------------------------------------------------! !set default to false transform%active = .false. call aot_table_open(L = conf, parent = thandle, & & thandle = transform_handle, & & key = 'transformation') if (transform_handle > 0) then write(logunit(1),*) 'Loading transformation ' transform%active = .true. !load translation table call tem_load_translation( translate = transform%translate, & & conf = conf, & & thandle = transform_handle ) !load deformation table call tem_load_deformation( deform = transform%deform, & & conf = conf, & & thandle = transform_handle ) endif call aot_table_close(L=conf, thandle=transform_Handle) end subroutine tem_load_transformation