Add documentation on torus distance/normal

This commit is contained in:
Paul Romano 2021-12-22 08:57:44 -05:00
parent b0fbb4e804
commit a57d7dcd7f
4 changed files with 110 additions and 10 deletions

View file

@ -26,7 +26,7 @@ Each ``<surface>`` element can have the following attributes or sub-elements:
:type:
The type of the surfaces. This can be "x-plane", "y-plane", "z-plane",
"plane", "x-cylinder", "y-cylinder", "z-cylinder", "sphere", "x-cone",
"y-cone", "z-cone", or "quadric".
"y-cone", "z-cone", "quadric", "x-torus", "y-torus", or "z-torus".
*Default*: None

View file

@ -55,7 +55,8 @@ The current version of the summary file format is 6.0.
:Datasets: - **name** (*char[]*) -- Name of the surface.
- **type** (*char[]*) -- Type of the surface. Can be 'x-plane',
'y-plane', 'z-plane', 'plane', 'x-cylinder', 'y-cylinder',
'z-cylinder', 'sphere', 'x-cone', 'y-cone', 'z-cone', or 'quadric'.
'z-cylinder', 'sphere', 'x-cone', 'y-cone', 'z-cone', 'quadric',
'x-torus', 'y-torus', or 'z-torus'.
- **coefficients** (*double[]*) -- Array of coefficients that define
the surface. See :ref:`surface_element` for what coefficients are
defined for each surface type.