diff --git a/sumpy/kernel.py b/sumpy/kernel.py index 2e19c625af54637efbdea043fbb47a71c41c3c06..646df2a52353f7760ddb4e1e15716c6337679026 100644 --- a/sumpy/kernel.py +++ b/sumpy/kernel.py @@ -50,6 +50,7 @@ PDE kernels .. autoclass:: LaplaceKernel .. autoclass:: HelmholtzKernel .. autoclass:: StokesletKernel +.. autoclass:: StressletKernel Derivatives ----------- @@ -427,7 +428,7 @@ class StokesletKernel(ExpressionKernel): init_arg_names = ("dim", "icomp", "jcomp", "viscosity_mu_name") def __init__(self, dim, icomp, jcomp, viscosity_mu_name="mu"): - """ + r""" :arg viscosity_mu_name: The argument name to use for dynamic viscosity :math:`\mu` the then generating functions to evaluate this kernel. @@ -496,7 +497,7 @@ class StressletKernel(ExpressionKernel): def __init__(self, dim=None, icomp=None, jcomp=None, kcomp=None, viscosity_mu_name="mu"): - """ + r""" :arg viscosity_mu_name: The argument name to use for dynamic viscosity :math:`\mu` the then generating functions to evaluate this kernel. @@ -517,7 +518,7 @@ class StressletKernel(ExpressionKernel): expr = ( d[icomp]*d[jcomp]*d[kcomp]/r**5 ) - scaling = -3/(4*var("pi")) + scaling = 3/(4*var("pi")) elif dim is None: expr = None