pleiades.RectMesh¶
-
class
pleiades.RectMesh(rmin=0.0, rmax=1.0, nr=101, zmin=-0.5, zmax=0.5, nz=101)[source]¶ A regular linearly spaced 2D R-Z mesh.
Parameters: - rmin (float, optional) – The minimum cylindrical radius for the mesh in meters. Defaults to 0 m.
- rmax (float, optional) – The maximum cylindrical radius for the mesh in meters. Defaults to 0 m.
- nr (float, optional) – The number of radial mesh points. Defaults to 101.
- zmin (float, optional) – The minimum z height for the mesh in meters. Defaults to 0 m.
- zmax (float, optional) – The maximum z height for the mesh in meters. Defaults to 0 m.
- nz (float, optional) – The number of z mesh points. Defaults to 101.
Variables: - rmin (float) – The minimum cylindrical radius for the mesh in meters.
- rmax (float) – The maximum cylindrical radius for the mesh in meters.
- nr (float) – The number of radial mesh points.
- zmin (float) – The minimum z height for the mesh in meters.
- zmax (float) – The maximum z height for the mesh in meters.
- nz (float) – The number of z mesh points.
-
classmethod
to_points(mesh)¶ Take a mesh or numpy array, return Nx2 points array