This function computes the space time function for given list of space-time coordinates.
JZ: i added the subroutine for the space-time formulation. Below you see, that we create a tem_time_type variable in each loop. The code can be faster if we implement this routine in a nicer way.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(tem_spacetime_fun_type) | :: | me | Spacetime function to evaluate |
|||
real(kind=rk), | intent(in) | :: | stCoord(n,4) | barycentric Ids of an elements. 1st index goes over number of elements and 2nd index goes over x,y,z,t coordinates |
||
integer, | intent(in) | :: | n | Number of values to return |
return value of the function
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
real(kind=rk), | private | :: | spaceCoord(1,3) | ||||
integer, | private | :: | iPoint | ||||
type(tem_time_type), | private | :: | time |