Skip to content
Snippets Groups Projects
Commit 03538743 authored by Andreas Klöckner's avatar Andreas Klöckner
Browse files

Add missing r'' for escapes, fix indentation

parent 96d00848
No related branches found
No related tags found
1 merge request!93Minor fixes
Pipeline #13282 failed
......@@ -269,12 +269,12 @@ class Kernel(object):
return expr
def get_global_scaling_const(self):
"""Return a global scaling constant of the kernel.
Typically, this ensures that the kernel is scaled so that
:math:`\mathcal L(G)(x)=C\delta(x)` with a constant of 1, where
:math:`\mathcal L` is the PDE operator associated with the kernel.
Not to be confused with *rscale*, which keeps expansion
coefficients benignly scaled.
r"""Return a global scaling constant of the kernel.
Typically, this ensures that the kernel is scaled so that
:math:`\mathcal L(G)(x)=C\delta(x)` with a constant of 1, where
:math:`\mathcal L` is the PDE operator associated with the kernel.
Not to be confused with *rscale*, which keeps expansion
coefficients benignly scaled.
"""
raise NotImplementedError
......@@ -302,7 +302,7 @@ class ExpressionKernel(Kernel):
def __init__(self, dim, expression, global_scaling_const,
is_complex_valued):
"""
r"""
:arg expression: A :mod:`pymbolic` expression depending on
variables *d_1* through *d_N* where *N* equals *dim*.
(These variables match what is returned from
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment