|
SpECTRE
v2026.04.01
|
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). | |
| 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). | |
| 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). | |
| 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. | |
| 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. | |
| template<typename DataType, size_t SpatialDim, typename Frame> | |
| void | lorentz_boost (gsl::not_null< tnsr::ab< DataType, SpatialDim, Frame > * > result, const tnsr::ab< DataType, SpatialDim, Frame > &tensor, const std::array< double, SpatialDim > &velocity) |
| Apply a Lorentz boost to each component of a rank-2 tensor with lower or covariant indices. | |
Holds functions related to special relativity.