get_xd Function

public pure function get_xd(x_lat) result(xd)

Arguments

Type IntentOptional Attributes Name
real(kind=rk), intent(in) :: x_lat

to particle position. Choose x, y or z component depending on which direction we are interpolating

Return Value real(kind=rk)

xd = (x-x0)/(x1-x0) = (x-x0)/dx