pycauset.spacetime.MinkowskiCylinder
Inherits from: Spacetime
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.
volume
Returns the volume of the cylinder, calculated as \(height \times circumference\).
Spacetime contract methods
MinkowskiCylinder also implements the full Spacetime contract:
- signature (property):
(1, d-1), Lorentzian. - sample (method):
sample(rng, n) -> np.ndarray, drawsnpoints uniformly. - is_causal (method):
is_causal(u, v) -> bool, the strict transitive causal order (wrap-aware on the circle). - is_causal_batch (method):
is_causal_batch(coords) -> np.ndarray, the vectorized(n, n)causal matrix. - scalar_coeffs (method):
scalar_coeffs(mass, density) -> (a, b), the authored 2D field coefficients. - to_embedding / boundary (methods): presentation hooks.
See Spacetime for the full contract.