Public Types | Public Member Functions | Public Attributes | List of all members
nmx::apps::x200::C200< EXACTDATA > Class Template Reference

The C200 class Rechenmodell (numerisch berechnete Werte) More...

#include <x200.h>

Inheritance diagram for nmx::apps::x200::C200< EXACTDATA >:
nmx::apps::x200::X200 nmx::XModel

Public Types

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

Public Member Functions

void exec (double dt=0.1, double tmax=500)
 exec numerische Lösung der Bewegungsgleichungen More...
 
void save_data ()
 save_data speichere Daten in Dateien More...
 
- Public Member Functions inherited from nmx::apps::x200::X200
 X200 (double inmass, double inmu, double inforce, double inphi, double t1)
 X200 Konstruktor. More...
 
double get_force (double t) const
 get_force die zeitabhängige Kraft More...
 
double acceleration (double t) const
 acceleration die zeitabhängige Kraft Beschleunigung More...
 
double x (double t) const
 v Ortsvektor als Funktion der ... More...
 
double v (double t) const
 v Geschwindigkeit als Funktion der ... 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::x200::X200
const double mass
 
const double mu
 
const double force
 
const double phi
 
const double t1
 

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

template<bool EXACTDATA = true>
class nmx::apps::x200::C200< EXACTDATA >

The C200 class Rechenmodell (numerisch berechnete Werte)

Definition at line 102 of file x200.h.

Member Typedef Documentation

◆ Data

template<bool EXACTDATA = true>
using nmx::apps::x200::C200< EXACTDATA >::Data = Data<5>

Definition at line 105 of file x200.h.

◆ Ode

template<bool EXACTDATA = true>
using nmx::apps::x200::C200< EXACTDATA >::Ode = gsl::Odeiv2<2>

Definition at line 106 of file x200.h.

Member Function Documentation

◆ exec()

template<bool EXACTDATA = true>
void nmx::apps::x200::C200< EXACTDATA >::exec ( double  dt = 0.1,
double  tmax = 500 
)
inline

exec numerische Lösung der Bewegungsgleichungen

Parameters
dtZeitschritte (optional)
tmaxZeitpunkt bis zu dem maximal gerechnet wird

Definition at line 134 of file x200.h.

◆ save_data()

template<bool EXACTDATA = true>
void nmx::apps::x200::C200< EXACTDATA >::save_data ( )
inline

save_data speichere Daten in Dateien

Definition at line 159 of file x200.h.

Member Data Documentation

◆ Ode

template<bool EXACTDATA = true>
friend nmx::apps::x200::C200< EXACTDATA >::Ode

Definition at line 107 of file x200.h.


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