TriaAccessor (Triangulation<dim> *parent = 0,
const int level = -1,
const int index = -1,
- const void * = 0) :
+ const AccessorData * = 0) :
present_level (level),
present_index (index),
tria (parent) {};
/**
- * Common template for line, quad, hex.
+ * Common template for line, quad, hex accessors.
* According to #celldim# objects of this class represent lines,
- quadrilaterals, or hexahedra in #dim# space dimensions.
+ * quadrilaterals, or hexahedra in #dim# space dimensions. Concrete implementations
+ * are done for specialized #celldim# template parameter. For easier access,
+ * we nevertheless document all functions of the specialized classes here as
+ * well. However, they are not implemented.
+ *
* @author Wolfgang Bangerth, Guido Kanschat, 1999
*/
template<int celldim, int dim>
TriaObjectAccessor (Triangulation<dim> *parent = 0,
const int level = -1,
const int index = -1,
- const void *local_data = 0) :
+ const AccessorData *local_data = 0) :
TriaAccessor<dim> (parent, level, index, local_data) {};
/**
template <int anydim, typename AnyAccessor> friend class TriaRawIterator;
};
+
+
/**
- * Closure class.
+ * Closure class to stop induction of classes.
*/
template<int dim>
class TriaObjectAccessor<0, dim> : public TriaAccessor<dim>
TriaObjectAccessor (Triangulation<dim> *parent = 0,
const int level = -1,
const int index = -1,
- const void *local_data = 0) :
+ const AccessorData *local_data = 0) :
TriaAccessor<dim> (parent, level, index, local_data) {};
/**
template <int anydim, typename AnyAccessor> friend class TriaRawIterator;
};
+
+
/**
* Accessor to dereference the data of quads. This accessor is used to
* point to quads in #dim# space dimensions (only #dim>=2# seems reasonable
TriaObjectAccessor (Triangulation<dim> *parent = 0,
const int level = -1,
const int index = -1,
- const void *local_data = 0) :
+ const AccessorData *local_data = 0) :
TriaAccessor<dim> (parent, level, index, local_data) {};
/**
TriaObjectAccessor (Triangulation<dim> *parent = 0,
const int level = -1,
const int index = -1,
- const void *local_data = 0) :
+ const AccessorData *local_data = 0) :
TriaAccessor<dim> (parent, level, index, local_data) {};
/**
TriaSubstructAccessor (Triangulation<1> *tria,
const int level,
const int index,
- const void *local_data) :
+ const AccessorData *local_data) :
TriaObjectAccessor<1, 1> (tria,level,index,local_data) {};
// do this here, since this way the
TriaSubstructAccessor (Triangulation<2> *tria,
const int level,
const int index,
- const void *local_data) :
+ const AccessorData *local_data) :
TriaObjectAccessor<2, 2> (tria,level,index,local_data) {};
// do this here, since this way the
TriaSubstructAccessor (Triangulation<3> *tria,
const int level,
const int index,
- const void *local_data) :
+ const AccessorData *local_data) :
TriaObjectAccessor<3, 3> (tria,level,index,local_data) {};
// do this here, since this way the
CellAccessor (Triangulation<dim> *parent = 0,
const int level = -1,
const int index = -1,
- const void *local_data = 0) :
+ const AccessorData *local_data = 0) :
TriaSubstructAccessor<dim> (parent, level, index, local_data) {};
/**