Public Types | Public Member Functions | Public Attributes | List of all members
nmx::apps::x9100::C9100 Class Reference

The CModel class Teilchen bewegt sich unter dem Einfluss einer zeitabhängigen Kraft, numerische Lösung der Bewegungsgleichungen. (Rechenmodell) More...

#include <x9100.h>

Inheritance diagram for nmx::apps::x9100::C9100:
nmx::apps::x9100::X9100 nmx::XModel

Public Types

using Data = nmx::Data< 7 >
 
using Ode = gsl::Odeiv2< 2 >
 

Public Member Functions

int odefn (double t, const double fin[], double fout[])
 odefn Schnittstelle zur gsl More...
 
void exec (double tmax)
 solve_ode numerische Lösung der Bewegungsgleichung More...
 
void save_data ()
 save_data speichere Daten in Dateien More...
 
- Public Member Functions inherited from nmx::apps::x9100::X9100
 X9100 (double m, double F0, double omg, double x0, double v0)
 X9100 Konstruktor. More...
 
double x (double t) const
 x Ortsfunktion (analytische Formel) More...
 
double v (double t) const
 v Geschwindigkeit als Funktion der Zeit (analytische Formel) More...
 
double a (double t) const
 a Beschleunigung als Funktion der Zeit (analytische Formel) 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::x9100::X9100
const double mass
 
const double Force0
 
const double omega
 
const double x0
 
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 CModel class Teilchen bewegt sich unter dem Einfluss einer zeitabhängigen Kraft, numerische Lösung der Bewegungsgleichungen. (Rechenmodell)

Definition at line 79 of file x9100.h.

Member Typedef Documentation

◆ Data

Definition at line 82 of file x9100.h.

◆ Ode

Definition at line 83 of file x9100.h.

Member Function Documentation

◆ exec()

void nmx::apps::x9100::C9100::exec ( double  tmax)
inline

solve_ode numerische Lösung der Bewegungsgleichung

Parameters
tmaxZeitintervall [0,tmax]

Definition at line 110 of file x9100.h.

◆ odefn()

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

odefn Schnittstelle zur gsl

Parameters
tZeit
finEingabe
foutAusgabe
Returns
GSL_SUCCESS

Definition at line 100 of file x9100.h.

◆ save_data()

void nmx::apps::x9100::C9100::save_data ( )
inline

save_data speichere Daten in Dateien

Definition at line 130 of file x9100.h.

Member Data Documentation

◆ Ode

Definition at line 84 of file x9100.h.


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