]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Weed out a few header files that we no longer need. A couple of comments.
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Sun, 12 Apr 2009 04:46:48 +0000 (04:46 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Sun, 12 Apr 2009 04:46:48 +0000 (04:46 +0000)
git-svn-id: https://svn.dealii.org/trunk@18596 0785d39b-7218-0410-832d-ea1e28bc413d

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

index 2098c910908266a5f6798923ed96290f72d58d37..b60f78c57a1e9e34ff62f8ffd8e5a5e8819f109b 100644 (file)
 //
 //----------------------------  step-34.cc  ---------------------------
 
+
+                                // @sect3{Include files}
+
+                                // The program starts with including a bunch
+                                // of include files that we will use in the
+                                // various parts of the program. Most of them
+                                // have been discussed in previous tutorials
+                                // already:
 #include <base/smartpointer.h>
 #include <base/convergence_table.h>
 #include <base/quadrature_lib.h>
 #include <base/quadrature_selector.h>
-#include <base/table.h>
 #include <base/parsed_function.h>
 #include <base/utilities.h>
 
 #include <lac/full_matrix.h>
-#include <lac/precondition.h>
-#include <lac/solver_cg.h>
 #include <lac/vector.h>
 #include <lac/sparse_direct.h>
-#include <lac/lapack_full_matrix.h>
-#include <lac/matrix_lib.h>
 
 #include <grid/tria.h>
 #include <grid/tria_iterator.h>
 #include <grid/grid_out.h>
 #include <grid/tria_boundary_lib.h>
 
+#include <dofs/dof_handler.h>
 #include <dofs/dof_accessor.h>
 #include <dofs/dof_tools.h>
 
-#include <fe/fe_dgp.h>
-#include <fe/fe_system.h>
-#include <fe/fe_tools.h>
+#include <fe/fe_q.h>
 #include <fe/fe_values.h>
 #include <fe/mapping_q1.h>
 
 #include <numerics/data_out.h>
 #include <numerics/vectors.h>
 
+                                // And here are a few C++ standard header
+                                // files that we will need:
 #include <cmath>
 #include <iostream>
 #include <fstream>
-#include <math.h>
 #include <string>
 
-
+                                // The last part of this preamble is to
+                                // import everything in the dealii namespace
+                                // into the global one for ease of use:
 using namespace dealii;
 
 
+                                // @sect3{Single and double layer operator kernels}
+
     // The following two functions are the actual calculations of the
     // single and double layer potential kernels, that is G and Grad
     // G. They are well defined only if the vector $R = y-x$ is

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.