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

The X1500 class Harmonische Schwingungen mit Dämpfung (Modellklasse) More...

#include <x1500.h>

Inheritance diagram for nmx::apps::x1500::X1500:
nmx::XModel nmx::apps::x1500::C1500 nmx::apps::x1500::Critical nmx::apps::x1500::Overdamped nmx::apps::x1500::Underdamped

Public Types

using IValues = std::array< double, 2 >
 

Public Member Functions

 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...
 

Static Public Member Functions

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...
 

Public Attributes

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
 

Detailed Description

The X1500 class Harmonische Schwingungen mit Dämpfung (Modellklasse)

Definition at line 24 of file x1500.h.

Member Typedef Documentation

◆ IValues

using nmx::apps::x1500::X1500::IValues = std::array<double, 2>

Definition at line 27 of file x1500.h.

Constructor & Destructor Documentation

◆ X1500()

nmx::apps::x1500::X1500::X1500 ( double  mass,
double  k,
double  beta,
IValues  initc 
)
inline

X1500 Konstruktor.

Parameters
massMasse
kFederkonstante
betaReibungskoeffizient
initcFeld der Länge 2 mit Anfangsbedingungen (x0,v0)

Definition at line 42 of file x1500.h.

Member Function Documentation

◆ acceleration()

double nmx::apps::x1500::X1500::acceleration ( double  x,
double  v 
) const
inline

acceleration

Parameters
xOrt
vGeschwindigkeit
Returns
momentane Beschleunigung

Definition at line 67 of file x1500.h.

◆ expfactor()

double nmx::apps::x1500::X1500::expfactor ( double  t) const
inline

expfactor Hilfsfunktion

Parameters
tZeit
Returns
e^(-gamma t)

Definition at line 59 of file x1500.h.

◆ type() [1/2]

Damping nmx::apps::x1500::X1500::type ( ) const
inline

type Berechnung des Dämpfungstyps

Returns
Dämpfungstyp der Instanz

Definition at line 75 of file x1500.h.

◆ type() [2/2]

static Damping nmx::apps::x1500::X1500::type ( double  gm,
double  omg0 
)
inlinestatic

type Hilfsfunktion zur Ermittlung des Dämpfungstyps

Parameters
gmgamma
omg0omega0
Returns
Dämpfungstyp

Definition at line 83 of file x1500.h.

Member Data Documentation

◆ beta

const double nmx::apps::x1500::X1500::beta

Definition at line 31 of file x1500.h.

◆ frequency0

const double nmx::apps::x1500::X1500::frequency0

Definition at line 30 of file x1500.h.

◆ gamma

const double nmx::apps::x1500::X1500::gamma

Definition at line 31 of file x1500.h.

◆ k

const double nmx::apps::x1500::X1500::k

Definition at line 29 of file x1500.h.

◆ mass

const double nmx::apps::x1500::X1500::mass

Definition at line 29 of file x1500.h.

◆ omega0

const double nmx::apps::x1500::X1500::omega0

Definition at line 30 of file x1500.h.

◆ period0

const double nmx::apps::x1500::X1500::period0

Definition at line 30 of file x1500.h.

◆ v0

const double nmx::apps::x1500::X1500::v0

Definition at line 32 of file x1500.h.

◆ x0

const double nmx::apps::x1500::X1500::x0

Definition at line 32 of file x1500.h.


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