* semantic sense, and we generate an exception when such an object is
* actually generated.
*/
- DoFInvalidAccessor(const Triangulation<dim, spacedim> *parent = 0,
- const int level = -1,
- const int index = -1,
- const AccessorData * local_data = 0);
+ DoFInvalidAccessor(const void * parent = 0,
+ const int level = -1,
+ const int index = -1,
+ const AccessorData *local_data = 0);
/**
* Copy constructor. This class is used for iterators that do not make
* semantic sense, and we generate an exception when such an object is
* actually generated.
*/
- InvalidAccessor(const Triangulation<dim, spacedim> *parent = nullptr,
- const int level = -1,
- const int index = -1,
- const AccessorData * local_data = nullptr);
+ InvalidAccessor(const void * parent = nullptr,
+ const int level = -1,
+ const int index = -1,
+ const AccessorData *local_data = nullptr);
/**
* Copy constructor. This class is used for iterators that do not make
* Dummy function to extract lines. Returns a default-constructed line
* iterator.
*/
- typename dealii::internal::TriangulationImplementation::
- Iterators<dim, spacedim>::line_iterator
- line(const unsigned int i) const;
+ void *
+ line(const unsigned int i) const;
/**
* Dummy function to extract quads. Returns a default-constructed quad
* iterator.
*/
- typename dealii::internal::TriangulationImplementation::
- Iterators<dim, spacedim>::quad_iterator
- quad(const unsigned int i) const;
+ void *
+ quad(const unsigned int i) const;
};
/*---------------------- Functions: InvalidAccessor -------------------------*/
template <int structdim, int dim, int spacedim>
-InvalidAccessor<structdim, dim, spacedim>::InvalidAccessor(
- const Triangulation<dim, spacedim> *,
- const int,
- const int,
- const AccessorData *)
+InvalidAccessor<structdim, dim, spacedim>::InvalidAccessor(const void *,
+ const int,
+ const int,
+ const AccessorData *)
{
Assert(false,
ExcMessage("You are attempting an invalid conversion between "
template <int structdim, int dim, int spacedim>
-inline typename dealii::internal::TriangulationImplementation::
- Iterators<dim, spacedim>::line_iterator
- InvalidAccessor<structdim, dim, spacedim>::line(const unsigned int) const
+inline void *
+InvalidAccessor<structdim, dim, spacedim>::line(const unsigned int) const
{
// nothing to do here. we could throw an exception but we can't get here
// without first creating an object which would have already thrown
- return typename dealii::internal::TriangulationImplementation::
- Iterators<dim, spacedim>::line_iterator();
+ return nullptr;
}
template <int structdim, int dim, int spacedim>
-inline typename dealii::internal::TriangulationImplementation::
- Iterators<dim, spacedim>::quad_iterator
- InvalidAccessor<structdim, dim, spacedim>::quad(const unsigned int) const
+inline void *
+InvalidAccessor<structdim, dim, spacedim>::quad(const unsigned int) const
{
// nothing to do here. we could throw an exception but we can't get here
// without first creating an object which would have already thrown
- return typename dealii::internal::TriangulationImplementation::
- Iterators<dim, spacedim>::quad_iterator();
+ return nullptr;
}