pycauset.spacetime.MinkowskiCylinder
Inherits from: pycauset.spacetime.CausalSpacetime
Represents a flat Minkowski spacetime with periodic spatial boundary conditions (\(S^1 \times \mathbb{R}\)).
Description
This topology is often used to study effects of spatial compactness. The spatial dimension wraps around, creating a cylinder-like structure in spacetime.
Parameters
- dimension (int): The dimension of the spacetime. Currently, only \(d=2\) is supported.
- height (float): The temporal duration of the region (\(t \in [0, h]\)).
- circumference (float): The spatial circumference of the cylinder (\(x \in [0, c]\)).
Properties
height
The temporal height of the cylinder.
circumference
The spatial circumference of the cylinder.
Methods
dimension
Returns the dimension of the spacetime.
transform_coordinates
(Extension) Transforms raw coordinates to a visualization-friendly basis. For 2D, this maps \((t, x)\) to 3D cylindrical coordinates \((z, x, y)\).
get_boundary
(Extension) Returns the boundary rings (top and bottom) of the cylinder in the transformed coordinate system.
volume
Returns the volume of the cylinder, calculated as \(height \times circumference\).