The equations for the open loop coronary block were missing a few terms relating to the initial condition. While fixing this, I also noticed that the equation for the steady state initial condition was wrong.
Release Notes
Added new functions Block::setup_initial_state_dependent_params and Model::setup_initial_state_dependent_parameters to set up block-specific parameters that depend on the initial state vector
Added new terms to the OpenLoopCoronary equations to account for the initial condition.
Fixed the steady state equations for OpenLoopCoronaryBC
Miscellaneous: Minor edits to the WindkesselBC documentation
Miscellaneous: Allow a user to run the solver without specifying the name of the output. Default output file will be written with name output.csv. This is already a feature when running using the Python API. Just added it to the CMake build executable.
Documentation
Updated docs to add new equations for OpenLoopCoronaryBC
Current situation
Closes #107
The equations for the open loop coronary block were missing a few terms relating to the initial condition. While fixing this, I also noticed that the equation for the steady state initial condition was wrong.
Release Notes
Block::setup_initial_state_dependent_params
andModel::setup_initial_state_dependent_parameters
to set up block-specific parameters that depend on the initial state vectoroutput.csv
. This is already a feature when running using the Python API. Just added it to the CMake build executable.Documentation
Testing
Tests passing.
Code of Conduct & Contributing Guidelines