feos.Grid¶
- class feos.Grid¶
Methods
__init__()cartesian_1d(n_points, length)Generate a 1D Cartesian grid with mirror boundary conditions on both sides.
cartesian_2d(n_points, length)Generate a 2D Cartesian grid with mirror boundary conditions on all sides.
cartesian_3d(n_points, length)Generate a 3D Cartesian grid with mirror boundary conditions on all sides.
cylindrical(n_points, length)Generate a cylindrical grid with axes (in this order) r and z.
periodical_1d(n_points, length)Generate a 1D Cartesian grid with periodic boundary conditions on both sides.
periodical_2d(n_points, length, alpha)Generate a 2D Cartesian (possibly oblique) grid with periodic boundary conditions on all sides.
periodical_3d(n_points, length, angles)Generate a 3D Cartesian (possibly oblique) grid with periodic boundary conditions on all sides.
polar(n_points, length)Generate a polar grid with radial axis.
spherical(n_points, length)Generate a spherical grid with radial axis.
Attributes
axesgrid