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

Improve fluid perf 79 #87

Merged
merged 14 commits into from
Sep 5, 2023
Merged

Conversation

ktbolt
Copy link
Collaborator

@ktbolt ktbolt commented Aug 28, 2023

Here are some changes for improved performance. The main changes are using the Array.rslice() method and C++ arrays instead of Array and Vector objects.

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.

Thanks @ktbolt! Just left a couple of comments.
For the rest, it looks fine to me.

@MatteoSalvador
Copy link
Collaborator

Approved @ktbolt! I think there are a few conflicts in fluid.cpp. After that, we should be ready to merge.

@MatteoSalvador MatteoSalvador merged commit 8c71ad3 into SimVascular:main Sep 5, 2023
3 checks passed
@ktbolt ktbolt deleted the Improve-fluid-perf_79 branch November 16, 2023 17:51
mrp089 referenced this pull request in mrp089/svFSIplus_old Nov 30, 2023
* Replace Array objects with array.

* Replace more Array.

* Replace Array objects with arrays.

* Disable using raw data for arrays in fsils_spar_mul_sv.

* Enable using raw data in fsils_spar_mul_sv.

* Replace the Array3.slice() calls with Array3.rslice().

* Replace slice with rslice.

* Fix problem with using rcol().

* Clean up prototype code.

* Clean up prototype code.

* Remove using raw pointers, doesn't seem to matter much.
mrp089 referenced this pull request in mrp089/svFSIplus_old Nov 30, 2023
* Replace Array objects with array.

* Replace more Array.

* Replace Array objects with arrays.

* Disable using raw data for arrays in fsils_spar_mul_sv.

* Enable using raw data in fsils_spar_mul_sv.

* Replace the Array3.slice() calls with Array3.rslice().

* Replace slice with rslice.

* Fix problem with using rcol().

* Clean up prototype code.

* Clean up prototype code.

* Remove using raw pointers, doesn't seem to matter much.
mrp089 referenced this pull request in mrp089/svFSIplus_old Nov 30, 2023
* Replace Array objects with array.

* Replace more Array.

* Replace Array objects with arrays.

* Disable using raw data for arrays in fsils_spar_mul_sv.

* Enable using raw data in fsils_spar_mul_sv.

* Replace the Array3.slice() calls with Array3.rslice().

* Replace slice with rslice.

* Fix problem with using rcol().

* Clean up prototype code.

* Clean up prototype code.

* Remove using raw pointers, doesn't seem to matter much.
mrp089 referenced this pull request in mrp089/svFSIplus_old Nov 30, 2023
* Replace Array objects with array.

* Replace more Array.

* Replace Array objects with arrays.

* Disable using raw data for arrays in fsils_spar_mul_sv.

* Enable using raw data in fsils_spar_mul_sv.

* Replace the Array3.slice() calls with Array3.rslice().

* Replace slice with rslice.

* Fix problem with using rcol().

* Clean up prototype code.

* Clean up prototype code.

* Remove using raw pointers, doesn't seem to matter much.
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.

2 participants