This function returns pre-stored value at given idx if spacetime function is predefined apesmate else evaluate a spacetime function for a point at given idx in growing array of points. Return value is a vector.

Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|

type(tem_spacetime_fun_type), | intent(in) | :: | me | spacetime type |
||

type(tem_grwPoints_type), | intent(in) | :: | grwPnt | growing array of all spacetime 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) | :: | iLevel | Level to which the evaluated values to be returned |
||

type(tem_time_type), | intent(in) | :: | time | timer object incl. the current time information |
||

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

return value of a function

Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|

integer, | private | :: | iVal | ||||

integer, | private | :: | iComp | ||||

integer, | private | :: | iVar | ||||

integer, | private | :: | offset | ||||

real(kind=rk), | private | :: | coord(1,3) | ||||

real(kind=rk), | private | :: | res_tmp(1,nComps) | ||||

real(kind=rk), | private | :: | trans | ||||

real(kind=rk), | private, | allocatable | :: | temp(:) |