private function tem_spatial_vector_for_coord(me, coord, n, ncomp) result(res)
This function invokes different spatial boundary kinds like constant, lua
function or predefined Fortran function for given coord

If a spatial block is not defined and a temporal block is defined in the
lua file, the return value = ref_value.
If both spatial and temporal block are not defined in the lua file, the
return value = 1.0_rk.
based spatial_kind(kind).

const - set constant value
lua_fun - lua function
gausspulse - fortran gauss pulse function
2dcrvp - fortran spinning vortex function
parabol - fotran parabolic function
Arguments
Type Intent Optional Attributes Name
type(tem_spatial_type )
::
me spatial type for given boundary state

real(kind=rk),
intent(in)
::
coord (n,3)barycentric Ids of an elements.
1st index goes over number of elements and
2nd index goes over x,y,z coordinates

integer,
intent(in)
::
n number of return values

integer,
intent(in)
::
ncomp number of components per returned value

Return Value real(kind=rk)(n,ncomp)
return value of a function

Calls
proc~~tem_spatial_vector_for_coord~~CallsGraph
proc~tem_spatial_vector_for_coord
tem_spatial_vector_for_coord
interface~tem_spongelayer_plane_for
tem_spongeLayer_plane_for
proc~tem_spatial_vector_for_coord->interface~tem_spongelayer_plane_for
proc~tem_abort
tem_abort
proc~tem_spatial_vector_for_coord->proc~tem_abort
interface~tem_spongelayer_box2d_for
tem_spongeLayer_box2d_for
proc~tem_spatial_vector_for_coord->interface~tem_spongelayer_box2d_for
interface~tem_spatial_parabol3d_for
tem_spatial_parabol3d_for
proc~tem_spatial_vector_for_coord->interface~tem_spatial_parabol3d_for
interface~tem_spatial_lua_for
tem_spatial_lua_for
proc~tem_spatial_vector_for_coord->interface~tem_spatial_lua_for
proc~tem_eval_polygon_material
tem_eval_polygon_material
proc~tem_spatial_vector_for_coord->proc~tem_eval_polygon_material
proc~tem_eval_polygon_material_3d
tem_eval_polygon_material_3d
proc~tem_spatial_vector_for_coord->proc~tem_eval_polygon_material_3d
proc~tem_evaluate_pml
tem_evaluate_pml
proc~tem_spatial_vector_for_coord->proc~tem_evaluate_pml
interface~tem_spatial_parabol2d_for
tem_spatial_parabol2d_for
proc~tem_spatial_vector_for_coord->interface~tem_spatial_parabol2d_for
interface~tem_spongelayer_box_for
tem_spongeLayer_box_for
proc~tem_spatial_vector_for_coord->interface~tem_spongelayer_box_for
interface~tem_spongelayer_radial_for
tem_spongeLayer_radial_for
proc~tem_spatial_vector_for_coord->interface~tem_spongelayer_radial_for
Nodes of different colours represent the following:

Graph Key
Subroutine
Subroutine
Function
Function
Interface
Interface
Unknown Procedure Type
Unknown Procedure Type
Program
Program
This Page's Entity
This Page's Entity
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.

Called by
proc~~tem_spatial_vector_for_coord~~CalledByGraph
proc~tem_spatial_vector_for_coord
tem_spatial_vector_for_coord
proc~tem_spatial_vector_for_index
tem_spatial_vector_for_index
proc~tem_spatial_vector_for_index->proc~tem_spatial_vector_for_coord
interface~tem_spatial_for
tem_spatial_for
interface~tem_spatial_for->proc~tem_spatial_vector_for_coord
interface~tem_spatial_for->proc~tem_spatial_vector_for_index
proc~tem_spacetime_scalar_for_index
tem_spacetime_scalar_for_index
proc~tem_spacetime_scalar_for_index->interface~tem_spatial_for
proc~tem_spacetime_for_coord
tem_spacetime_for_coord
proc~tem_spacetime_scalar_for_index->proc~tem_spacetime_for_coord
proc~tem_spacetime_for_coord->interface~tem_spatial_for
proc~tem_spacetime_for_treeids
tem_spacetime_for_treeIDs
proc~tem_spacetime_for_treeids->interface~tem_spatial_for
proc~tem_spatial_scalar_storeval
tem_spatial_scalar_storeVal
proc~tem_spatial_scalar_storeval->interface~tem_spatial_for
proc~tem_spatial_vector_storeval
tem_spatial_vector_storeVal
proc~tem_spatial_vector_storeval->interface~tem_spatial_for
proc~tem_spacetime_vector_for_treeids
tem_spacetime_vector_for_treeIDs
proc~tem_spacetime_vector_for_treeids->interface~tem_spatial_for
proc~tem_spacetime_vector_for_index
tem_spacetime_vector_for_index
proc~tem_spacetime_vector_for_index->interface~tem_spatial_for
proc~tem_spacetime_vector_for_coord
tem_spacetime_vector_for_coord
proc~tem_spacetime_vector_for_index->proc~tem_spacetime_vector_for_coord
proc~tem_spacetime_vector_for_coord->interface~tem_spatial_for
interface~tem_spatial_storeval
tem_spatial_storeVal
interface~tem_spatial_storeval->proc~tem_spatial_scalar_storeval
interface~tem_spatial_storeval->proc~tem_spatial_vector_storeval
proc~tem_spacetime_for_stcoord
tem_spacetime_for_stcoord
proc~tem_spacetime_for_stcoord->proc~tem_spacetime_for_coord
interface~tem_spacetime_for
tem_spacetime_for
interface~tem_spacetime_for->proc~tem_spacetime_scalar_for_index
interface~tem_spacetime_for->proc~tem_spacetime_for_coord
interface~tem_spacetime_for->proc~tem_spacetime_for_treeids
interface~tem_spacetime_for->proc~tem_spacetime_vector_for_treeids
interface~tem_spacetime_for->proc~tem_spacetime_vector_for_index
interface~tem_spacetime_for->proc~tem_spacetime_vector_for_coord
Nodes of different colours represent the following:

Graph Key
Subroutine
Subroutine
Function
Function
Interface
Interface
Unknown Procedure Type
Unknown Procedure Type
Program
Program
This Page's Entity
This Page's Entity
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.

Variables
Type Visibility Attributes Name Initial
integer,
private ::
i