Gyoto
GyotoSchwarzschildHarmonic.h
Go to the documentation of this file.
1 
6 /*
7  Copyright 2021 Frederic Vincent & Thibaut Paumard
8 
9  This file is part of Gyoto.
10 
11  Gyoto is free software: you can redistribute it and/or modify
12  it under the terms of the GNU General Public License as published by
13  the Free Software Foundation, either version 3 of the License, or
14  (at your option) any later version.
15 
16  Gyoto is distributed in the hope that it will be useful,
17  but WITHOUT ANY WARRANTY; without even the implied warranty of
18  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19  GNU General Public License for more details.
20 
21  You should have received a copy of the GNU General Public License
22  along with Gyoto. If not, see <http://www.gnu.org/licenses/>.
23  */
24 
25 #ifndef __GyotoSchwarzschildHarmonic_h
26 #define __GyotoSchwarzschildHarmonic_h
27 
28 #include <GyotoMetric.h>
29 
30 namespace Gyoto {
31  namespace Metric {
32  class SchwarzschildHarmonic;
33  };
34 };
35 
37 : public Gyoto::Metric::Generic {
39  public:
42  SchwarzschildHarmonic(const SchwarzschildHarmonic & orig);
43  virtual ~SchwarzschildHarmonic();
44  virtual SchwarzschildHarmonic * clone() const ;
45 
46  using Generic::gmunu;
47  double gmunu(double const x[4], int mu, int nu) const ;
49  int christoffel(double dst[4][4][4], double const pos[4]) const ;
50  int isStopCondition(double const * const coord) const;
51  void circularVelocity(double const * coor, double* vel, double dir) const;
52 
53 #endif
54 };
#define GYOTO_OBJECT
Declare class::properties and class::getProperties()
Definition: GyotoObject.h:84
Base class for metrics.
Definition: GyotoMetric.h:158
double gmunu(double const x[4], int mu, int nu) const
Metric coefficients.
virtual double christoffel(const double coord[4], const int alpha, const int mu, const int nu) const
Chistoffel symbol.
virtual SchwarzschildHarmonic * clone() const
Virtual copy constructor.
virtual double gmunu(double const x[4], int mu, int nu) const
Metric coefficients.
Base class for metric description.
Namespace for the Gyoto library.
Definition: GyotoAstrobj.h:43
Pointers performing reference counting.
Definition: GyotoProperty.h:45
Definition: GyotoSchwarzschildHarmonic.h:36