tem_load_spatial Subroutine

public subroutine tem_load_spatial(me, conf, parent, key, defaultValue, nComp, errCode)

This subroutine load spatial boundary state variable.

If spatial is defined as block than read block for predefined Fortran function variables else it is defined as constant. Valid definitions:

  • Constant
 spatial = 1.0
  • lua_function
 spatial = lua_fun_name
  • define lua function inside a table
 spatial  = {fun=lua_fun_name, store=<>}

Note. Lua function take 3 input arguments (x,y,z) i.e barycentric coordinates of an element - Predefined Fortran function

 spatial  = {predefined = "fun_name", fun_parameters}

example given in subroutine load_spatial_parabol definition

Arguments

TypeIntentOptionalAttributesName
type(tem_spatial_type), intent(out) :: me

spatial boundary state type

type(flu_State) :: conf

lua state type

integer, intent(in) :: parent

aotus parent handle

character(len=*), intent(in), optional :: key

state variable key string defined in lua

real(kind=rk), intent(in), optional :: defaultValue

What should be set s a default value for the quantities if no quantity was given in the lua file

integer, intent(in), optional :: nComp

number of components of the variable

integer, intent(out), optional :: errCode

Error code from lua loading


Calls

proc~~tem_load_spatial~~CallsGraph proc~tem_load_spatial tem_load_spatial interface~aot_fun_open aot_fun_open proc~tem_load_spatial->interface~aot_fun_open proc~load_spatial_asconst load_spatial_asConst proc~tem_load_spatial->proc~load_spatial_asconst proc~aot_reference_for aot_reference_for proc~tem_load_spatial->proc~aot_reference_for proc~tem_abort tem_abort proc~tem_load_spatial->proc~tem_abort proc~aot_table_open aot_table_open proc~tem_load_spatial->proc~aot_table_open proc~aot_fun_close aot_fun_close proc~tem_load_spatial->proc~aot_fun_close interface~tem_tostr tem_toStr proc~tem_load_spatial->interface~tem_tostr proc~load_spatial_predefined load_spatial_predefined proc~tem_load_spatial->proc~load_spatial_predefined proc~aot_table_close aot_table_close proc~tem_load_spatial->proc~aot_table_close interface~aot_get_val~2 aot_get_val proc~tem_load_spatial->interface~aot_get_val~2

Called by

proc~~tem_load_spatial~~CalledByGraph proc~tem_load_spatial tem_load_spatial proc~tem_load_ic tem_load_ic proc~tem_load_ic->proc~tem_load_spatial proc~load_spacetime_predefined load_spacetime_predefined proc~load_spacetime_predefined->proc~tem_load_spatial proc~tem_load_spacetime_single tem_load_spacetime_single proc~tem_load_spacetime_single->proc~load_spacetime_predefined proc~tem_load_spacetime_single->proc~tem_load_spacetime_single proc~tem_load_spacetime_table tem_load_spacetime_table proc~tem_load_spacetime_table->proc~tem_load_spacetime_single interface~tem_load_spacetime tem_load_spacetime interface~tem_load_spacetime->proc~tem_load_spacetime_single interface~tem_load_spacetime->proc~tem_load_spacetime_table proc~tem_variable_loadmapping_single tem_variable_loadMapping_single proc~tem_variable_loadmapping_single->interface~tem_load_spacetime proc~tem_variable_load_single tem_variable_load_single proc~tem_variable_load_single->interface~tem_load_spacetime program~tem_spacetime_fun_test tem_spacetime_fun_test program~tem_spacetime_fun_test->interface~tem_load_spacetime

Contents


Variables

TypeVisibilityAttributesNameInitial
integer, private :: thandle
integer, private :: iError
integer, private :: loc_nComp
type(aot_fun_type), private :: fun
character(len=labelLen), private :: local_key
real(kind=rk), private :: local_default
logical, private :: loadasConst