-
Notifications
You must be signed in to change notification settings - Fork 286
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
VariableGroup DofMap optimizations #2
Comments
For the important practical case of many variables in a system all of the same FEType, I'm preparing a pull request that implement the PETSc BAIJ (blocked) format. It is actually trivially easy. For one particular application where I have 5 linear lagrange variables in a single system, peak memory usage decreased from XXX MB to 541.6 MB. I have not benchmarked the speedup yet. Also, I'll add the MatSetValuesBlocked() calls later, which should really help matrix insertion time. @friedmud, @jwpeterson - I assume this would be of interest to you guys? |
Make that "For one particular application where I have 5 linear lagrange variables in a single system, peak memory usage decreased from 759.8 MB to 541.6 MB." This is because less integer indexing is required to store the sparse matrix graph. |
Yes! Very much so Sent from my iPhone On Apr 15, 2013, at 2:35 PM, "Benjamin S. Kirk" notifications@github.com For the important practical case of many variables in a system all of the For one particular application where I have 5 linear lagrange variables in I have not benchmarked the speedup yet. Also, I'll add the MatSetValuesBlocked() calls later, which should really @friedmud https://github.com/friedmud, — |
# This is the 1st commit message: New InterMeshProjection class to handle arbitrary projections between meshes. 1) InterMeshProjection objects will take in a to and from system references, and project vectors between them. # The commit message libMesh#2 will be skipped: # Tabs changed to spaces.
Now that VariableGroups work, start optimizing things like SparsityPattern generation, dof_indices, etc...
The text was updated successfully, but these errors were encountered: