#include <simulation.hpp>
|
void | setupModelVectorsMatrices () |
|
void | setupBlockMatrix () |
|
void | setupBlockMatrixDerivative () |
|
void | setupPadVector () |
|
void | setupPadVectorDerivative () |
|
void | setupSaveVectorsMatrices () |
|
void | setupSliderSpeedMode () |
|
void | setupConstants () |
|
double | phi (double y) |
|
void | setSpeedAfterThreshold () |
|
void | updateSliderSpeed (int time_step) |
|
void | function_u (const arma::mat ¤t_block_matrix, const arma::rowvec ¤t_pad_vector, arma::mat ¤t_block_matrix_derivative) |
|
void | function_x (const arma::mat ¤t_block_matrix, const arma::rowvec ¤t_pad_vector, arma::rowvec ¤t_pad_vector_derivative) |
|
void | function_x_odof (const arma::rowvec ¤t_pad_vector, arma::rowvec ¤t_pad_vector_derivative) |
|
double | calculatePadSupportDamper (arma::rowvec current_pad_vector) |
|
double | calculatePadFriction (arma::mat current_block_matrix, arma::rowvec current_pad_vector) |
|
void | midpointMethod (int time_step) |
|
void | oneDegreeOfFreedomMidpointMethod (int time_step) |
|
void | writeValuesToLoggers (const int &time_step) |
|
void | printMidPointMethod (arma::mat block_matrix, arma::rowvec pad_vector, string explanation_text="") |
|
void | runMidpointMethod () |
|
void | saveToCsv (string filename, string result_path) |
|
void | midpointMethodParallel (int timestep, arma::mat &block_matrix_parallel, arma::rowvec &pad_vector_parallel, arma::mat block_matrix_derivative_parallel, arma::rowvec pad_vector_derivative_parallel) |
|
void | setupAndRunFrictionInParallel (int time_step, double slider_speed) |
|
void | calculateFrictionInParallel () |
|
void | saveToCsvParallel (const arma::colvec &armadillo_vector, const string &result_path, const double &slider_speed) |
|
Definition at line 6 of file simulation.hpp.
◆ Simulation() [1/2]
Simulation::Simulation |
( |
string |
parameters_path | ) |
|
◆ Simulation() [2/2]
Simulation::Simulation |
( |
string |
parameters_path, |
|
|
bool |
friction_parallelized |
|
) |
| |
◆ calculateFrictionInParallel()
void Simulation::calculateFrictionInParallel |
( |
| ) |
|
|
protected |
◆ calculatePadFriction()
double Simulation::calculatePadFriction |
( |
arma::mat |
current_block_matrix, |
|
|
arma::rowvec |
current_pad_vector |
|
) |
| |
|
protected |
◆ calculatePadSupportDamper()
double Simulation::calculatePadSupportDamper |
( |
arma::rowvec |
current_pad_vector | ) |
|
|
protected |
◆ function_u()
void Simulation::function_u |
( |
const arma::mat & |
current_block_matrix, |
|
|
const arma::rowvec & |
current_pad_vector, |
|
|
arma::mat & |
current_block_matrix_derivative |
|
) |
| |
|
protected |
◆ function_x()
void Simulation::function_x |
( |
const arma::mat & |
current_block_matrix, |
|
|
const arma::rowvec & |
current_pad_vector, |
|
|
arma::rowvec & |
current_pad_vector_derivative |
|
) |
| |
|
protected |
◆ function_x_odof()
void Simulation::function_x_odof |
( |
const arma::rowvec & |
current_pad_vector, |
|
|
arma::rowvec & |
current_pad_vector_derivative |
|
) |
| |
|
protected |
◆ main()
void Simulation::main |
( |
| ) |
|
◆ midpointMethod()
void Simulation::midpointMethod |
( |
int |
time_step | ) |
|
|
protected |
◆ midpointMethodParallel()
void Simulation::midpointMethodParallel |
( |
int |
timestep, |
|
|
arma::mat & |
block_matrix_parallel, |
|
|
arma::rowvec & |
pad_vector_parallel, |
|
|
arma::mat |
block_matrix_derivative_parallel, |
|
|
arma::rowvec |
pad_vector_derivative_parallel |
|
) |
| |
|
protected |
◆ oneDegreeOfFreedomMidpointMethod()
void Simulation::oneDegreeOfFreedomMidpointMethod |
( |
int |
time_step | ) |
|
|
protected |
◆ phi()
double Simulation::phi |
( |
double |
y | ) |
|
|
protected |
◆ printMidPointMethod()
void Simulation::printMidPointMethod |
( |
arma::mat |
block_matrix, |
|
|
arma::rowvec |
pad_vector, |
|
|
string |
explanation_text = "" |
|
) |
| |
|
protected |
◆ runMidpointMethod()
void Simulation::runMidpointMethod |
( |
| ) |
|
|
protected |
◆ saveToCsv()
void Simulation::saveToCsv |
( |
string |
filename, |
|
|
string |
result_path = "results/" |
|
) |
| |
|
protected |
◆ saveToCsvParallel()
void Simulation::saveToCsvParallel |
( |
const arma::colvec & |
armadillo_vector, |
|
|
const string & |
result_path, |
|
|
const double & |
slider_speed |
|
) |
| |
|
protected |
◆ setSpeedAfterThreshold()
void Simulation::setSpeedAfterThreshold |
( |
| ) |
|
|
protected |
◆ setupAndRunFrictionInParallel()
void Simulation::setupAndRunFrictionInParallel |
( |
int |
time_step, |
|
|
double |
slider_speed |
|
) |
| |
|
protected |
◆ setupBlockMatrix()
void Simulation::setupBlockMatrix |
( |
| ) |
|
|
protected |
◆ setupBlockMatrixDerivative()
void Simulation::setupBlockMatrixDerivative |
( |
| ) |
|
|
protected |
◆ setupConstants()
void Simulation::setupConstants |
( |
| ) |
|
|
protected |
◆ setupModelVectorsMatrices()
void Simulation::setupModelVectorsMatrices |
( |
| ) |
|
|
protected |
◆ setupPadVector()
void Simulation::setupPadVector |
( |
| ) |
|
|
protected |
◆ setupPadVectorDerivative()
void Simulation::setupPadVectorDerivative |
( |
| ) |
|
|
protected |
◆ setupSaveVectorsMatrices()
void Simulation::setupSaveVectorsMatrices |
( |
| ) |
|
|
protected |
◆ setupSliderSpeedMode()
void Simulation::setupSliderSpeedMode |
( |
| ) |
|
|
protected |
◆ updateSliderSpeed()
void Simulation::updateSliderSpeed |
( |
int |
time_step | ) |
|
|
protected |
◆ writeValuesToLoggers()
void Simulation::writeValuesToLoggers |
( |
const int & |
time_step | ) |
|
|
protected |
◆ block_matrix
arma::mat Simulation::block_matrix |
|
protected |
◆ block_matrix_derivative
arma::mat Simulation::block_matrix_derivative |
|
protected |
◆ block_position_column_index
arma::uvec Simulation::block_position_column_index = {0} |
|
protected |
◆ block_position_to_file
arma::mat Simulation::block_position_to_file |
|
protected |
◆ block_velocity_column_index
arma::uvec Simulation::block_velocity_column_index = {1} |
|
protected |
◆ block_velocity_to_file
arma::mat Simulation::block_velocity_to_file |
|
protected |
◆ c_p
◆ friction_zero_counter
int Simulation::friction_zero_counter = 0 |
|
protected |
◆ index_pad_friction_to_file
int Simulation::index_pad_friction_to_file = 0 |
|
protected |
◆ index_to_file
int Simulation::index_to_file = 0 |
|
protected |
◆ input_parameters
◆ input_parameters_path
string Simulation::input_parameters_path |
|
protected |
◆ k_c
◆ k_p
◆ loggingSpecificBlocks
bool Simulation::loggingSpecificBlocks = false |
|
protected |
◆ m_c_crit
double Simulation::m_c_crit |
|
protected |
◆ m_u
◆ number_of_interval_save_step
int Simulation::number_of_interval_save_step |
|
protected |
◆ number_of_save_steps
int Simulation::number_of_save_steps |
|
protected |
◆ number_of_time_steps
int Simulation::number_of_time_steps |
|
protected |
◆ pad_friction_to_file
arma::colvec Simulation::pad_friction_to_file |
|
protected |
◆ pad_position_to_file
arma::colvec Simulation::pad_position_to_file |
|
protected |
◆ pad_vector
arma::rowvec Simulation::pad_vector |
|
protected |
◆ pad_vector_derivative
arma::rowvec Simulation::pad_vector_derivative |
|
protected |
◆ pad_velocity_to_file
arma::colvec Simulation::pad_velocity_to_file |
|
protected |
◆ updateSliderSpeedDtInterval
int Simulation::updateSliderSpeedDtInterval |
|
protected |
The documentation for this class was generated from the following files: