14 #ifndef __OscilTorus_h 15 #define __OscilTorus_h 26 class FactoryMessenger;
51 enum perturb_t {Radial=1, Vertical=2, X=3, Plus=4, Breathing=5};
52 perturb_t perturb_kind_;
58 std::vector<double> tt_;
59 std::vector<double> area_;
82 GYOTO_OBJECT_ACCESSORS_UNIT(largeRadius);
83 GYOTO_OBJECT_ACCESSORS(
unsigned long, mode);
84 GYOTO_OBJECT_ACCESSORS(
double, polyCst);
85 GYOTO_OBJECT_ACCESSORS(
double, polyIndex);
86 GYOTO_OBJECT_ACCESSORS(
double, centralDensity);
87 GYOTO_OBJECT_ACCESSORS_STRING(perturbKind);
88 GYOTO_OBJECT_ACCESSORS(
double, perturbIntens);
89 GYOTO_OBJECT_ACCESSORS_STRING(emittingArea);
93 virtual double operator()(
double const coord[4]) ;
94 virtual void getVelocity(
double const pos[4],
double vel[4]) ;
95 double emission(
double nuem,
double,state_t
const &,
double const *)
const;
97 #ifdef GYOTO_USE_XERCES 101 virtual void updateCachedValues();
102 void computeXbYb(
const double * pos,
double & xb,
double & yb) ;
#define GYOTO_OBJECT
Declare class::properties and class::getProperties()
Definition: GyotoObject.h:84
std::string emitting_area_
Only for mode=0, file containing time series of cross section area.
Definition: GyotoOscilTorus.h:53
Astronomical objects (light emitters)
double alpha_
perturbation normalization (oder-unity)
Definition: GyotoOscilTorus.h:64
double g_rr_
metric coef at torus center
Definition: GyotoOscilTorus.h:71
Factory / SmartPointee::Subcontractor_t interface.
Definition: GyotoFactoryMessenger.h:92
virtual OscilTorus * clone() const
Cloner.
Astronomical objects defined bya a potential/distance.
double polycst_
Polytropic constant.
Definition: GyotoOscilTorus.h:48
double perturb_intens_
Perturbation intensity.
Definition: GyotoOscilTorus.h:54
Definition: GyotoOscilTorus.h:32
double c_
Large Radius.
Definition: GyotoOscilTorus.h:46
Namespace for the Gyoto library.
Definition: GyotoAstrobj.h:43
double central_density_
Central density.
Definition: GyotoOscilTorus.h:50
Pointers performing reference counting.
Definition: GyotoProperty.h:45
I might listen to a Teller.
Definition: GyotoHooks.h:64
virtual void setParameters(Gyoto::FactoryMessenger *fmp)
Main loop in Subcontractor_t function.
double sigma_
perturbation rescaled pulsation
Definition: GyotoOscilTorus.h:63
virtual SmartPointer< Metric::Generic > metric() const
Get the Metric gg_.
virtual void tell(Gyoto::Hook::Teller *msg)
Update cached values.
int with_cross_
is 1 if cross section data are given
Definition: GyotoOscilTorus.h:61
virtual void getVelocity(double const pos[4], double vel[4])
Fluid velocity field.
size_t nbt_
numberof tt_
Definition: GyotoOscilTorus.h:60
double omr2_
epicyclic freq at torus center
Definition: GyotoOscilTorus.h:67
double w1_
factors appearing in perturbed surf func
Definition: GyotoOscilTorus.h:65
Astronomical objects defined bya a potential/distance.
Definition: GyotoStandardAstrobj.h:84
double Omegac_
Omega and l at torus center.
Definition: GyotoOscilTorus.h:69
Listen to me and I'll warn you when I change.
Definition: GyotoHooks.h:82
double polyindex_
Polytropic index.
Definition: GyotoOscilTorus.h:49
virtual double operator()(double const coord[4])
Function defining the object interior.