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;
* @author Wolfgang Bangerth, 1998, 1999
*/
template <int dim>
-class ZeroFunction : public Function<dim> {
+class ZeroFunction : public Function<dim>
+{
public:
/**
* Constructor. The number of
* @author Wolfgang Bangerth, 1998, 1999
*/
template <int dim>
-class ConstantFunction : public ZeroFunction<dim> {
+class ConstantFunction : public ZeroFunction<dim>
+{
public:
/**
* Constructor; takes the constant function
#include <base/function.h>
+
+
/**
* d-quadratic pillow on the unit hypercube.
*
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
};
+
/**
* Singularity on the L-shaped domain in 2D.
* @author Guido Kanschat, 1999
const unsigned int component = 0) const;
};
+
+
/**
* Singularity on the slit domain in 2D.
* @author Guido Kanschat, 1999
* <LI> #deallog.pop()# when leaving that stage entered with #push#.
* </OL>
*
- * @author Guido Kanschat, 1999
+ * @author Guido Kanschat, Wolfgang Bangerth, 1999
*/
class LogStream
{
* Flag for printing execution time.
*/
bool print_utime;
+
public:
/**
* Standard constructor, since we
*/
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 &