defines different temporal types like const, lua func or predefined func
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
character(len=LabelLen), | public | :: | kind |
temporal kind |
|||
real(kind=rk), | public | :: | const |
constant value |
|||
integer, | public | :: | lua_fun_ref | = | 0 |
Reference to the Lua function if the temporal function is defined as a Lua function. |
|
type(flu_State), | public | :: | conf |
Handle to the Lua script for the Lua function |
|||
type(tem_linear_type), | public | :: | linear |
contains information for predefined functions |
|||
type(tem_from_file_temporal_type), | public | :: | from_file |
contains information for reading the data from file |
|||
real(kind=rk), | public | :: | freq |
frequency of oscillation Load in routine: load_temporal_cos |
|||
real(kind=rk), | public | :: | phi |
initial phase |
|||
real(kind=rk), | public | :: | offset |
offset |
type tem_temporal_type !> temporal kind character(len=LabelLen) :: kind !> constant value real(kind=rk) :: const !> Reference to the Lua function if the temporal function is defined !! as a Lua function. integer :: lua_fun_ref = 0 !> Handle to the Lua script for the Lua function type(flu_state) :: conf !> contains information for predefined functions type( tem_linear_type ) :: linear !> contains information for reading the data from file type( tem_from_file_temporal_type) :: from_file !> frequency of oscillation !! Load in routine: load_temporal_cos real(kind=rk) :: freq !> initial phase real(kind=rk) :: phi !> offset real(kind=rk) :: offset end type tem_temporal_type