atri Function

function atri(at1, at2, at3, at4i)

~ ~ ~ PURPOSE ~ ~ ~ this function generates a random number from a triangular distribution given X axis points at start, end, and peak Y value

~ ~ ~ SUBROUTINES/FUNCTIONS CALLED ~ ~ ~ Intrinsic: Sqrt SWAT: Aunif

~ ~ ~ ~ ~ ~ END SPECIFICATIONS ~ ~ ~ ~ ~ ~

Arguments

Type IntentOptional Attributes Name
real, intent(in) :: at1
real, intent(in) :: at2
real, intent(in) :: at3
integer, intent(inout) :: at4i

Return Value real