This function invokes the Lua function, in which the barycentric coordinates are computed from treeIds of an element.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in) | :: | fun_ref | Lua reference to the function to evaluate. |
||
type(flu_State) | :: | conf | lua state |
|||
integer(kind=long_k), | intent(in) | :: | treeIds(n) | treeIds of elements in given level |
||
type(treelmesh_type), | intent(in) | :: | tree | global treelm mesh |
||
integer, | intent(in) | :: | n | number of return values |
return value
This function invokes the Lua function, which takes barycentric coordinates of an element.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in) | :: | fun_ref | Lua reference to the function to evaluate. |
||
type(flu_State) | :: | 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 |
return value
This function invokes the Lua function, which takes tem_grwPoints_type and evaluate a function at a point of given idx in grwPnt.
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
This function invokes the vectorial Lua function, in which the barycentric coordinates are computed from treeIds of an element.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in) | :: | fun_ref | Lua reference to the function to evaluate. |
||
type(flu_State) | :: | conf | lua state |
|||
integer(kind=long_k), | intent(in) | :: | treeIds(n) | treeIds of elements in given level |
||
type(treelmesh_type), | intent(in) | :: | tree | global treelm mesh |
||
integer, | intent(in) | :: | n | number of return values |
||
integer, | intent(in) | :: | ncomp | Number of components in each returned value |
return value
This function invokes the vectorial Lua function, which takes barycentric coordinates of an element.
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
This function invokes the vectorial Lua function, which takes tem_grwPoints_type and evaluate a function at a point of given idx in grwPnt.
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 |
||
integer, | intent(in) | :: | nComps | number of components per returned value |
return value