The Wayback Machine - https://web.archive.org/web/20211015192615/https://github.com/topics/finite-element-methods
Skip to content
#

finite-element-methods

Here are 290 public repositories matching this topic...

michalhabera
michalhabera commented Nov 19, 2020

The actual ghostUpdate is truly needed only in very few places, for most local operations one knows the value for ghosts without communication.

This

u.vector.copy(result=u0.vector)
u0.vector.ghostUpdate(addv=PETSc.InsertMode.INSERT, mode=PETSc.ScatterMode.FORWARD)

could become

with u0.vector.localForm() as loc0, u.vector.localForm() as loc:
    loc.copy(loc0)
``

Improve this page

Add a description, image, and links to the finite-element-methods topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the finite-element-methods topic, visit your repo's landing page and select "manage topics."

Learn more