svZeroDSolver
Loading...
Searching...
No Matches
SimulationParameters Struct Reference

Simulation parameters. More...

#include <SimulationParameters.h>

Public Attributes

double sim_time_step_size {0.0}
 Simulation time step size.
 
double sim_abs_tol {0.0}
 Absolute tolerance for simulation.
 
int sim_num_cycles {0}
 Number of cardiac cycles to simulate.
 
int sim_pts_per_cycle {0}
 Number of time steps per cardiac cycle.
 
bool use_cycle_to_cycle_error
 
double sim_cycle_to_cycle_error {0}
 Cycle-to-cycle error.
 
int sim_num_time_steps {0}
 Total number of time steps.
 
int sim_nliter {0}
 
double sim_rho_infty {0.0}
 Spectral radius of generalized-alpha.
 
int output_interval {0}
 Interval of writing output.
 
bool sim_steady_initial {0}
 Start from steady solution.
 
bool output_variable_based
 Output variable based instead of vessel based.
 
bool output_mean_only {false}
 Output only the mean value.
 
bool output_derivative {false}
 Output derivatives.
 
bool output_all_cycles {false}
 Output all cardiac cycles.
 
bool sim_coupled
 Running 0D simulation coupled with external solver.
 
double sim_external_step_size {0.0}
 

Detailed Description

Simulation parameters.

Member Data Documentation

◆ output_all_cycles

bool SimulationParameters::output_all_cycles {false}

Output all cardiac cycles.

◆ output_derivative

bool SimulationParameters::output_derivative {false}

Output derivatives.

◆ output_interval

int SimulationParameters::output_interval {0}

Interval of writing output.

◆ output_mean_only

bool SimulationParameters::output_mean_only {false}

Output only the mean value.

◆ output_variable_based

bool SimulationParameters::output_variable_based
Initial value:
{
false}

Output variable based instead of vessel based.

◆ sim_abs_tol

double SimulationParameters::sim_abs_tol {0.0}

Absolute tolerance for simulation.

◆ sim_coupled

bool SimulationParameters::sim_coupled
Initial value:
{
false}

Running 0D simulation coupled with external solver.

◆ sim_cycle_to_cycle_error

double SimulationParameters::sim_cycle_to_cycle_error {0}

Cycle-to-cycle error.

◆ sim_external_step_size

double SimulationParameters::sim_external_step_size {0.0}

Step size of external solver if running coupled

◆ sim_nliter

int SimulationParameters::sim_nliter {0}

Maximum number of non-linear iterations in time integration

◆ sim_num_cycles

int SimulationParameters::sim_num_cycles {0}

Number of cardiac cycles to simulate.

◆ sim_num_time_steps

int SimulationParameters::sim_num_time_steps {0}

Total number of time steps.

◆ sim_pts_per_cycle

int SimulationParameters::sim_pts_per_cycle {0}

Number of time steps per cardiac cycle.

◆ sim_rho_infty

double SimulationParameters::sim_rho_infty {0.0}

Spectral radius of generalized-alpha.

◆ sim_steady_initial

bool SimulationParameters::sim_steady_initial {0}

Start from steady solution.

◆ sim_time_step_size

double SimulationParameters::sim_time_step_size {0.0}

Simulation time step size.

◆ use_cycle_to_cycle_error

bool SimulationParameters::use_cycle_to_cycle_error
Initial value:
{
false}

If model does not have RCR boundary conditions, simulate model to convergence (based on cycle-to-cycle error of last two cardiac cycles); if it does, update number of cardiac cycles to simulate to be value estimated from equation 21 of Pfaller 2021


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