Skip to content

CRL Vessel#202

Merged
mrp089 merged 17 commits intoSimVascular:masterfrom
rjrios915:CRLVessel
Jan 27, 2026
Merged

CRL Vessel#202
mrp089 merged 17 commits intoSimVascular:masterfrom
rjrios915:CRLVessel

Conversation

@rjrios915
Copy link
Contributor

Added a CRL Vessel Block

Current situation

I added a new blood vessel ordered capacitor, resistor, inductor.

Release Notes

  • Adds a new blood vessel block

Documentation

Added Doxygen for new block.

Testing

Added both analytical and closed loop test validated against previous solutions.

Code of Conduct & Contributing Guidelines

@mrp089 mrp089 self-requested a review November 21, 2025 16:50
Copy link
Member

@mrp089 mrp089 left a comment

Choose a reason for hiding this comment

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

Thanks @rjrios915! Please have a look at the reviews. There are a bunch of changes that shouldn't be in here which make it hard to see the actual novelties of this PR. Mainly, these are:

  • applications: a bunch of formatting changes (that we don't pick up on because clang-format only checks the src folder)
  • unintended changes regarding the cycle length that are likely from incorrectly merging conflicting files from another PR

In the future, when opening a PR, please have a look at the Files changed tab on the GitHub PR. There should be only changes that you intend to make. If you notice any other modified files, reset them with git checkout master <path-to-file>.

Copy link
Member

Choose a reason for hiding this comment

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

this shouldn't be deleted, probably result of a merge conflict

@mrp089 mrp089 mentioned this pull request Nov 25, 2025
1 task
@ncdorn
Copy link
Contributor

ncdorn commented Jan 23, 2026

this should be cleaned up and good to go as well but maybe we merge in #201 and then rebase and merge this. @mrp089 let me know what you think

@mrp089
Copy link
Member

mrp089 commented Jan 23, 2026

@ncdorn, I merged #201. It looks like there are some (easy-to-resolve) conflicts in here. Also, there are still some unintended changes from a prior merge conflict (e.g. deleting closedLoopHeart_singleVessel_mistmatchPeriod.json).

@ncdorn
Copy link
Contributor

ncdorn commented Jan 23, 2026

ok this should be cleaned up and good to go! @mrp089 let me know what you think

@ncdorn
Copy link
Contributor

ncdorn commented Jan 26, 2026

@mrp089 just following up on this

Copy link
Member

@mrp089 mrp089 left a comment

Choose a reason for hiding this comment

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

Did the test case get removed accidentally? I thought there was one earlier.

@ncdorn
Copy link
Contributor

ncdorn commented Jan 26, 2026

I believe the test case file and result was added with #201. However it was not called in list of files in the pytest parametrization. I will add that into the list of files and ensure the test runs. good catch

@ncdorn
Copy link
Contributor

ncdorn commented Jan 26, 2026

It appears that when the reference result was originally computed the config was set up slightly differently. I made changes to the config to match the originally computed, unchanged reference solution however there were very slight differences (~10^-3 relative error) between the original reference and new resultant solution. this was not passing the solver test's tight tolerances so I recomputed the reference solution such that the reference and test result now match exactly. I want to emphasize that there were no major changes to the reference solution, just very small numerical adjustments. @mrp089 let me know what you think of this.

@mrp089 mrp089 merged commit d40189e into SimVascular:master Jan 27, 2026
10 checks passed
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.

3 participants

Comments