From 1774c4bf8a435d39178229a7c9c7331bcc79efd8 Mon Sep 17 00:00:00 2001 From: AmritRoy12 Date: Wed, 25 Feb 2026 19:03:54 +0530 Subject: [PATCH] Clarify 1D QuinticSpline Normalization in docstring --- pysph/base/kernels.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pysph/base/kernels.py b/pysph/base/kernels.py index 6240833f1..fbb9449c1 100644 --- a/pysph/base/kernels.py +++ b/pysph/base/kernels.py @@ -1066,6 +1066,11 @@ class QuinticSpline(object): \sigma_5 = \ & \frac{7}{478\pi h^2}, \ & \textrm{for dim=2}, \\ \sigma_5 = \ & \frac{1}{120\pi h^3}, & \textrm{for dim=3}. \\ + .. note:: + The 1D coefficient was corrected from :math:'1/60' to \\ + :math:'1/120' (see issue #421). Normalization requires integration \\ + over the full domain :math:'[−3h, 3h]'. + """ def __init__(self, dim=2):