* @author Wolfgang Bangerth, 1998, 2003, Guido Kanschat, 2001
*/
template <int dim>
-class FEValuesBase : protected FEValuesData<dim>, public Subscriptor
+class FEValuesBase : protected FEValuesData<dim>,
+ public Subscriptor
{
public:
/**
class FEValues : public FEValuesBase<dim>
{
public:
+ /**
+ * Dimension in which this object
+ * operates.
+ */
+ static const unsigned int dimension = dim;
+
+ /**
+ * Dimension of the object over
+ * which we integrate. For the
+ * present class, this is equal
+ * to <code>dim</code>.
+ */
+ static const unsigned int integral_dimension = dim;
+
/**
* Constructor. Gets cell
* independent data from mapping
class FEFaceValues : public FEFaceValuesBase<dim>
{
public:
- /**
+ /**
+ * Dimension in which this object
+ * operates.
+ */
+ static const unsigned int dimension = dim;
+
+ /**
+ * Dimension of the object over
+ * which we integrate. For the
+ * present class, this is equal
+ * to <code>dim-1</code>.
+ */
+ static const unsigned int integral_dimension = dim-1;
+
+ /**
* Constructor. Gets cell
* independent data from mapping
* and finite element objects,
class FESubfaceValues : public FEFaceValuesBase<dim>
{
public:
+ /**
+ * Dimension in which this object
+ * operates.
+ */
+ static const unsigned int dimension = dim;
+
+ /**
+ * Dimension of the object over
+ * which we integrate. For the
+ * present class, this is equal
+ * to <code>dim-1</code>.
+ */
+ static const unsigned int integral_dimension = dim-1;
+
/**
* Constructor. Gets cell
* independent data from mapping
/*------------------------------- FEValues -------------------------------*/
+template <int dim>
+const unsigned int FEValues<dim>::dimension;
+
+template <int dim>
+const unsigned int FEValues<dim>::integral_dimension;
+
+
template <int dim>
FEValues<dim>::FEValues (const Mapping<dim> &mapping,
/*------------------------------- FEFaceValues -------------------------------*/
+template <int dim>
+const unsigned int FEFaceValues<dim>::dimension;
+
+template <int dim>
+const unsigned int FEFaceValues<dim>::integral_dimension;
+
template <int dim>
FEFaceValues<dim>::FEFaceValues (const Mapping<dim> &mapping,
/*------------------------------- FESubFaceValues -------------------------------*/
+template <int dim>
+const unsigned int FESubfaceValues<dim>::dimension;
+
+template <int dim>
+const unsigned int FESubfaceValues<dim>::integral_dimension;
+
+
+
template <int dim>
FESubfaceValues<dim>::FESubfaceValues (const Mapping<dim> &mapping,
const FiniteElement<dim> &fe,