public subroutine tem_open_distconf_array(L, fileName, proc)
Open an array of Lua handles.
This is a drop in replacement for open_config_file from Aotus and allows
the scalable processing of Lua files, as they are read by a single process
and then streamed to all in proc.
There should be no restrictions on the Lua scripts themselves in this
method, as it uses an overloading of the require mechanism in Lua itself to
replace the file searches by lookups of buffered Lua code snippets.
The execution of the Lua script itself is not changed.
This variant of the routine opens an array of handles with the same script.
It is used to provide individual Lua states, that can be used independently
later on, for example in the evaluation of Lua functions for boundary
conditions.
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.