]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Changed the description of the initialization of the pressure space
authorAbner J. Salgado <asalgad1@utk.edu>
Tue, 6 Oct 2009 20:21:07 +0000 (20:21 +0000)
committerAbner J. Salgado <asalgad1@utk.edu>
Tue, 6 Oct 2009 20:21:07 +0000 (20:21 +0000)
matrices. We do not have homogeneous Neumann bc's anymore, and so that
comment was not needed

git-svn-id: https://svn.dealii.org/trunk@19735 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/examples/step-35/step-35.cc

index eb0e107c6255134c597d38cf883cf6cb141356d2..9792ee2ae5f03eb26e0be50e514d267ccf9bc4d6 100644 (file)
@@ -874,23 +874,9 @@ NavierStokesProjection<dim>::initialize_velocity_matrices()
                                        vel_Laplace);
 }
 
-                                // For the initialization of the matrices
-                                // that act on the pressure space it is worth
-                                // noticing one small detail. Since the
-                                // projection step involves the solution of a
-                                // Poisson equation with homogeneous Neumann
-                                // boundary conditions, we need somehow to
-                                // regularize this problem, that is to pick a
-                                // solution.  The way we do it is by setting
-                                // the value of the pressure solution at the
-                                // first node (wherever it is) to zero. This
-                                // regularizes the problem and does not
-                                // increase the number of entries in the
-                                // sparsity pattern we use as the solution
-                                // shown in step-11 would do. In the end it
-                                // achieves the solution: it makes sure that
-                                // the pressure is not left undetermined up
-                                // to a constant.
+                                // The initialization of the matrices
+                                // that act on the pressure space is similar
+         // to the ones that act on the velocity space.
 template <int dim>
 void
 NavierStokesProjection<dim>::initialize_pressure_matrices()

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.