This function invokes the Lua function for a given coordinate and returns an array valued result.
Note, that the returned object by the Lua function has to be a table, except if there is only one component. For arrays of length 1 the Lua return value has to be a simple scalar, not a table!
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in) | :: | fun_ref | Reference of the function to open |
||
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 |
||
type(tem_time_type), | intent(in) | :: | time | timer object incl. the current time information |
||
integer, | intent(in) | :: | n | number of return values |
||
integer, | intent(in) | :: | ncomp | number of components returned for each value |
||
type(flu_State), | intent(in), | optional | :: | conf | lua state |
return value
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
type(aot_fun_type), | private | :: | fun | ||||
integer, | private | :: | iError(ncomp) | ||||
integer, | private | :: | i | ||||
integer, | private | :: | j |