mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-27 13:45:36 -04:00
Make sure Torus Python classes use raw strings for docstrings
This commit is contained in:
parent
67db1f5af0
commit
20651b6c6a
1 changed files with 3 additions and 3 deletions
|
|
@ -2190,7 +2190,7 @@ class TorusMixin:
|
|||
|
||||
|
||||
class XTorus(TorusMixin, Surface):
|
||||
"""A torus of the form :math:`(x - x_0)^2/B^2 + (\sqrt{(y - y_0)^2 + (z -
|
||||
r"""A torus of the form :math:`(x - x_0)^2/B^2 + (\sqrt{(y - y_0)^2 + (z -
|
||||
z_0)^2} - A)^2/C^2 - 1 = 0`.
|
||||
|
||||
Parameters
|
||||
|
|
@ -2259,7 +2259,7 @@ class XTorus(TorusMixin, Surface):
|
|||
np.array([np.inf, np.inf, np.inf]))
|
||||
|
||||
class YTorus(TorusMixin, Surface):
|
||||
"""A torus of the form :math:`(y - y_0)^2/B^2 + (\sqrt{(x - x_0)^2 + (z -
|
||||
r"""A torus of the form :math:`(y - y_0)^2/B^2 + (\sqrt{(x - x_0)^2 + (z -
|
||||
z_0)^2} - A)^2/C^2 - 1 = 0`.
|
||||
|
||||
Parameters
|
||||
|
|
@ -2328,7 +2328,7 @@ class YTorus(TorusMixin, Surface):
|
|||
np.array([np.inf, np.inf, np.inf]))
|
||||
|
||||
class ZTorus(TorusMixin, Surface):
|
||||
"""A torus of the form :math:`(z - z_0)^2/B^2 + (\sqrt{(x - x_0)^2 + (y -
|
||||
r"""A torus of the form :math:`(z - z_0)^2/B^2 + (\sqrt{(x - x_0)^2 + (y -
|
||||
y_0)^2} - A)^2/C^2 - 1 = 0`.
|
||||
|
||||
Parameters
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue