Skip to content
ForCADDocumentation

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 IntentOptional Attributes Name
real(kind=rk), intent(in) :: length
real(kind=rk), intent(in) :: h
integer, intent(in) :: minimum
integer, intent(in) :: maximum

Return Value integer