* function returns an iterator to itself.
*/
typename dealii::internal::DoFHandlerImplementation::
- Iterators<DoFHandler<dim, spacedim>, level_dof_access>::line_iterator
+ Iterators<dim, spacedim, level_dof_access>::line_iterator
line(const unsigned int i) const;
/**
* function returns an iterator to itself.
*/
typename dealii::internal::DoFHandlerImplementation::
- Iterators<DoFHandler<dim, spacedim>, level_dof_access>::quad_iterator
+ Iterators<dim, spacedim, level_dof_access>::quad_iterator
quad(const unsigned int i) const;
/**
* an exception.
*/
typename dealii::internal::DoFHandlerImplementation::
- Iterators<DoFHandler<1, spacedim>, level_dof_access>::line_iterator
+ Iterators<1, spacedim, level_dof_access>::line_iterator
line(const unsigned int i) const;
/**
* an exception.
*/
typename dealii::internal::DoFHandlerImplementation::
- Iterators<DoFHandler<1, spacedim>, level_dof_access>::quad_iterator
+ Iterators<1, spacedim, level_dof_access>::quad_iterator
quad(const unsigned int i) const;
/**
template <int structdim, int dim, int spacedim, bool level_dof_access>
inline typename dealii::internal::DoFHandlerImplementation::
- Iterators<DoFHandler<dim, spacedim>, level_dof_access>::line_iterator
+ Iterators<dim, spacedim, level_dof_access>::line_iterator
DoFAccessor<structdim, dim, spacedim, level_dof_access>::line(
const unsigned int i) const
{
Assert(i == 0,
ExcMessage("You can only ask for line zero if the "
"current object is a line itself."));
- return typename dealii::internal::DoFHandlerImplementation::Iterators<
- DoFHandler<dim, spacedim>,
- level_dof_access>::cell_iterator(&this->get_triangulation(),
- this->level(),
- this->index(),
- &this->get_dof_handler());
+ return typename dealii::internal::DoFHandlerImplementation::
+ Iterators<dim, spacedim, level_dof_access>::cell_iterator(
+ &this->get_triangulation(),
+ this->level(),
+ this->index(),
+ &this->get_dof_handler());
}
// otherwise we need to be in structdim>=2
// checking of 'i' happens in line_index(i)
return typename dealii::internal::DoFHandlerImplementation::
- Iterators<DoFHandler<dim, spacedim>, level_dof_access>::line_iterator(
+ Iterators<dim, spacedim, level_dof_access>::line_iterator(
this->tria,
0, // only sub-objects are allowed, which have no level
this->line_index(i),
template <int structdim, int dim, int spacedim, bool level_dof_access>
inline typename dealii::internal::DoFHandlerImplementation::
- Iterators<DoFHandler<dim, spacedim>, level_dof_access>::quad_iterator
+ Iterators<dim, spacedim, level_dof_access>::quad_iterator
DoFAccessor<structdim, dim, spacedim, level_dof_access>::quad(
const unsigned int i) const
{
Assert(i == 0,
ExcMessage("You can only ask for quad zero if the "
"current object is a quad itself."));
- return typename dealii::internal::DoFHandlerImplementation::Iterators<
- DoFHandler<dim, spacedim>>::cell_iterator(&this->get_triangulation(),
- this->level(),
- this->index(),
- &this->get_dof_handler());
+ return typename dealii::internal::DoFHandlerImplementation::
+ Iterators<dim, spacedim>::cell_iterator(&this->get_triangulation(),
+ this->level(),
+ this->index(),
+ &this->get_dof_handler());
}
// otherwise we need to be in structdim>=3
// checking of 'i' happens in quad_index(i)
return typename dealii::internal::DoFHandlerImplementation::
- Iterators<DoFHandler<dim, spacedim>, level_dof_access>::quad_iterator(
+ Iterators<dim, spacedim, level_dof_access>::quad_iterator(
this->tria,
0, // only sub-objects are allowed, which have no level
this->quad_index(i),
template <int spacedim, bool level_dof_access>
inline typename dealii::internal::DoFHandlerImplementation::
- Iterators<DoFHandler<1, spacedim>, level_dof_access>::line_iterator
+ Iterators<1, spacedim, level_dof_access>::line_iterator
DoFAccessor<0, 1, spacedim, level_dof_access>::line(
const unsigned int /*c*/) const
{
Assert(false, ExcNotImplemented());
return typename dealii::internal::DoFHandlerImplementation::
- Iterators<DoFHandler<1, spacedim>, level_dof_access>::line_iterator();
+ Iterators<1, spacedim, level_dof_access>::line_iterator();
}
template <int spacedim, bool level_dof_access>
inline typename dealii::internal::DoFHandlerImplementation::
- Iterators<DoFHandler<1, spacedim>, level_dof_access>::quad_iterator
+ Iterators<1, spacedim, level_dof_access>::quad_iterator
DoFAccessor<0, 1, spacedim, level_dof_access>::quad(
const unsigned int /*c*/) const
{
Assert(false, ExcNotImplemented());
return typename dealii::internal::DoFHandlerImplementation::
- Iterators<DoFHandler<1, spacedim>, level_dof_access>::quad_iterator();
+ Iterators<1, spacedim, level_dof_access>::quad_iterator();
}
template <int dim, int spacedim = dim>
class DoFHandler : public Subscriptor
{
- using ActiveSelector = dealii::internal::DoFHandlerImplementation::
- Iterators<DoFHandler<dim, spacedim>, false>;
- using LevelSelector = dealii::internal::DoFHandlerImplementation::
- Iterators<DoFHandler<dim, spacedim>, true>;
+ using ActiveSelector =
+ dealii::internal::DoFHandlerImplementation::Iterators<dim, spacedim, false>;
+ using LevelSelector =
+ dealii::internal::DoFHandlerImplementation::Iterators<dim, spacedim, true>;
public:
/**
template <int dim, int spacedim, bool lda>
class DoFCellAccessor;
+template <int dim, int spacedim>
+class DoFHandler;
+
template <typename Accessor>
class TriaRawIterator;
template <typename Accessor>
{
namespace DoFHandlerImplementation
{
- template <typename DoFHandlerType, bool lda = false>
+ template <int dim, int spacedim, bool lda = false>
struct Iterators;
* @ref Iterators
* module for more information.
*/
- template <template <int, int> class DoFHandlerType, int spacedim, bool lda>
- struct Iterators<DoFHandlerType<1, spacedim>, lda>
+ template <int spacedim, bool lda>
+ struct Iterators<1, spacedim, lda>
{
- using DoFHandler_type = DoFHandlerType<1, spacedim>;
- using CellAccessor = dealii::DoFCellAccessor<1, spacedim, lda>;
- using FaceAccessor = dealii::DoFAccessor<0, 1, spacedim, lda>;
+ using CellAccessor = dealii::DoFCellAccessor<1, spacedim, lda>;
+ using FaceAccessor = dealii::DoFAccessor<0, 1, spacedim, lda>;
using raw_line_iterator = TriaRawIterator<CellAccessor>;
using line_iterator = TriaIterator<CellAccessor>;
* @ref Iterators
* module for more information.
*/
- template <template <int, int> class DoFHandlerType, int spacedim, bool lda>
- struct Iterators<DoFHandlerType<2, spacedim>, lda>
+ template <int spacedim, bool lda>
+ struct Iterators<2, spacedim, lda>
{
- using DoFHandler_type = DoFHandlerType<2, spacedim>;
- using CellAccessor = dealii::DoFCellAccessor<2, spacedim, lda>;
- using FaceAccessor = dealii::DoFAccessor<1, 2, spacedim, lda>;
+ using CellAccessor = dealii::DoFCellAccessor<2, spacedim, lda>;
+ using FaceAccessor = dealii::DoFAccessor<1, 2, spacedim, lda>;
using raw_line_iterator = TriaRawIterator<FaceAccessor>;
using line_iterator = TriaIterator<FaceAccessor>;
* @ref Iterators
* module for more information.
*/
- template <template <int, int> class DoFHandlerType, int spacedim, bool lda>
- struct Iterators<DoFHandlerType<3, spacedim>, lda>
+ template <int spacedim, bool lda>
+ struct Iterators<3, spacedim, lda>
{
- using DoFHandler_type = DoFHandlerType<3, spacedim>;
- using CellAccessor = dealii::DoFCellAccessor<3, spacedim, lda>;
- using FaceAccessor = dealii::DoFAccessor<2, 3, spacedim, lda>;
+ using CellAccessor = dealii::DoFCellAccessor<3, spacedim, lda>;
+ using FaceAccessor = dealii::DoFAccessor<2, 3, spacedim, lda>;
using raw_line_iterator =
TriaRawIterator<dealii::DoFAccessor<1, 3, spacedim, lda>>;