Skip to content
Discussion options

You must be logged in to vote

We localize things to current_local_solution for you, but the catch is that we have somewhat restrictive defaults regarding what gets localized, in this "algebraic ghosting". Unless you change the settings, each processor gets access to DoF coefficients for side-neighbors of its own elements, but not any other point-neighbors.

The easiest way for you to override that would be by adding a more expansive "ghosting functor" to the algebraic ghosting functors used by the DofMap of the system for which you want more values localized. DofMap::add_algebraic_ghosting_functor() is the method to add a new functor to that set, and you probably want to pass a shared_ptr<GhostPointNeighbors> to it.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@ABallisat
Comment options

Answer selected by jwpeterson
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants