Skip to content
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

Precomputed velocities #202 #208

Merged
merged 12 commits into from
Apr 2, 2024

Conversation

zasexton
Copy link
Contributor

Current situation

Addressing issue #202

Testing

New testing code has been mentioned in #202

Code of Conduct & Contributing Guidelines

@zasexton
Copy link
Contributor Author

For some reason there are test integration errors for ubuntu 22.04. These errors are not a result of my code and seem to be from XML byte errors when reading new Unstructured meshes that have been added to svFSIplus.

@zasexton
Copy link
Contributor Author

Will need some help determining how to resolve the ubuntu-22.04 integration errors.

@MatteoSalvador MatteoSalvador self-requested a review March 28, 2024 15:09
@MatteoSalvador
Copy link
Collaborator

@zasexton I have changed the workflow for tests on Ubuntu to a Docker-based framework. If you pull the current SimVascular/svFSIplus we should be able to review/merge this PR.

@zasexton
Copy link
Contributor Author

@MatteoSalvador I've pulled the current main branch of svFSIplus.

Copy link

codecov bot commented Mar 28, 2024

Codecov Report

Attention: Patch coverage is 90.99099% with 20 lines in your changes are missing coverage. Please review.

Project coverage is 63.12%. Comparing base (6dd920b) to head (8f17cd1).

Files Patch % Lines
Code/Source/svFSI/main.cpp 86.79% 7 Missing ⚠️
Code/Source/svFSI/vtk_xml_parser.cpp 87.17% 5 Missing ⚠️
Code/Source/svFSI/all_fun.cpp 89.47% 4 Missing ⚠️
Code/Source/svFSI/initialize.cpp 88.23% 2 Missing ⚠️
Code/Source/svFSI/vtk_xml.cpp 92.00% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #208      +/-   ##
==========================================
+ Coverage   62.91%   63.12%   +0.21%     
==========================================
  Files         105      105              
  Lines       27214    27424     +210     
==========================================
+ Hits        17122    17312     +190     
- Misses      10092    10112      +20     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@MatteoSalvador MatteoSalvador marked this pull request as ready for review March 28, 2024 17:39
Copy link
Collaborator

@MatteoSalvador MatteoSalvador left a comment

Choose a reason for hiding this comment

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

Fantastic job @zasexton! I really like the way you handled issue #202, code structure/documentation and comments for newly added features. This is another good example after @aabrown100-git PR on 3D-0D coupling of how things should be done within svFSIplus. To really incorporate all the best practices, I kindly ask you to add a simple test for the new features, so that we also get proper code coverage, and address the minor comments I left. Then, I will be more than happy to merge the PR.

@ktbolt
Copy link
Collaborator

ktbolt commented Mar 28, 2024

All of this new code from lines 248-292 should be put into a function.

…tion, removing commented lines for testing in heatf.cpp, fixing spelling mistakes in ComMod.h (SimVascular#202)
@zasexton
Copy link
Contributor Author

Fantastic job @zasexton! I really like the way you handled issue #202, code structure/documentation and comments for newly added features. This is another good example after @aabrown100-git PR on 3D-0D coupling of how things should be done within svFSIplus. To really incorporate all the best practices, I kindly ask you to add a simple test for the new features, so that we also get proper code coverage, and address the minor comments I left. Then, I will be more than happy to merge the PR.

Adding a test case for code coverage in zasexton:precomputed-velocities-#202 as cases/fluid/precomputed_dye_AD

…nd vtk_xml_parser.cpp, encapsulated precomputed linear interpolation time advancement in a function to remove from main.cpp (SimVascular#202)
@zasexton
Copy link
Contributor Author

All of this new code from lines 248-292 should be put into a function.

I have encapsulated the precomputed time advancement interpolation scheme within the new function iterate_precomputed_time and removed that code block from the iterate_solution function.

@zasexton
Copy link
Contributor Author

zasexton commented Apr 2, 2024

@MatteoSalvador I think this pull request should be fine to merge unless there are other comments that need to be resolved

@MatteoSalvador
Copy link
Collaborator

Thank @zasexton! It looks good to me now

@MatteoSalvador MatteoSalvador merged commit 318e3a6 into SimVascular:main Apr 2, 2024
7 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