tem_condition_module Module

Return a logical if the input relation holds where the relation is: val operation threshold


Uses

  • module~~tem_condition_module~~UsesGraph module~tem_condition_module tem_condition_module module~tem_aux_module tem_aux_module module~tem_condition_module->module~tem_aux_module module~tem_float_module tem_float_module module~tem_condition_module->module~tem_float_module module~env_module env_module module~tem_condition_module->module~env_module module~tem_logging_module tem_logging_module module~tem_condition_module->module~tem_logging_module module~aotus_module aotus_module module~tem_condition_module->module~aotus_module module~aot_table_module aot_table_module module~tem_condition_module->module~aot_table_module module~aot_out_module aot_out_module module~tem_condition_module->module~aot_out_module module~tem_aux_module->module~env_module module~tem_aux_module->module~tem_logging_module module~tem_aux_module->module~aotus_module module~tem_aux_module->module~aot_table_module module~flu_binding flu_binding module~tem_aux_module->module~flu_binding module~tem_lua_requires_module tem_lua_requires_module module~tem_aux_module->module~tem_lua_requires_module module~tem_tools_module tem_tools_module module~tem_aux_module->module~tem_tools_module module~soi_revision_module soi_revision_module module~tem_aux_module->module~soi_revision_module mpi mpi module~tem_aux_module->mpi module~tem_comm_env_module tem_comm_env_module module~tem_aux_module->module~tem_comm_env_module module~tem_float_module->module~env_module module~env_module->module~aotus_module module~env_module->module~flu_binding iso_fortran_env iso_fortran_env module~env_module->iso_fortran_env module~env_module->mpi module~tem_logging_module->module~env_module module~tem_logging_module->module~aotus_module module~tem_logging_module->module~aot_table_module module~tem_lua_requires_module->module~env_module module~tem_lua_requires_module->module~aotus_module module~tem_lua_requires_module->module~aot_table_module module~tem_lua_requires_module->module~flu_binding iso_c_binding iso_c_binding module~tem_lua_requires_module->iso_c_binding module~tem_tools_module->module~env_module module~tem_comm_env_module->mpi

Used by

  • module~~tem_condition_module~~UsedByGraph module~tem_condition_module tem_condition_module module~tem_convergence_module tem_convergence_module module~tem_convergence_module->module~tem_condition_module module~tem_depend_module tem_depend_module module~tem_depend_module->module~tem_condition_module module~tem_abortcriteria_module tem_abortCriteria_module module~tem_abortcriteria_module->module~tem_convergence_module module~tem_simcontrol_module tem_simControl_module module~tem_simcontrol_module->module~tem_convergence_module module~tem_simcontrol_module->module~tem_abortcriteria_module module~tem_ini_condition_module tem_ini_condition_module module~tem_ini_condition_module->module~tem_depend_module module~tem_general_module tem_general_module module~tem_general_module->module~tem_abortcriteria_module module~tem_general_module->module~tem_simcontrol_module module~tem_tracking_module tem_tracking_module module~tem_tracking_module->module~tem_simcontrol_module

Contents


Interfaces

public interface tem_condition_dump

  • private subroutine tem_condition_dump_vector(me, outUnit)

    Dumps array of condition to given unit

    Arguments

    Type IntentOptional Attributes Name
    type(tem_condition_type), intent(in) :: me(:)

    condition to write into the lua file

    integer, intent(in) :: outUnit

    unit to write to

  • private subroutine tem_condition_dump_single(me, outUnit)

    Dump single condition to given unit

    Arguments

    Type IntentOptional Attributes Name
    type(tem_condition_type), intent(in) :: me

    condition to write into the lua file

    integer, intent(in) :: outUnit

    unit to write to

public interface tem_condition_out

  • private subroutine tem_condition_out_vector(me, conf)

    Allows the output of array of condition to lua out

    Arguments

    Type IntentOptional Attributes Name
    type(tem_condition_type), intent(in) :: me(:)

    condition to write into the lua file

    type(aot_out_type), intent(inout) :: conf

    aotus type handling the output to the file in lua format

  • private subroutine tem_condition_out_single(me, conf, level)

    Allows the output of the single condition to lua out.

    The data is written into the file, the lunit is connected to. It is formatted as a Lua table.

    Arguments

    Type IntentOptional Attributes Name
    type(tem_condition_type), intent(in) :: me

    condition to write into the lua file

    type(aot_out_type), intent(inout) :: conf

    aotus type handling the output to the file in lua format

    integer, intent(in), optional :: level

    to dump variable with key or without key


Derived Types

type, public ::  tem_condition_type

Datatype containing different conditions to be checked Currently only threshold and operator are defined

Components

Type Visibility Attributes Name Initial
real(kind=rk), public :: threshold

Contains the threshold value defined in lua file

character(len=2), public :: operation

Contains the operator defined in lua file


Functions

public function tem_comparator(val, operation, threshold) result(comp)

Arguments

Type IntentOptional Attributes Name
real(kind=rk), intent(in) :: val
character(len=2), intent(in) :: operation
real(kind=rk), intent(in) :: threshold

Return Value logical

return value


Subroutines

public subroutine tem_load_condition(me, conf, parent)

Load the condition table in case of convergence

Read more…

Arguments

Type IntentOptional Attributes Name
type(tem_condition_type), intent(inout), allocatable :: me(:)
type(flu_State), intent(in) :: conf
integer, intent(in) :: parent

private subroutine tem_load_cond_single(cond, conf, thandle)

Load the conditions for geomIncr and convergence check within convergence conditions mean the operator and threshold against which the macroscopic variable has to be compared

Arguments

Type IntentOptional Attributes Name
type(tem_condition_type), intent(inout) :: cond
type(flu_State), intent(in) :: conf
integer, intent(in) :: thandle

private subroutine tem_condition_dump_vector(me, outUnit)

Dumps array of condition to given unit

Arguments

Type IntentOptional Attributes Name
type(tem_condition_type), intent(in) :: me(:)

condition to write into the lua file

integer, intent(in) :: outUnit

unit to write to

private subroutine tem_condition_dump_single(me, outUnit)

Dump single condition to given unit

Arguments

Type IntentOptional Attributes Name
type(tem_condition_type), intent(in) :: me

condition to write into the lua file

integer, intent(in) :: outUnit

unit to write to

private subroutine tem_condition_out_vector(me, conf)

Allows the output of array of condition to lua out

Arguments

Type IntentOptional Attributes Name
type(tem_condition_type), intent(in) :: me(:)

condition to write into the lua file

type(aot_out_type), intent(inout) :: conf

aotus type handling the output to the file in lua format

private subroutine tem_condition_out_single(me, conf, level)

Allows the output of the single condition to lua out.

Read more…

Arguments

Type IntentOptional Attributes Name
type(tem_condition_type), intent(in) :: me

condition to write into the lua file

type(aot_out_type), intent(inout) :: conf

aotus type handling the output to the file in lua format

integer, intent(in), optional :: level

to dump variable with key or without key