Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=wp), | intent(in) | :: | wf | |||
real(kind=wp), | intent(in) | :: | cn | |||
real(kind=wp), | intent(in) | :: | cnref |
elemental function weight_cn(wf,cn,cnref) result(cngw) real(wp),intent(in) :: wf, cn, cnref real(wp) :: cngw intrinsic :: exp cngw = exp ( -wf * ( cn - cnref )**2 ) end function weight_cn