-
Notifications
You must be signed in to change notification settings - Fork 35
Valve status output #203
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
Valve status output #203
Conversation
…nh block, changed test cases to include new valve outputs
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.
Thanks, @KatrinKoesler, very helpful! A few comments in the review
|
Looks great, @KatrinKoesler! If you change the three small things in the documentation, it's good to merge. |
src/model/ValveTanh.h
Outdated
| * 0 & 0 & 0 & 0 | ||
| * \mathbf{E}^{e}=\left[\begin{array}{ccccc} | ||
| * 0 & 0 & 0 & 0 & 0 \\ | ||
| * 0 & 0 & 0 & 0 & 0 \\ |
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.
\mathbf{E}^{e}=\mathbf{0}
src/model/ValveTanh.h
Outdated
| * \left[\begin{array}{ccccc} | ||
| * 0 & 0 & 0 & 0 & 0\\ | ||
| * 0 & 0 & 0 & 0 & 0\\ | ||
| * 0 & 0 & 0 & 0 & 0 |
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.
\mathbf{0}
src/model/ValveTanh.h
Outdated
| * \mathbf{F}^{e}=\left[\begin{array}{ccccc} | ||
| * 1 & -(R_{max}+R_{min})/2.0 & -1 & 0 & 0\\ | ||
| * 0 & 1 & 0 & -1 & 0\\ | ||
| * 0 & 0 & 0 & 7 & 1 |
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.
7?
Added valve status as output
Current situation
Currently, there is no variable indicating whether a valve is open or closed in the output of the valve block. This would be an useful information to have when testing cardiovascular networks that include chambers and valves.
Release Notes
Testing
All tests run
Code of Conduct & Contributing Guidelines