This function invokes the vectorial Lua function, which takes barycentric coordinates of an element.
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), | optional | :: | conf | lua 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 in the resulting vector |
return value
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
type(aot_fun_type), | private | :: | fun | ||||
integer, | private | :: | iError(ncomp) | ||||
integer, | private | :: | iDir | ||||
integer, | private | :: | jDir |