This function invokes the Lua function, which takes tem_grwPoints_type and evaluate a function at a point of given idx in grwPnt.
Lua function defined in the script is connected to the conf handle and return the result of the function. The Lua function takes barycentric coordinate as input argument i.e fun_name(x,y,z)
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in) | :: | fun_ref | Lua reference to the function to evaluate. |
||
type(flu_State) | :: | conf | lua state |
|||
type(tem_grwPoints_type), | intent(in) | :: | grwPnt | growing array of all spatial point of a variable |
||
integer, | intent(in) | :: | idx(nVals) | Index position to return a pre-store value or to compute |
||
integer, | intent(in) | :: | nVals | number of return values |
return value
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
type(aot_fun_type), | private | :: | fun | ||||
integer, | private | :: | iError | ||||
integer, | private | :: | iDir | ||||
integer, | private | :: | jDir | ||||
real(kind=rk), | private | :: | coord(3) |