public subroutine tem_load_temporal(me, conf, parent, key)
This subroutine load temporal table defined for a boundary.\n
If temporal is defined as lua function then set kind = temporal_lua
else if temporal block is defined then load temporal table for predefined
Fortran function variables and set kind = temporal_\a function_name
else temporal is a constant value and set kind = temporal_const.\n
\n
Valid definitions:
\li Constant
~~~~~~~~~~~~~~~~~~~~~{.lua}
temporal = 1.0
~~~~~~~~~~~~~~~~~~~~~
\li lua_function
~~~~~~~~~~~~~~~~~~~~~
temporal = 'linear'
~~~~~~~~~~~~~~~~~~~~~
Example: \a linear lua function
\verbatim
function linear(iTime)
local to_time = 1000
if iTime < to_time then
return iTime/to_time
else
return 1.0
end
end
\endverbatim
\li Predefined Fortran function
~~~~~~~~~~~~~~~~~~~~~{.lua}
temporal = {predefined="Fortranfun_name",
min_factor = 0.0, max_factor = 1.0,
from_time = 0.0, to_time = 1000.0}
~~~~~~~~~~~~~~~~~~~~~
\li Data from a file (periodic data supported)
~~~~~~~~~~~~~~~~~~~~~{.lua}
temporal = {predefined="datafile",
filename='data.dat', -- path/name of the datafile
intp='linear', -- interpolation between the time tics ('linear','none')
periodic= true} -- is the data periodic?
~~~~~~~~~~~~~~~~~~~~~
\n
Nodes of different colours represent the following:
Solid arrows point from a procedure to one which it calls. Dashed
arrows point from an interface to procedures which implement that interface.
This could include the module procedures in a generic interface or the
implementation in a submodule of an interface in a parent module.
Nodes of different colours represent the following:
Solid arrows point from a procedure to one which it calls. Dashed
arrows point from an interface to procedures which implement that interface.
This could include the module procedures in a generic interface or the
implementation in a submodule of an interface in a parent module.