Class SchwarzschildMetric
java.lang.Object
org.episteme.natural.physics.relativity.SchwarzschildMetric
- All Implemented Interfaces:
Set<Vector4D>, MetricSpace<Vector4D>, TopologicalSpace<Vector4D>, SpacetimeMetric
The Schwarzschild metric describing spacetime around a static, spherically
summetric mass.
Coordinates must be spherical: $(ct, r, \theta, \phi)$. Metric signature: $(-, +, +, +)$ used here for consistency with typical particle physics conventions, or $(+, -, -, -)$ widely used in GR texts. To be specific: $ds^2 = -(1 - r_s/r)(c dt)^2 + (1 - r_s/r)^{-1} dr^2 + r^2 d\Omega^2$ using $(-+++)$ signature.
*
Reference:
Schwarzschild, K. (1916). Über das Gravitationsfeld eines Massenpunktes nach der Einsteinschen Theorie. Sitzungsberichte der Königlich Preussischen Akademie der Wissenschaften.
- Since:
- 1.0
- Author:
- Silvere Martin-Michiellot, Gemini AI (Google DeepMind)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanTests whether this set contains the specified element.getMetricTensor(Vector4D point) Calculates the covariant metric tensor $g_{\mu\nu}$ at the given event coordinates.booleanisEmpty()Returnstrueif this set contains no elements.Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface SpacetimeMetric
containsPoint, description, distance, getChristoffelSymbols, isClosed, isOpen
-
Constructor Details
-
SchwarzschildMetric
- Parameters:
schwarzschildRadius- ($r_s = 2GM/c^2$)
-
-
Method Details
-
getMetricTensor
Description copied from interface:SpacetimeMetricCalculates the covariant metric tensor $g_{\mu\nu}$ at the given event coordinates.Returns a rank-2 tensor of shape [4, 4].
- Specified by:
getMetricTensorin interfaceSpacetimeMetric- Parameters:
point- the spacetime coordinates- Returns:
- the metric tensor instance
-
isEmpty
public boolean isEmpty()Description copied from interface:SetReturnstrueif this set contains no elements.The empty set (∅) is a fundamental concept in set theory. It is the unique set containing no elements.
-
contains
Description copied from interface:SetTests whether this set contains the specified element.This is the fundamental operation of a set - membership testing.
-