intp_1D_peskin Function

public pure function intp_1D_peskin(r_lat) result(del)

1D discrete delta interpolation function according to Peskin. Used to interpolate the fluid property of a lattice cell with barycenter xf to the position of a particle xp. Note that this function has a support of 2*dx so requires both neighbor and next-neighbor for interpolation

Arguments

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

Distance from particle to barycenter of fluid cell (must be positive)

Return Value real(kind=rk)