]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Distribute constraints
authorMartin Kronbichler <kronbichler@lnm.mw.tum.de>
Wed, 23 Nov 2016 17:13:45 +0000 (18:13 +0100)
committerMartin Kronbichler <kronbichler@lnm.mw.tum.de>
Wed, 23 Nov 2016 17:13:45 +0000 (18:13 +0100)
examples/step-37/step-37.cc

index 061eab33746298053dd54166091b46afb6806c64..4351caa03bcc30ee6d2312f5d94de3b98ba6dc37 100644 (file)
@@ -1096,6 +1096,8 @@ namespace Step37
     cg.solve (system_matrix, solution, system_rhs,
               preconditioner);
 
+    constraints.distribute(solution);
+
     pcout << "Time solve ("
           << solver_control.last_step()
           << " iterations)  (CPU/wall) " << time() << "s/"

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.