]> https://gitweb.dealii.org/ - dealii.git/commit
make_periodicity_constraints: sort dofs when adding equality constraints
authorDenis Davydov <davydden@gmail.com>
Thu, 29 Nov 2018 17:21:25 +0000 (18:21 +0100)
committerMatthias Maier <tamiko@43-1.org>
Wed, 23 Jan 2019 17:05:29 +0000 (11:05 -0600)
commite8ac0660c4bce9d250ee19702d489a2b2ac2f9c2
treea52c0b04f42e1461b43a155d5f7b3026b9f5c25f
parentf9d276bfa894a65125b81e0c4cb7d8cc9b0fef8d
make_periodicity_constraints: sort dofs when adding equality constraints

When we add add equality constraints of the form dof2 = c dof1, we now
ensure that dof2 > dof1. This helps to avoid having inconsistent
equality constraints for different MPI processes.
Unfortunately, we can only do this if both, dof2 and dof1 are not
constrained. Otherwise the order is forced.
source/dofs/dof_tools_constraints.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.