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

Fix the assembly performance #828

Merged
merged 1 commit into from
Aug 16, 2024
Merged

Fix the assembly performance #828

merged 1 commit into from
Aug 16, 2024

Conversation

adtzlr
Copy link
Owner

@adtzlr adtzlr commented Aug 16, 2024

due to non-contiguous region attributes.

import felupe as fem

mesh = fem.Cube(n=21)
region = fem.RegionHexahedron(mesh)
region.dhdX.flags
Out[1]: 
  C_CONTIGUOUS : True
  F_CONTIGUOUS : False
  OWNDATA : True
  WRITEABLE : True
  ALIGNED : True
  WRITEBACKIFCOPY : False

closes #827

due to non-contiguous region attributes
@adtzlr adtzlr added the enhancement New feature or request label Aug 16, 2024
@adtzlr adtzlr self-assigned this Aug 16, 2024
@adtzlr adtzlr merged commit 2f21d67 into main Aug 16, 2024
6 checks passed
@adtzlr adtzlr deleted the fix-assembly-performance branch August 16, 2024 23:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Performance of main (2024-08-17) is worse compared to v8.6.0
1 participant