ps_PseudoWf_Value Function

public function ps_PseudoWf_Value(ps, i, r) result(val)

Arguments

Type IntentOptional AttributesName
type(ps_t), intent(in) :: ps
integer, intent(in) :: i
real(kind=dp), intent(in) :: r

Return Value real(kind=dp)


Contents

Source Code


Source Code

function ps_PseudoWf_Value(ps,i,r) result(val)
type(ps_t), intent(in) :: ps
integer,   intent(in)  :: i
real(dp),  intent(in)  :: r
real(dp)               :: val

call check_index(i,size(ps%wf_table),"Wf")
val = ps_GetValue(ps%wf_table(i)%p%Phi,r)

end function ps_PseudoWf_Value