Planetary Orbital Evolution due to Tides
Orbital evolution of two objects experiencing tides
CInterface.h
Go to the documentation of this file.
1 
8 #include "../Core/SharedLibraryExportMacros.h"
9 #include "Planet.h"
10 
11 extern "C" {
13  struct CPlanet;
14 
18  LIB_PUBLIC CPlanet *create_planet(
20  double mass,
21 
23  double radius
24  );
25 
27  LIB_PUBLIC void destroy_planet(CPlanet *planet);
28 
30  LIB_PUBLIC void set_planet_dissipation(
32  CPlanet *planet,
33 
35  unsigned num_tidal_frequency_breaks,
36 
38  unsigned num_spin_frequency_breaks,
39 
41  double *tidal_frequency_breaks,
42 
44  double *spin_frequency_breaks,
45 
47  double *tidal_frequency_powers,
48 
50  double *spin_frequency_powers,
51 
53  double reference_phase_lag,
54 
56  double inertial_mode_enhancement,
57 
59  double inertial_mode_sharpness
60  );
61 
62 }; //End extern "C"
Declares a class for planets that are always locked to the orbit.
LIB_PUBLIC void destroy_planet(CPlanet *planet)
Destroy a planet previously allocated using create_planet.
Definition: CInterface.cpp:19
LIB_PUBLIC CPlanet * create_planet(double mass, double radius)
Create a planet to use in a evolution calculation.
Definition: CInterface.cpp:12
LIB_PUBLIC void set_planet_dissipation(CPlanet *planet, unsigned num_tidal_frequency_breaks, unsigned num_spin_frequency_breaks, double *tidal_frequency_breaks, double *spin_frequency_breaks, double *tidal_frequency_powers, double *spin_frequency_powers, double reference_phase_lag, double inertial_mode_enhancement, double inertial_mode_sharpness)
Set the dissipative properties of the planet.
Definition: CInterface.cpp:24