Skip to content

Conversation

@mrp089
Copy link
Member

@mrp089 mrp089 commented Mar 26, 2025

Current situation

Closes #151

Release Notes

Adds simple resistance (R), capacitance (C), and inductance (L) blocks.

Documentation

Added Doxygen for all blocks. @menon-karthik I'm not sure if I need to do anything else for the Python visualization tools.

Testing

Added a test case for each R, C, and L based on analytic solutions.

Code of Conduct & Contributing Guidelines

@mrp089 mrp089 requested review from Copilot and menon-karthik March 26, 2025 17:49
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot reviewed 4 out of 24 changed files in this pull request and generated no comments.

Files not reviewed (20)
  • src/model/Block.h: Language not supported
  • src/model/BlockType.h: Language not supported
  • src/model/BloodVessel.h: Language not supported
  • src/model/CMakeLists.txt: Language not supported
  • src/model/Capacitance.cpp: Language not supported
  • src/model/Capacitance.h: Language not supported
  • src/model/Inductance.cpp: Language not supported
  • src/model/Inductance.h: Language not supported
  • src/model/Model.cpp: Language not supported
  • src/model/Model.h: Language not supported
  • src/model/Resistance.cpp: Language not supported
  • src/model/Resistance.h: Language not supported
  • src/solve/csv_writer.cpp: Language not supported
  • tests/cases/dirgraph-results/pulsatileFlow_capacitance_directed_graph.dot: Language not supported
  • tests/cases/dirgraph-results/pulsatileFlow_inductance_directed_graph.dot: Language not supported
  • tests/cases/dirgraph-results/pulsatileFlow_resistance_directed_graph.dot: Language not supported
  • tests/cases/pulsatileFlow_capacitance.json: Language not supported
  • tests/cases/pulsatileFlow_inductance.json: Language not supported
  • tests/cases/pulsatileFlow_resistance.json: Language not supported
  • tests/cases/results/result_pulsatileFlow_capacitance.json: Language not supported

@mrp089
Copy link
Member Author

mrp089 commented Mar 27, 2025

Something is wrong with the test. Looking into it

@mrp089 mrp089 marked this pull request as draft March 27, 2025 18:29
@mrp089
Copy link
Member Author

mrp089 commented Mar 28, 2025

Merging is blocked until #156 is merged. I added a test for the capacitor with (numerically near) zero outflow, which triggered a failure of the current testing code.

@ncdorn
Copy link
Contributor

ncdorn commented Jun 10, 2025

Now that #166 is merged we can move forward on this!

@mrp089
Copy link
Member Author

mrp089 commented Jun 10, 2025

I'll still need to work on this, but I won't get to it before July. I'll close it for now.

@mrp089 mrp089 closed this Jun 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add simple blocks

2 participants