46 typedef CoordinateSystem CoordinateSystem_t;
48 enum { Dims = MetricArray::Dims };
49 typedef typename MetricArray::value_type metric_type;
50 typedef typename MetricArray::Storage_t MetricStorage_t;
52 typedef typename CoordinateSystem::Point_t Point_t;
53 typedef typename CoordinateSystem::Scalar_t Scalar_t;
54 typedef typename CoordinateSystem::Vector_t Vector_t;
55 typedef typename CoordinateSystem::Metric_t Metric_t;
57 typedef CubicIpol<metric_type> MetricInterpol;
59 typedef typename Point_t::Vector_t::value_type CoordinateType;
61 const MetricArray & g;
63 typedef Interpolate<Dims, metric_type, MetricStorage_t, MetricInterpol, CoordinateType> MetricField_t;
73 MetricField_t mf(g,P);
78 Vector_t
operator()(
const Point_t&q,
const Vector_t&dot_q)
const
81 ChristoffelField<MetricArray> Chris(g, q);
83 Chris.getCoordinateAcceleration(a, dot_q);
void getMetric(Metric_t &g_p, const Point_t &P) const
Get the metric tensor field at the interpolation point P.
Definition NumericalSpacetime.hpp:71
Vector_t operator()(const Point_t &q, const Vector_t &dot_q) const
Compute the coordinate acceleration at point q with velocity dot_q.
Definition NumericalSpacetime.hpp:78