Public Types | Public Member Functions | Public Attributes | List of all members
nmx::apps::x1200::X1200 Class Reference

The X1200 class Bewegung einer Rakete in einem konstanten Gravitationsfeld (Modellklasse) More...

#include <x1200.h>

Inheritance diagram for nmx::apps::x1200::X1200:
nmx::XModel nmx::apps::x1200::C1200

Public Types

using IValues = std::array< double, 2 >
 

Public Member Functions

 X1200 (double minit, double mrocket, double l, double vrocket, IValues ivals)
 X1200 Konstruktor mit Liste aller Eingabeparameter. More...
 
bool is_propellant (double t) const
 is_propellant Treibstoff als Funktion der Zeit More...
 
double mass (double t) const
 mass Masse als Funktion der Zeit More...
 
double acceleration (double t) const
 acceleration Beschleunigung als Funktion der Zeit More...
 
double height (double t) const
 height Höhe als Funktion der Zeit More...
 
double velocity (double t) const
 velocity Geschwindigkeit als Funktion der Zeit More...
 
double time () const
 time Zeitpunkt zu dem der gesamte Treibstoff verbraucht ist More...
 
double velocity () const
 velocity Geschwindigkeit zum Zeitpunkt zu dem der gesamte Treibstoff verbraucht ist More...
 
double height () const
 height Höhe zum Zeitpunkt zum dem der gesamte Treibstoff verbraucht ist More...
 
- Public Member Functions inherited from nmx::XModel
 XModel ()=delete
 XModelBase kein Standardkonstruktor. More...
 
 XModel (const char *name)
 XModelBase Konstruktor. More...
 

Public Attributes

const double mass0
 
const double massRocket
 
const double lambda
 
const double vRelative
 
const double z0
 
const double v0
 

Additional Inherited Members

- Static Public Member Functions inherited from nmx::XModel
static std::ofstream get_output_stream (Format fmt)
 get_output_stream More...
 
template<class T >
static std::ofstream get_output_stream (Format fmt, const T &id)
 get_output_stream More...
 
template<class T >
static void save (const T &data, Format fmt)
 save Speicherung von Daten in eine Datei More...
 
template<class T , class ID >
static void save (const T &data, Format fmt, const ID &id)
 save Speicherung von Daten in eine Datei More...
 
static std::string class_name ()
 class_name More...
 

Detailed Description

The X1200 class Bewegung einer Rakete in einem konstanten Gravitationsfeld (Modellklasse)

Definition at line 16 of file x1200.h.

Member Typedef Documentation

◆ IValues

using nmx::apps::x1200::X1200::IValues = std::array<double, 2>

Definition at line 24 of file x1200.h.

Constructor & Destructor Documentation

◆ X1200()

nmx::apps::x1200::X1200::X1200 ( double  minit,
double  mrocket,
double  l,
double  vrocket,
IValues  ivals 
)
inline

X1200 Konstruktor mit Liste aller Eingabeparameter.

Parameters
minitMasse der Rakete plus Treibstoff t=0
mrocketMasse der Rakete ohne Treibstoff
lBrennrate
vrocketRelativgeschwindigkeit
zinitAnfangsbedingungen (Höhe)
vinitAnfangsbedingungen (Geschwindigkeit)

Definition at line 44 of file x1200.h.

Member Function Documentation

◆ acceleration()

double nmx::apps::x1200::X1200::acceleration ( double  t) const
inline

acceleration Beschleunigung als Funktion der Zeit

Parameters
tZeit
Returns
momentaner Wert der Beschleunigung

Definition at line 93 of file x1200.h.

◆ height() [1/2]

double nmx::apps::x1200::X1200::height ( double  t) const
inline

height Höhe als Funktion der Zeit

Parameters
tZeit
Returns
Höhe zum Zeitpunkt t

Definition at line 102 of file x1200.h.

◆ height() [2/2]

double nmx::apps::x1200::X1200::height ( ) const
inline

height Höhe zum Zeitpunkt zum dem der gesamte Treibstoff verbraucht ist

Returns
Höhe

Definition at line 138 of file x1200.h.

◆ is_propellant()

bool nmx::apps::x1200::X1200::is_propellant ( double  t) const
inline

is_propellant Treibstoff als Funktion der Zeit

Parameters
tZeit
Returns
false wenn Treibstoff verbraucht ist

Definition at line 74 of file x1200.h.

◆ mass()

double nmx::apps::x1200::X1200::mass ( double  t) const
inline

mass Masse als Funktion der Zeit

Parameters
tZeit
Returns
Momentanwert der Masse

Definition at line 81 of file x1200.h.

◆ time()

double nmx::apps::x1200::X1200::time ( ) const
inline

time Zeitpunkt zu dem der gesamte Treibstoff verbraucht ist

Returns
Zeit

Definition at line 124 of file x1200.h.

◆ velocity() [1/2]

double nmx::apps::x1200::X1200::velocity ( double  t) const
inline

velocity Geschwindigkeit als Funktion der Zeit

Parameters
tZeit
Returns
Geschwindigkeit zum Zeitpunkt t

Definition at line 114 of file x1200.h.

◆ velocity() [2/2]

double nmx::apps::x1200::X1200::velocity ( ) const
inline

velocity Geschwindigkeit zum Zeitpunkt zu dem der gesamte Treibstoff verbraucht ist

Returns
Geschwindigkeit

Definition at line 131 of file x1200.h.

Member Data Documentation

◆ lambda

const double nmx::apps::x1200::X1200::lambda

Definition at line 29 of file x1200.h.

◆ mass0

const double nmx::apps::x1200::X1200::mass0

Definition at line 27 of file x1200.h.

◆ massRocket

const double nmx::apps::x1200::X1200::massRocket

Definition at line 28 of file x1200.h.

◆ v0

const double nmx::apps::x1200::X1200::v0

Definition at line 31 of file x1200.h.

◆ vRelative

const double nmx::apps::x1200::X1200::vRelative

Definition at line 30 of file x1200.h.

◆ z0

const double nmx::apps::x1200::X1200::z0

Definition at line 31 of file x1200.h.


The documentation for this class was generated from the following file: