# Domains The classes that say where a problem lives: all of space with free and periodic directions, boxes with faces, and the round domains in their own coordinates. Shapes in the plane are on the page of [regions, curves and shapes](regions.md). | Class | The domain | Coordinates | Faces | |---|---|---|---| | `pm.FreeSpace` | all of space | Cartesian, any number | none | | `pm.Space` | all of space, periodic along some coordinates | Cartesian, any number | none | | `pm.Box` | an interval along each coordinate | Cartesian, any number | two along each coordinate that is not periodic | | `pm.Disk` | a disk, or a ring with `inner=` | radius, angle | the rim, and the inner rim of a ring | | `pm.Ball` | a ball, or a shell with `inner=` | radius, polar angle, azimuth | the surface, and the inner one of a shell | | `pm.Cylinder` | a finite cylinder, hollow with `inner=`, without caps with `periodic=True` | distance from the axis, angle, position along the axis | the wall, the two caps, and the inner wall | A disk, a ball or a solid cylinder with caps that gets no boundary condition has vacuum outside. ## Free and periodic directions ```{eval-rst} .. autoclass:: pdemagic.Space .. autoclass:: pdemagic.FreeSpace ``` ## Boxes ```{eval-rst} .. autoclass:: pdemagic.Box :members: faces, axes, laplacian ``` ## Round domains ```{eval-rst} .. autoclass:: pdemagic.Disk :members: faces, axes, cartesian, laplacian .. autoclass:: pdemagic.Ball :members: faces, axes, cartesian, laplacian .. autoclass:: pdemagic.Cylinder :members: faces, axes, cartesian, laplacian ``` See also: [Domains: the families, and how to choose](../topics/domains.md), [Free space and periodic directions](../topics/free-space.md), [Boxes with walls](../topics/boxes.md) and [Disks, rings, balls, shells and cylinders](../topics/round.md).