2
3
4
5
6
7
8
9
10
11
12
13
14
15
17
18
19
20
22#ifndef MODELS_ENVIRONMENT_POINT_MASS_GRAVITY_MODEL
23#define MODELS_ENVIRONMENT_POINT_MASS_GRAVITY_MODEL
25#include "core/macros.h"
26#include "simulation/Model.h"
27#include "six_dof_dynamics/Frame.hpp"
28#include "six_dof_dynamics/Node.hpp"
29#include "utils/frameutils.hpp"
30#include "utils/planetdefaults.h"
35
36
37
38
39
48
49 SIGNAL(
mu,
double, clockwerk::earth_wgs84.mu)
51
70 PointMassGravityModel();
71 PointMassGravityModel(
Model &pnt,
const std::string &m_name=
"point_mass_gravity");
72 PointMassGravityModel(
SimulationExecutive &e,
const std::string &m_name=
"point_mass_gravity");
73 PointMassGravityModel(
Model &pnt,
int schedule_slot,
const std::string &m_name=
"point_mass_gravity");
74 PointMassGravityModel(
SimulationExecutive &e,
int schedule_slot,
const std::string &m_name=
"point_mass_gravity");
75 ~PointMassGravityModel() {}
Base model class for derived implementation.
Definition Model.h:56
Point mass gravity model.
Definition PointMassGravityModel.h:40
int execute()
Function to execute the task. All math and calculations should be here.
Definition PointMassGravityModel.cpp:36
Implementation of the executive class for simulation.
Definition SimulationExecutive.h:63
#define SIGNAL(NAME, TYPE, INITIAL_VALUE)
Definition macros.h:87
#define START_PARAMS
Definition macros.h:96
#define CartesianVector3D
Definition macros.h:54
#define END_OUTPUTS
Definition macros.h:90
#define END_PARAMS
Definition macros.h:98
#define START_OUTPUTS
Definition macros.h:88
#define END_INPUTS
Definition macros.h:94
#define START_INPUTS
Definition macros.h:92
Class to propagate CR3BP dynamics in characteristic units.
Definition ConfigurationWriter.cpp:18
clockwerk::DataIO< clockwerk::CartesianVector< double, 3 > > grav_force__f
Definition PointMassGravityModel.h:66
clockwerk::DataIO< double > body_mass
Definition PointMassGravityModel.h:52
clockwerk::DataIO< double > mu
Definition PointMassGravityModel.h:49