min Interface

public interface min

Overload of the min intrinsic for a vec3


Module Procedures

private pure elemental function min_vec(this, val)

Get the min value elementwise between a vec3 and a scalar

Arguments

Type IntentOptional Attributes Name
type(vector), intent(in) :: this

Input vector

real(kind=wp), intent(in) :: val

Input minimum value

Return Value type(vector)

private pure elemental function minval_vec(this)

Get the min value in a vec3

Arguments

Type IntentOptional Attributes Name
type(vector), intent(in) :: this

Input vector

Return Value real(kind=wp)