dominoes Struct Reference

Public Attributes

Mdouble margin = 20
 
int N_dom = 20
 
Mdouble R_peb = 0.75
 
Mdouble R_cue = 0.65
 
Mdouble Vel_cue = 3
 
Mdouble S_peb = 1
 
Mdouble S_dom = 5
 
int m_peb = 1
 
int n_peb = 4
 
int k_peb = 8
 
Mdouble x_min = 0
 
Mdouble x_max = 2 * margin + N_dom * S_dom
 
Mdouble y_min = -20
 
Mdouble y_max = 20
 
Mdouble z_min = -(k_peb-0.5) * S_peb - R_peb
 
Mdouble z_max = 20
 
Mdouble mass = 1
 
Mdouble I_xx = mass * (1./12.) * S_peb * S_peb * ( n_peb * n_peb + k_peb * k_peb )
 
Mdouble I_yy = mass * (1./12.) * S_peb * S_peb * ( m_peb * m_peb + k_peb * k_peb )
 
Mdouble I_zz = mass * (1./12.) * S_peb * S_peb * ( m_peb * m_peb + n_peb * n_peb )
 
int N_ini = 10
 
int N_fin = 19
 
bool started = false
 
bool finished = false
 
Mdouble T1 = 0
 
Mdouble T2 = 0
 
Mdouble velocity = 0
 

Member Data Documentation

◆ finished

bool dominoes::finished = false

◆ I_xx

Mdouble dominoes::I_xx = mass * (1./12.) * S_peb * S_peb * ( n_peb * n_peb + k_peb * k_peb )

◆ I_yy

Mdouble dominoes::I_yy = mass * (1./12.) * S_peb * S_peb * ( m_peb * m_peb + k_peb * k_peb )

◆ I_zz

Mdouble dominoes::I_zz = mass * (1./12.) * S_peb * S_peb * ( m_peb * m_peb + n_peb * n_peb )

◆ k_peb

int dominoes::k_peb = 8

◆ m_peb

int dominoes::m_peb = 1

◆ margin

◆ mass

Mdouble dominoes::mass = 1

◆ N_dom

int dominoes::N_dom = 20

◆ N_fin

int dominoes::N_fin = 19

◆ N_ini

int dominoes::N_ini = 10

◆ n_peb

int dominoes::n_peb = 4

◆ R_cue

Mdouble dominoes::R_cue = 0.65

◆ R_peb

Mdouble dominoes::R_peb = 0.75

◆ S_dom

◆ S_peb

Mdouble dominoes::S_peb = 1

◆ started

bool dominoes::started = false

◆ T1

Mdouble dominoes::T1 = 0

◆ T2

Mdouble dominoes::T2 = 0

◆ Vel_cue

Mdouble dominoes::Vel_cue = 3

◆ velocity

Mdouble dominoes::velocity = 0

Referenced by main().

◆ x_max

Mdouble dominoes::x_max = 2 * margin + N_dom * S_dom

◆ x_min

Mdouble dominoes::x_min = 0

◆ y_max

Mdouble dominoes::y_max = 20

◆ y_min

Mdouble dominoes::y_min = -20

◆ z_max

Mdouble dominoes::z_max = 20

◆ z_min

Mdouble dominoes::z_min = -(k_peb-0.5) * S_peb - R_peb

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