27 #ifndef __GyotoShift_H_ 28 #define __GyotoShift_H_ 33 namespace Metric {
class Shift; }
62 virtual void subMetric(SmartPointer<Metric::Generic>) ;
63 virtual std::vector<double>
offset() const;
64 virtual void
offset(std::vector<double> const&);
66 virtual void
mass(const double);
68 virtual void gmunu(double ARGOUT_ARRAY2[4][4], const double IN_ARRAY1[4]) const ;
70 virtual void
gmunu_up(double ARGOUT_ARRAY2[4][4], const double IN_ARRAY1[4]) const ;
71 virtual void
jacobian(double ARGOUT_ARRAY3[4][4][4], const double IN_ARRAY1[4]) const;
74 # ifdef GYOTO_USE_XERCES 75 virtual void
fillProperty(Gyoto::FactoryMessenger *fmp, Property const &p) const ;
79 virtual void
tell(Gyoto::Hook::Teller *msg);
#define GYOTO_OBJECT
Declare class::properties and class::getProperties()
Definition: GyotoObject.h:84
virtual void gmunu_up(double ARGOUT_ARRAY2[4][4], const double IN_ARRAY1[4]) const
Metric contravariant coefficients.
double mass() const
Get mass used in unitLength()
virtual std::vector< double > offset() const
Get vector copy of #pos_.
virtual void jacobian(double ARGOUT_ARRAY3[4][4][4], const double IN_ARRAY1[4]) const
Derivatives of the metric covariant coefficients.
Base class for metrics.
Definition: GyotoMetric.h:158
virtual int isStopCondition(double const coord[8]) const
Check whether integration should stop.
virtual void tell(Gyoto::Hook::Teller *msg)
This is how a Teller tells.
virtual double gmunu_up(double const x[4], int mu, int nu) const
Metric contravariant coefficients.
virtual double gmunu(double const x[4], int mu, int nu) const
Metric coefficients.
Base class for metric description.
virtual void setParameters(FactoryMessenger *fmp)
Main loop for parsing Properties from XML description.
Namespace for the Gyoto library.
Definition: GyotoAstrobj.h:43
Pointers performing reference counting.
Definition: GyotoProperty.h:45
I might listen to a Teller.
Definition: GyotoHooks.h:64
virtual void fillProperty(Gyoto::FactoryMessenger *fmp, Property const &p) const
Output a single Property to XML.
The Shift flat-space metric.
Definition: GyotoShift.h:44
virtual Shift * clone() const
Virtual copy constructor.