|
wuzp
Wrong Unit? Zero Points! Compile-time checks for units, coordinate systems and points vs. vectors.
|
The Minkowski metric eta = diag(1, -1, ..., -1) of an inertial frame of special relativity, with the signature (+, -, ..., -) and the time component first, in length units (x^0 = c t), like LorentzTransformation. More...
#include <wuzp/core/CoordinateSystem.hpp>
The Minkowski metric eta = diag(1, -1, ..., -1) of an inertial frame of special relativity, with the signature (+, -, ..., -) and the time component first, in length units (x^0 = c t), like LorentzTransformation.
The operations that assume the Euclidean metric are rejected in such a coordinate system; the pairing of a covector and a vector, innerProduct, needs no metric, and getInvariant() computes the interval eta_ij v^i v^j (Carroll, Lecture Notes on General Relativity, https://arxiv.org/abs/gr-qc/9712019, eqs. 1.55 and 1.63).
Definition at line 27 of file CoordinateSystem.hpp.