Public Types | Public Member Functions | Public Attributes | List of all members
nmx::apps::x9000::C9000 Class Reference

The CModel class Teilchen bewegt sich unter dem Einfluss einer ortsabhängigen Kraft (Rechenmodell) More...

#include <x9000.h>

Inheritance diagram for nmx::apps::x9000::C9000:
nmx::apps::x9000::X9000 nmx::XModel

Public Types

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

Public Member Functions

void exec (double tmax)
 solve numerische Lösung der Bewegungsgleichung More...
 
void save_data ()
 save_data Daten werden im CSV- und LaTeX-Format gespeichert. More...
 
- Public Member Functions inherited from nmx::apps::x9000::X9000
 X9000 (double m, double b, double x0, double v0)
 X9000 Konstruktor. More...
 
double a (double x) const
 acceleration Beschleunigung als Funktion von x More...
 
double force (double x) const
 force Kraft als Funktion von x More...
 
double v (double t) const
 v Geschwindigkeit als Funktion von t More...
 
double x (double t) const
 x Ort als Funktion von t 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::x9000::X9000
const double mass
 
const double b
 
const double mu
 
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 ortsabhängigen Kraft (Rechenmodell)

Definition at line 77 of file x9000.h.

Member Typedef Documentation

◆ Data

Definition at line 80 of file x9000.h.

◆ Ode

Definition at line 81 of file x9000.h.

Member Function Documentation

◆ exec()

void nmx::apps::x9000::C9000::exec ( double  tmax)
inline

solve numerische Lösung der Bewegungsgleichung

Parameters
tmaxZeitintervall [0,tmax]

Definition at line 110 of file x9000.h.

◆ save_data()

void nmx::apps::x9000::C9000::save_data ( )
inline

save_data Daten werden im CSV- und LaTeX-Format gespeichert.

Definition at line 133 of file x9000.h.

Member Data Documentation

◆ Ode

Definition at line 82 of file x9000.h.


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