]> https://gitweb.dealii.org/ - dealii.git/commit
Do not set active_fe_indices on non-locally owned cells.
authorWolfgang Bangerth <bangerth@colostate.edu>
Sat, 12 Aug 2017 23:57:45 +0000 (17:57 -0600)
committerWolfgang Bangerth <bangerth@colostate.edu>
Sun, 13 Aug 2017 00:17:10 +0000 (18:17 -0600)
commite151be4491e147b912c89b2f9a589500978303a4
treed3c1138f170b04f434e64737d03e1a743da464a0
parent5991755a07d0a263d33086d20085e272ce2180a6
Do not set active_fe_indices on non-locally owned cells.

On the other hand, this piece of code tries to do exactly this: after ghost
exchange, we try to set the active_fe_index on a ghost cell to the value
we received from the proper owner of that cell. We work around this by
avoiding cell->set_active_fe_index() on such cells, and manipulate the
underlying data structure directly.

Because these data structures are private, we can no longer do this in a
segregated function in an anonymous namespace, but need to do this in a
function that lives in the 'Implementation' struct.
source/hp/dof_handler.cc

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.