sdr_transformation_module Module

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


Uses


Interfaces

public interface sdr_transformcanoND

This routine apply transformations to canonical objects

  • private subroutine transformCanoND(canoND, transform)

    This routine apply transformation to canonical objects.

    Arguments

    Type IntentOptional Attributes Name
    type(tem_canonicalND_type), intent(inout) :: canoND(:)

    canonical geometry object type

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

    transformation for spatial object

  • private subroutine transformCanoND_single(canoND, transform)

    This routine apply transformation to canonical objects.

    Arguments

    Type IntentOptional Attributes Name
    type(tem_canonicalND_type), intent(inout) :: canoND

    canonical geometry object type

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

    transformation for spatial object


Derived Types

type, public ::  sdr_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 ::  sdr_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 ::  sdr_transformation_type

Data type defines geometry transformation

Components

Type Visibility Attributes Name Initial
logical, public :: active

is transformation active

type(sdr_translation_type), public :: translate

translation of geometry

type(sdr_deformation_type), public :: deform

deformation of geometry


Subroutines

public subroutine sdr_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(sdr_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 sdr_load_translation(translate, conf, thandle)

This routine loads the translation table from transformation table

Arguments

Type IntentOptional Attributes Name
type(sdr_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 sdr_load_deformation(deform, conf, thandle)

This routine loads the deformation table from transformation table

Arguments

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

deform for spatial object

type(flu_State) :: conf

lua state

integer, intent(in) :: thandle

spatial object parent handle

private subroutine transformCanoND(canoND, transform)

This routine apply transformation to canonical objects.

Arguments

Type IntentOptional Attributes Name
type(tem_canonicalND_type), intent(inout) :: canoND(:)

canonical geometry object type

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

transformation for spatial object

private subroutine transformCanoND_single(canoND, transform)

This routine apply transformation to canonical objects.

Arguments

Type IntentOptional Attributes Name
type(tem_canonicalND_type), intent(inout) :: canoND

canonical geometry object type

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

transformation for spatial object