It conformes to the concept of an Acceleration.
More...
#include <NumericalSpacetime.hpp>
|
| enum | { Dims = MetricArray::Dims
} |
| |
|
typedef CoordinateSystem | CoordinateSystem_t |
| |
|
typedef MetricArray::value_type | metric_type |
| |
|
typedef MetricArray::Storage_t | MetricStorage_t |
| |
|
typedef CoordinateSystem::Point_t | Point_t |
| |
|
typedef CoordinateSystem::Scalar_t | Scalar_t |
| |
|
typedef CoordinateSystem::Vector_t | Vector_t |
| |
|
typedef CoordinateSystem::Metric_t | Metric_t |
| |
|
typedef CubicIpol< metric_type > | MetricInterpol |
| |
|
typedef Point_t::Vector_t::value_type | CoordinateType |
| |
|
typedef Interpolate< Dims, metric_type, MetricStorage_t, MetricInterpol, CoordinateType > | MetricField_t |
| |
|
|
| NumericalSpacetime (const MetricArray &metric) |
| | Constructor, stores a reference to the metric array.
|
| |
|
void | getMetric (Metric_t &g_p, const Point_t &P) const |
| | Get the metric tensor field at the interpolation point P.
|
| |
|
Vector_t | operator() (const Point_t &q, const Vector_t &dot_q) const |
| | Compute the coordinate acceleration at point q with velocity dot_q.
|
| |
template<class MetricArray, class CoordinateSystem>
struct Traum::NumericalSpacetime< MetricArray, CoordinateSystem >
It conformes to the concept of an Acceleration.
- Examples
- NumericalPolarGeodesic2D.cpp, and NumericalPolarSchwarzschild.cpp.