File tree Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -799,12 +799,11 @@ namespace aspect
799799 if (parameters.include_melt_transport )
800800 melt_handler->add_current_constraints (new_current_constraints);
801801
802- // Finally update and let the prescribed solution plugins constrain parts of the solution
802+ // Update and let the prescribed solution plugins constrain parts of the solution:
803803 prescribed_solution_manager.update ();
804804 prescribed_solution_manager.constrain_solution (new_current_constraints);
805805
806- // let plugins add more constraints if they so choose, then close the
807- // constraints object
806+ // Finally, let plugins add more constraints if they so choose:
808807 signals.post_constraints_creation (*this , new_current_constraints);
809808
810809 new_current_constraints.close ();
Original file line number Diff line number Diff line change @@ -1610,13 +1610,18 @@ namespace aspect
16101610 sim.compute_initial_velocity_boundary_constraints (constraints_v);
16111611 sim.compute_current_velocity_boundary_constraints (constraints_v);
16121612
1613-
16141613 VectorTools::compute_no_normal_flux_constraints (dof_handler_v,
16151614 /* first_vector_component= */
16161615 0 ,
16171616 this ->get_boundary_velocity_manager ().get_tangential_boundary_velocity_indicators (),
16181617 constraints_v,
16191618 this ->get_mapping ());
1619+
1620+ sim.prescribed_solution_manager .constrain_solution (constraints_v);
1621+
1622+ // Let plugins add more constraints if they so choose:
1623+ sim.signals .post_constraints_creation (*this , constraints_v);
1624+
16201625 constraints_v.close ();
16211626 }
16221627
You can’t perform that action at this time.
0 commit comments