Calculate the velocity of a given element number with the given input vector (sum up all values)
The interface has to comply to the abstract interface tem_varSys_proc_element.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(tem_varSys_op_type), | intent(in) | :: | fun | description of the method to obtain the variables, here some preset values might be stored, like the space time function to use or the required variables. |
||
| type(tem_varSys_type), | intent(in) | :: | varsys | the variable system to obtain the variable from. |
||
| type(tem_stencilHeader_type), | intent(in) | :: | stencil | fluid stencil defintion |
||
| integer, | intent(in) | :: | iLevel | current Level |
||
| integer, | intent(in) | :: | posInState(:) | Position of element in levelwise state array |
||
| real(kind=rk), | intent(in) | :: | pdf(:) | pdf array |
||
| real(kind=rk), | intent(out) | :: | res(:) | results |
||
| integer, | intent(in) | :: | nVals | nVals to get |
| Type | Visibility | Attributes | Name | Initial | |||
|---|---|---|---|---|---|---|---|
| integer, | private | :: | iComp | ||||
| integer, | private | :: | iVal | ||||
| type(mus_varSys_data_type), | private, | pointer | :: | fPtr | |||
| type(mus_scheme_type), | private, | pointer | :: | scheme | |||
| integer, | private | :: | pdfPos | ||||
| integer, | private | :: | nCompsPDF | ||||
| real(kind=rk), | private, | allocatable | :: | tmpPDF(:) |