private pure function getVelocity_forElemFromState_noForce(state, elem, stencil, varPos, nScalars) result(vel)
Calculate the velocity in all 3 directions
from the element indicated (elem),
reading the pdf (state information) from the state array.
state array includes all the pdfs of all elements.
The access to the state array has to be done via the generic
access macro IDX, as we want to access post-collision values.
Nodes of different colours represent the following:
Solid arrows point from a procedure to one which it calls. Dashed
arrows point from an interface to procedures which implement that interface.
This could include the module procedures in a generic interface or the
implementation in a submodule of an interface in a parent module.