Skip to content

Fix the assembly performance#828

Merged
adtzlr merged 1 commit into
mainfrom
fix-assembly-performance
Aug 16, 2024
Merged

Fix the assembly performance#828
adtzlr merged 1 commit into
mainfrom
fix-assembly-performance

Conversation

@adtzlr

@adtzlr adtzlr commented Aug 16, 2024

Copy link
Copy Markdown
Owner

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
@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