]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Reformat.
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Thu, 30 Mar 2000 13:19:08 +0000 (13:19 +0000)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Thu, 30 Mar 2000 13:19:08 +0000 (13:19 +0000)
git-svn-id: https://svn.dealii.org/trunk@2647 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/base/include/base/function.h
deal.II/base/include/base/function_lib.h
deal.II/base/include/base/function_time.h
deal.II/base/include/base/job_identifier.h
deal.II/base/include/base/logstream.h

index d9e0f3f7eb6e7e0fab8fff780a83aed6ff003c1b..f15883c6f7c91fd196742fc5aed82c3919714ffc 100644 (file)
@@ -225,27 +225,31 @@ class Function : public FunctionTime,
                                       vector<vector<Tensor<1,dim> > > &gradients) const;
 
                                     /**
-                                     * Compute the Laplacian of a given component at point #p#.
+                                     * Compute the Laplacian of a
+                                     * given component at point #p#.
                                      */
     virtual double laplacian (const Point<dim>   &p,
                              const unsigned int  component = 0) const;
 
                                     /**
-                                     * Compute the Laplacian of all components at point #p#
-                                     * and store them in #values#.
+                                     * Compute the Laplacian of all
+                                     * components at point #p# and
+                                     * store them in #values#.
                                      */
     virtual void vector_laplacian (const Point<dim>   &p,
                                     Vector<double>     &values) const;
     
                                     /**
-                                     * Compute the Laplacian of one component at a set of points.
+                                     * Compute the Laplacian of one
+                                     * component at a set of points.
                                      */
     virtual void laplacian_list (const vector<Point<dim> > &points,
                                 vector<double>            &values,
                                 const unsigned int         component = 0) const;
 
                                     /**
-                                     * Compute the Laplacians of all components at a set of points.
+                                     * Compute the Laplacians of all
+                                     * components at a set of points.
                                      */
     virtual void vector_laplacian_list (const vector<Point<dim> > &points,
                                        vector<Vector<double> >   &values) const;
@@ -284,7 +288,8 @@ class Function : public FunctionTime,
  * @author Wolfgang Bangerth, 1998, 1999
  */
 template <int dim>
-class ZeroFunction : public Function<dim> {
+class ZeroFunction : public Function<dim>
+{
   public:
                                     /**
                                      * Constructor. The number of
@@ -409,7 +414,8 @@ class ZeroFunction : public Function<dim> {
  * @author Wolfgang Bangerth, 1998, 1999
  */
 template <int dim>
-class ConstantFunction : public ZeroFunction<dim> {
+class ConstantFunction : public ZeroFunction<dim>
+{
   public:
                                     /**
                                      * Constructor; takes the constant function
index c60b0fa87132e6309372c35f21e9009581cf66a5..7e5941e80fb92738820d1707141fa70f1606533c 100644 (file)
@@ -16,6 +16,8 @@
 
 #include <base/function.h>
 
+
+
 /**
  * d-quadratic pillow on the unit hypercube.
  *
@@ -71,6 +73,8 @@ class PillowFunction : public Function<dim>
                        const unsigned int         component = 0) const;
 };
 
+
+
 /**
  * Cosine-shaped pillow function.
  * This is another function with zero boundary values on $[-1,1]^d$. In the interior
@@ -122,6 +126,7 @@ class CosineFunction : public Function<dim>
 };
 
 
+
 /**
  * Singularity on the L-shaped domain in 2D.
  * @author Guido Kanschat, 1999
@@ -169,6 +174,8 @@ class LSingularityFunction : public Function<2>
                        const unsigned int         component = 0) const;
 };
 
+
+
 /**
  * Singularity on the slit domain in 2D.
  * @author Guido Kanschat, 1999
index 9f8273802e23db8ccecf9c7285c2ea3c6a532530..8a8e8b13bab2369058cb8bb23fb2f1f62ad44a98 100644 (file)
@@ -57,7 +57,8 @@
  *
  *  @author Wolfgang Bangerth, Guido Kanschat, 1998, 1999
  */
-class FunctionTime {
+class FunctionTime
+{
   public:
                                     /**
                                      * Constructor. May take an initial vakue
@@ -95,6 +96,8 @@ class FunctionTime {
     double time;
 };
 
+
+
 /*------------------------------ Inline functions ------------------------------*/
 
 inline double
@@ -103,5 +106,6 @@ FunctionTime::get_time () const
   return time;
 };
 
+
 #endif
 
index a8563561816a07718f1fd265e5da90302eddc412..3aa60ce7a082b24496d71d838c66ff96d791b90c 100644 (file)
  */
 class JobIdentifier
 {
-public:
-  JobIdentifier();
-  ~JobIdentifier();
-  
-  static const char* program_id();
-  const string operator () ()const;
-private:
-  string id;
+  public:
+    JobIdentifier();
+    ~JobIdentifier();
+    
+    static const char* program_id();
+    const string operator () ()const;
+  private:
+    string id;
 };
 
+
 /*------------------------------ Inline functions ------------------------------*/
 
 extern JobIdentifier dealjobid;
index 2d887c41a0a11d692b1cb279e3e07b5d3afa3b75..7b4ce1a9ad4c4dd4935a6929237b49ff25073549 100644 (file)
@@ -42,7 +42,7 @@
  * <LI> #deallog.pop()# when leaving that stage entered with #push#.
  * </OL>
  *
- * @author Guido Kanschat, 1999
+ * @author Guido Kanschat, Wolfgang Bangerth, 1999
  */
 class LogStream
 {
@@ -107,6 +107,7 @@ class LogStream
                                      * Flag for printing execution time.
                                      */
     bool print_utime;
+
   public:
                                     /**
                                      * Standard constructor, since we
@@ -222,22 +223,19 @@ class LogStream
                                      */
     DeclException0 (ExcNoFileStreamGiven);
 
-private:
+  private:
                                      /**
                                      * Print head of line. This prints
                                      * optional time information and
                                      * the contents of the prefix stack.
                                      */
-  void print_line_head();
+    void print_line_head();
 };
 
 
 /* ----------------------------- Inline functions and templates ---------------- */
 
 
-// sorry for the weird following declaration spanning 5 lines, but
-// doc++ gets confused if we be more compact :-(
-
 template <class T>
 inline
 LogStream &

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.