Public Member Functions | Public Attributes | List of all members
nmx::apps::x2000::X2000 Class Reference

The X2000 class Bewegung im konstanten Gravitationsfeld mit Reibung nach Stokes (Modellklasse) More...

#include <x2000.h>

Inheritance diagram for nmx::apps::x2000::X2000:
nmx::XModel nmx::apps::x2000::C2000

Public Member Functions

 X2000 (double m, double b, double y0, double v0)
 X2000 Konstruktor. More...
 
double terminal_velocity () const
 terminalVelocity More...
 
double v (double t) const
 v Geschwindigkeit als Funktion der Zeit More...
 
double y (double t) const
 y Ort als Funktion der Zeit More...
 
double time4ymax () const
 time4ymax More...
 
double ymax () const
 ymax 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 mass
 
const double beta
 
const double y0
 
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 X2000 class Bewegung im konstanten Gravitationsfeld mit Reibung nach Stokes (Modellklasse)

Definition at line 15 of file x2000.h.

Constructor & Destructor Documentation

◆ X2000()

nmx::apps::x2000::X2000::X2000 ( double  m,
double  b,
double  y0,
double  v0 
)
inline

X2000 Konstruktor.

Parameters
mMasse
bReibungskoeffizient
y0Höhe zur Zeit t=0
v0Geschwindigkeit zur Zeit t=0

Definition at line 36 of file x2000.h.

Member Function Documentation

◆ terminal_velocity()

double nmx::apps::x2000::X2000::terminal_velocity ( ) const
inline

terminalVelocity

Returns
Endgeschwindigkeit

Definition at line 51 of file x2000.h.

◆ time4ymax()

double nmx::apps::x2000::X2000::time4ymax ( ) const
inline

time4ymax

Returns
Zeit für maximale Höhe

Definition at line 77 of file x2000.h.

◆ v()

double nmx::apps::x2000::X2000::v ( double  t) const
inline

v Geschwindigkeit als Funktion der Zeit

Parameters
tZeit
Returns
Geschwindigkeit

Definition at line 58 of file x2000.h.

◆ y()

double nmx::apps::x2000::X2000::y ( double  t) const
inline

y Ort als Funktion der Zeit

Parameters
tZeit
Returns
Ort zum Zeitpunkt t

Definition at line 67 of file x2000.h.

◆ ymax()

double nmx::apps::x2000::X2000::ymax ( ) const
inline

ymax

Returns
maximale Höhe

Definition at line 85 of file x2000.h.

Member Data Documentation

◆ beta

const double nmx::apps::x2000::X2000::beta

Definition at line 24 of file x2000.h.

◆ mass

const double nmx::apps::x2000::X2000::mass

Definition at line 24 of file x2000.h.

◆ v0

const double nmx::apps::x2000::X2000::v0

Definition at line 26 of file x2000.h.

◆ y0

const double nmx::apps::x2000::X2000::y0

Definition at line 26 of file x2000.h.


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