tem_temporal_type Derived Type

type, public :: tem_temporal_type

defines different temporal types like const, lua func or predefined func


Inherits

type~~tem_temporal_type~~InheritsGraph type~tem_temporal_type tem_temporal_type flu_State flu_State type~tem_temporal_type->flu_State conf type~tem_from_file_temporal_type tem_from_file_temporal_type type~tem_temporal_type->type~tem_from_file_temporal_type from_file type~tem_linear_type tem_linear_type type~tem_temporal_type->type~tem_linear_type linear type~grw_real2darray_type grw_real2darray_type type~tem_from_file_temporal_type->type~grw_real2darray_type signal

Inherited by

type~~tem_temporal_type~~InheritedByGraph type~tem_temporal_type tem_temporal_type type~tem_spacetime_fun_type tem_spacetime_fun_type type~tem_spacetime_fun_type->type~tem_temporal_type temporal type~tem_st_fun_listelem_type tem_st_fun_listElem_type type~tem_st_fun_listelem_type->type~tem_spacetime_fun_type val type~tem_st_fun_listelem_type->type~tem_st_fun_listelem_type next type~tem_variable_type tem_variable_type type~tem_variable_type->type~tem_spacetime_fun_type st_fun type~tem_st_fun_linkedlist_type tem_st_fun_linkedList_type type~tem_st_fun_linkedlist_type->type~tem_st_fun_listelem_type head

Components

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


Source Code

  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