[cig-commits] commit 2060 by bangerth to /var/svn/dealii/aspect
dealii.demon at gmail.com
dealii.demon at gmail.com
Tue Nov 26 10:56:02 PST 2013
Revision 2060
Fix the same bug again for iterated Stokes that we already had for
Stokes only.
U trunk/aspect/source/simulator/core.cc
http://www.dealii.org/websvn/revision.php?repname=Aspect+Repository&path=%2F&rev=2060&peg=2060
Diff:
Modified: trunk/aspect/source/simulator/core.cc
===================================================================
--- trunk/aspect/source/simulator/core.cc 2013-11-26 18:40:23 UTC (rev 2059)
+++ trunk/aspect/source/simulator/core.cc 2013-11-26 18:55:20 UTC (rev 2060)
@@ -1210,7 +1210,9 @@
{
// rebuild the matrix if it actually depends on the solution
// of the previous iteration.
- if (stokes_matrix_depends_on_solution() == true)
+ if ((stokes_matrix_depends_on_solution() == true)
+ ||
+ (parameters.prescribed_velocity_boundary_indicators.size() > 0))
rebuild_stokes_matrix = rebuild_stokes_preconditioner = true;
assemble_stokes_system();
More information about the CIG-COMMITS
mailing list