Calculate the density of a given element number with the given state vector (sum up all values)
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=rk), | intent(in) | :: | state(:) | |||
integer, | intent(in) | :: | elem | |||
type(tem_stencilHeader_type), | intent(in) | :: | stencil | |||
integer, | intent(in) | :: | varPos(:) | |||
integer, | intent(in) | :: | nScalars |
Calculate the density of a given subset of pdfs vector (sum up all values)
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=rk), | intent(in) | :: | subset(:) | |||
type(tem_stencilHeader_type), | intent(in) | :: | stencil | |||
integer, | intent(in) | :: | varPos(:) |