Weights of the local vertices of direction dir in the outlet flow rate, as the discrete divergence sees it: its interpolation along a non-periodic direction gives the global boundary planes half the weight of the others (trapezoid). u is not stamped on a free-slip wall, so the wall planes keep their 1/2.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(mesh_t), | intent(in) | :: | mesh | |||
| integer, | intent(in) | :: | dir | |||
| logical, | intent(in) | :: | walls |