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

CG and BICG implementation for all equations #98

Merged
merged 6 commits into from
Sep 13, 2023
Merged

CG and BICG implementation for all equations #98

merged 6 commits into from
Sep 13, 2023

Conversation

MatteoSalvador
Copy link
Collaborator

This MR solves issue #90, where I noticed that CG and BICG were not implemented for CEP.
I translated the corresponding Fortran code so that CG and BICG are now available for all equations and physics.
I added 4 test cases from 3D CEP to test the different linear solvers (CG, BICG, GMRES), cardiac cells (epicardium, myocardium, endocardium) and ionic models (AP, BO, TTP).
@ktbolt and @mrp089, I am ready for your review!

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.

I reviewed the testing, see my comments. @ktbolt, I'll leave the changes in Code/Source/svFSILS for you.

tests/test_integration.py Show resolved Hide resolved
tests/test_integration.py Outdated Show resolved Hide resolved
@MatteoSalvador
Copy link
Collaborator Author

I have completed all the tasks for the test cases @mrp089!
@ktbolt let me know if there are any issues with the code.

tests/test_integration.py Outdated Show resolved Hide resolved
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.

Perfect!!

Copy link
Collaborator

@ktbolt ktbolt left a comment

Choose a reason for hiding this comment

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

@MatteoSalvador Looks good!

@ktbolt ktbolt merged commit 1d7523a into SimVascular:main Sep 13, 2023
3 checks passed
mrp089 referenced this pull request in mrp089/svFSIplus_old Nov 30, 2023
* CG for vectors

* BICG for vectors

* Add new tests for 3D CEP: (CG, BICG, GMRES), (epi, endo, myo), (AP, BO, TTP)

* Remove ECGs + typo

* Relative errors for ECGs + error message
mrp089 referenced this pull request in mrp089/svFSIplus_old Nov 30, 2023
* CG for vectors

* BICG for vectors

* Add new tests for 3D CEP: (CG, BICG, GMRES), (epi, endo, myo), (AP, BO, TTP)

* Remove ECGs + typo

* Relative errors for ECGs + error message
mrp089 referenced this pull request in mrp089/svFSIplus_old Nov 30, 2023
* CG for vectors

* BICG for vectors

* Add new tests for 3D CEP: (CG, BICG, GMRES), (epi, endo, myo), (AP, BO, TTP)

* Remove ECGs + typo

* Relative errors for ECGs + error message
mrp089 referenced this pull request in mrp089/svFSIplus_old Nov 30, 2023
* CG for vectors

* BICG for vectors

* Add new tests for 3D CEP: (CG, BICG, GMRES), (epi, endo, myo), (AP, BO, TTP)

* Remove ECGs + typo

* Relative errors for ECGs + error message
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