-
Notifications
You must be signed in to change notification settings - Fork 61
Templated viscous stress functions + linear shape function fix #640
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
Open
dseyler
wants to merge
47
commits into
SimVascular:main
Choose a base branch
from
dseyler:perf/visc-stress-templated
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
47 commits
Select commit
Hold shift + click to select a range
73a85d6
Add a fixed-size fast path to double_dot_product
dseyler 9ee0f62
Updated documentation for double dot product
dseyler 6edb73d
Compute dyadic product with eigen
dseyler 85d72ec
Updated documentation and removed references to Fortran
dseyler 1e770a1
Compute fixed-size tensor products with Eigen instead of nested loops
dseyler c3b3303
Templated viscous stress functions on nsd and implemented fixed-size …
dseyler 4915b39
Updated documentation
dseyler 1c22dad
Trimmed comments from viscous stress functions
dseyler f2f6198
trim comments and assume 27-node element bound rather than checking p…
dseyler 2f45845
Polished documentations, variable names, and types
dseyler 83a4ad2
Removed column hoisting, which had no impact on runtime
dseyler 42a5f4a
Dispatch by nsd within compute_visc_stress_and_tangent
dseyler 990ccb5
Reuse viscosity across gauss points for linear elements. lShpF correc…
dseyler f0e2ac0
Reverted minor optimizations that made code less readable
dseyler 2b71444
Merge remote-tracking branch 'origin/main' into perf/visc-stress-temp…
dseyler 2db0a06
Merge branch 'main' into perf/visc-stress-templated
aabrown100-git 8e25ed2
Declare viscous buffers as statics. Moved viscosity models into anony…
dseyler b71a6c2
merge remote-tracking branch 'fork/perf/visc-stress-templated' into p…
dseyler 9104cea
Merge remote-tracking branch 'origin/main' into perf/visc-stress-temp…
dseyler 952b7fc
recompute_visc flag checked in struct / ustruct instead of passed int…
dseyler f59e22f
Merge branch 'perf/fixed-size-tensor-ops' into perf/visc-stress-templ…
dseyler 1ecce85
Added nsd-templated compute_pk2cc overloads taking Eigen matrices
dseyler fc4511a
Keep F, vx, S0, Dm, P and Svis as fixed-size Eigen matrices
dseyler 6f2ab9d
Merge remote-tracking branch 'origin/main' into perf/visc-stress-temp…
dseyler 368df7c
Fixed typos
dseyler 8ea22ae
max number of nodes = 27 defined in consts.h
dseyler 8dc84f5
Consolidate Matrix aliases into mat_fun
dseyler c6d3727
refactor Bm as per-node Eigen blocks
dseyler 0cbfa49
Hoisted and collapsed geometric stiffness computation with Eigen and …
dseyler 3084c8a
Removed unused locals in ustruct and collapsed more arithmetic with e…
dseyler f8a9e76
Collapse rMNqx and rMNwx with Eigen
dseyler 0c401dd
Collapsed interpolated quantitied and gradients for readability using…
dseyler d424f50
condensed strain displacmeent computation
dseyler cc08b5e
Implemented eigen view helper in viscosity models
dseyler d2590a6
add compound assignments for consistency
dseyler a22846f
reverted two argument f + s to fl for fiber matrix
dseyler 3c04e25
removed dead locals and bare declarations
dseyler ae0043b
aligned compute_pk2cc nsd branches for consistency
dseyler a061129
Added comments to dyadic_product, eigen_view, and Kvis buffers
dseyler 793c716
Removed dead locals and moved declarations closer to use
dseyler 28091da
Organized prestress matrix to show voigt symmetry
dseyler 424ea14
Refactored viscosity to simplify call site and hide Kvis_u, Kvis_v re…
dseyler d55b935
Moved Eigen declarations closer to use
dseyler 66720df
Hoisted Fiber matrix construction out of gauss loop and cleaned up so…
dseyler 48ed4b7
Remove dead mat_fun functions
dseyler 888f1a5
Cleaned up comments and out-of-scope edits
dseyler 43f93a9
Addressed review comments (constexpr, docs, mutable eigen view)
dseyler File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Minor: I suggest the more explicit name
eigen_view_mutable.