-
Notifications
You must be signed in to change notification settings - Fork 36
Add hyperbolic tangent valve #79
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Updating from Master
mrp089
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice work, @menon-karthik! And thank you for fixing a bunch of unrelated things!
I have a few minor comments. My only concern is if we break something by introducing upstream/downstream vessels.
src/model/ValveTanh.h
Outdated
| * @brief Valve (tanh) block. | ||
| * | ||
| * Models the pressure drop across a diode-like valve, which is implemented as a | ||
| * non-linear hyperbolic-tangent resistor. See \cite pfaller2019importance. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add equation number to (questionable) reference?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.
|
And nice work, @kharold23! Feel free to reply to the comments as well (if you want). |
|
Splendid! |
Closes #76
Added a hyperbolic tangent valve as described in #76.
I also made some other changes along the way:
BlockType,BlockFactory,ClosedLoopCoronaryRightandSimulationParameters(which weren't getting built by Doxygen before).InputParametersfromBlockTypetoParametersSimulationParametersto make it more readable