Public Types | Public Member Functions | Public Attributes | List of all members
nmx::apps::x1500::C1500 Class Reference

The X1500 class Harmonische Schwingungen mit Dämpfung. More...

#include <x1500.h>

Inheritance diagram for nmx::apps::x1500::C1500:
nmx::apps::x1500::X1500 nmx::XModel

Public Types

using Ode = gsl::Odeiv2< 2 >
 
using Data = Data< 6 >
 
- Public Types inherited from nmx::apps::x1500::X1500
using IValues = std::array< double, 2 >
 

Public Member Functions

int odefn (double t, const double fin[], double fout[])
 odefn Transformation in ein System von linearen Dgl More...
 
void solve_ode ()
 solve_ode numerische Lösung der Bewegungsgleichung More...
 
void exec ()
 exec numerische Berechnung der Daten More...
 
void save_data ()
 save_data Ausgabe der Daten im Tabellen und Grafikformat More...
 
- Public Member Functions inherited from nmx::apps::x1500::X1500
 X1500 (double mass, double k, double beta, IValues initc)
 X1500 Konstruktor. More...
 
double expfactor (double t) const
 expfactor Hilfsfunktion More...
 
double acceleration (double x, double v) const
 acceleration More...
 
Damping type () const
 type Berechnung des Dämpfungstyps 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::x1500::X1500
const double mass
 
const double k
 
const double omega0
 
const double period0
 
const double frequency0
 
const double beta
 
const double gamma
 
const double x0
 
const double v0
 

Additional Inherited Members

- Static Public Member Functions inherited from nmx::apps::x1500::X1500
static Damping type (double gm, double omg0)
 type Hilfsfunktion zur Ermittlung des Dämpfungstyps More...
 
- 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 X1500 class Harmonische Schwingungen mit Dämpfung.

Definition at line 246 of file x1500.h.

Member Typedef Documentation

◆ Data

Definition at line 251 of file x1500.h.

◆ Ode

Definition at line 249 of file x1500.h.

Member Function Documentation

◆ exec()

void nmx::apps::x1500::C1500::exec ( )
inline

exec numerische Berechnung der Daten

Definition at line 290 of file x1500.h.

◆ odefn()

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

odefn Transformation in ein System von linearen Dgl

Parameters
tZeit
finEingangsvektor
foutAusgangsvektor
Returns
GSL_SUCCESS

Definition at line 266 of file x1500.h.

◆ save_data()

void nmx::apps::x1500::C1500::save_data ( )
inline

save_data Ausgabe der Daten im Tabellen und Grafikformat

Definition at line 320 of file x1500.h.

◆ solve_ode()

void nmx::apps::x1500::C1500::solve_ode ( )
inline

solve_ode numerische Lösung der Bewegungsgleichung

Definition at line 276 of file x1500.h.

Member Data Documentation

◆ Ode

Definition at line 250 of file x1500.h.


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