sample_count Function
public pure elemental function sample_count(length, h, minimum, maximum) result(n)
Clip the sample count before converting the length-to-size ratio to an integer.
Arguments
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=rk), | intent(in) | :: | length | |||
| real(kind=rk), | intent(in) | :: | h | |||
| integer, | intent(in) | :: | minimum | |||
| integer, | intent(in) | :: | maximum |