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

The C2000 class Bewegung im konstanten Gravitationsfeld mit Reibung nach Stokes (numerisch berechnete Werte) (Rechenmodell) More...

#include <x2000.h>

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

Public Types

using Ode = gsl::Odeiv2< 2 >
 
using Data = Data< 8 >
 

Public Member Functions

int odefn (double t, const double fin[], double fout[])
 odefn Schnittstelle zur gsl More...
 
void exec ()
 solve_ode numerische Lösung der DGL numerische Lösung der Bewegungsgleichung More...
 
void save_data ()
 save_data speichere Daten im Diagramm- und Tabellenformat. More...
 
- Public Member Functions inherited from nmx::apps::x2000::X2000
 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

friend Ode
 
- Public Attributes inherited from nmx::apps::x2000::X2000
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 C2000 class Bewegung im konstanten Gravitationsfeld mit Reibung nach Stokes (numerisch berechnete Werte) (Rechenmodell)

Definition at line 92 of file x2000.h.

Member Typedef Documentation

◆ Data

Definition at line 97 of file x2000.h.

◆ Ode

Definition at line 95 of file x2000.h.

Member Function Documentation

◆ exec()

void nmx::apps::x2000::C2000::exec ( )
inline

solve_ode numerische Lösung der DGL numerische Lösung der Bewegungsgleichung

Definition at line 125 of file x2000.h.

◆ odefn()

int nmx::apps::x2000::C2000::odefn ( double  t,
const double  fin[],
double  fout[] 
)
inline

odefn Schnittstelle zur gsl

Parameters
tZeit
finOrt Geschwindigkeit
foutGeschwindigkeit Beschleunigung
Returns
Status

Definition at line 114 of file x2000.h.

◆ save_data()

void nmx::apps::x2000::C2000::save_data ( )
inline

save_data speichere Daten im Diagramm- und Tabellenformat.

Definition at line 152 of file x2000.h.

Member Data Documentation

◆ Ode

Definition at line 96 of file x2000.h.


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