Skip to content

Commit 0aee7a2

Browse files
authored
Merge pull request #6590 from bangerth/doc
Document a piece of code.
2 parents d77679c + bf81412 commit 0aee7a2

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

source/mesh_deformation/interface.cc

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -624,9 +624,15 @@ namespace aspect
624624
this->get_signals().post_compute_no_normal_flux_constraints(sim.triangulation);
625625

626626
// Ask all plugins to add their constraints.
627-
// For the moment add constraints from all plugins into one matrix, then
628-
// merge that matrix with the existing constraints (respecting the existing
629-
// constraints as more important)
627+
// For the moment add constraints from all plugins into one object, then
628+
// merge that object with the existing constraints (respecting the existing
629+
// constraints as more important).
630+
//
631+
// We initialize the constraints object with the locally
632+
// relevant DoF indices as the set of constraints to store (also
633+
// using the locally relevant indices for the "locally owned"
634+
// DoFs). This way, plugins can fill information for all locally
635+
// relevant DoFs and we do not need to communicate.
630636
#if DEAL_II_VERSION_GTE(9,7,0)
631637
AffineConstraints<double> plugin_constraints(mesh_vertex_constraints.get_local_lines(),
632638
mesh_vertex_constraints.get_local_lines());

0 commit comments

Comments
 (0)