|
SpECTRE
v2025.08.19
|
Holds functions related to special relativity. More...
Functions | |
| template<size_t SpatialDim> | |
| tnsr::Ab< double, SpatialDim, Frame::NoFrame > | lorentz_boost_matrix (const tnsr::I< double, SpatialDim, Frame::NoFrame > &velocity) |
| Computes the matrix for a Lorentz boost from a single velocity vector (i.e., not a velocity field). More... | |
| template<size_t SpatialDim> | |
| void | lorentz_boost_matrix (gsl::not_null< tnsr::Ab< double, SpatialDim, Frame::NoFrame > * > boost_matrix, const tnsr::I< double, SpatialDim, Frame::NoFrame > &velocity) |
| Computes the matrix for a Lorentz boost from a single velocity vector (i.e., not a velocity field). More... | |
| template<size_t SpatialDim> | |
| tnsr::Ab< double, SpatialDim, Frame::NoFrame > | lorentz_boost_matrix (const std::array< double, SpatialDim > &velocity) |
| Computes the matrix for a Lorentz boost from a single velocity vector (i.e., not a velocity field). More... | |
| template<typename DataType , size_t SpatialDim, typename Frame > | |
| void | lorentz_boost (gsl::not_null< tnsr::I< DataType, SpatialDim, Frame > * > result, const tnsr::I< DataType, SpatialDim, Frame > &vector, double vector_component_0, const std::array< double, SpatialDim > &velocity) |
| Apply a Lorentz boost to the spatial part of a vector. More... | |
| template<typename DataType , size_t SpatialDim, typename Frame > | |
| void | lorentz_boost (gsl::not_null< tnsr::a< DataType, SpatialDim, Frame > * > result, const tnsr::a< DataType, SpatialDim, Frame > &one_form, const std::array< double, SpatialDim > &velocity) |
| Apply a Lorentz boost to a one form. More... | |
Holds functions related to special relativity.