pleiades.Mesh¶
-
class
pleiades.Mesh[source]¶ A mesh in the R-Z plane for calculating magnetic fields and flux.
The Mesh class is a base class for concrete representations of meshs that may be used in mesh based calculations. These meshs can be 1D or 2D structured meshs as well as a list of arbitrary coordinate pairs as in the case of unstructured meshs. This class outlines the interface and protocols that define a mesh in the Pleiades package.
Variables: - R (np.ndarray) – An N-dimensional array (typically 1 or 2) whose values represent the radial coordinates for the mesh in a cylindrical coordinate frame.
- Z (np.ndarray) – An N-dimensional array (typically 1 or 2) whose values represent the z coordinates for the mesh in a cylindrical coordinate frame.
- r (np.ndarray) – An N-dimensional array (typically 1 or 2) whose values represent the r coordinates for the mesh in a spherical coordinate frame.
- theta (np.ndarray) – An N-dimensional array (typically 1 or 2) whose values represent the theta coordinates for the mesh in a spherical coordinate frame.