* for hp DoF handlers, this may
* change from cell to cell.
*/
- const FiniteElement<DoFObjectAccessor<celldim,DH>::dim> &
+ const FiniteElement<dim> &
get_fe () const;
/**
* Pointer to the <i>i</i>th line
* bounding this Object.
*/
- TriaIterator<DoFObjectAccessor<celldim,DH>::dim,DoFObjectAccessor<1, DH> >
+ TriaIterator<dim,DoFObjectAccessor<1, DH> >
line (const unsigned int i) const;
/**
* Pointer to the <i>i</i>th quad
* bounding this Object.
*/
- TriaIterator<DoFObjectAccessor<celldim,DH>::dim,DoFObjectAccessor<2, DH> >
+ TriaIterator<dim,DoFObjectAccessor<2, DH> >
quad (const unsigned int i) const;
/**
* class returns a hex accessor without
* access to the DoF data.
*/
- TriaIterator<DoFObjectAccessor<celldim,DH>::dim,DoFObjectAccessor<celldim, DH> >
- child (const unsigned int) const;
+ TriaIterator<dim,DoFObjectAccessor<celldim, DH> > child (const unsigned int) const;
/**
* Distribute a local (cell
* argument is assumed to be a pointer
* to a DoFHandler object.
*/
- DoFObjectAccessor (const Triangulation<dim> *tria,
+ DoFObjectAccessor (const Triangulation<DH::dimension> *tria,
const int level,
const int index,
const AccessorData *local_data);
* for hp DoF handlers, this may
* change from cell to cell.
*/
- const FiniteElement<DoFObjectAccessor<1,DH>::dim> &
+ const FiniteElement<DH::dimension> &
get_fe () const;
/**
* class returns a line accessor without
* access to the DoF data.
*/
- TriaIterator<DoFObjectAccessor<1,DH>::dim,DoFObjectAccessor<1,DH> >
- child (const unsigned int) const;
+ TriaIterator<DH::dimension,DoFObjectAccessor<1,DH> > child (const unsigned int) const;
/**
* Distribute a local (cell based) vector
* argument is assumed to be a pointer
* to a DoFHandler object.
*/
- DoFObjectAccessor (const Triangulation<dim> *tria,
+ DoFObjectAccessor (const Triangulation<DH::dimension> *tria,
const int level,
const int index,
const AccessorData *local_data);
* for hp DoF handlers, this may
* change from cell to cell.
*/
- const FiniteElement<DoFObjectAccessor<2,DH>::dim> &
+ const FiniteElement<DH::dimension> &
get_fe () const;
/**
* Return a pointer to the @p ith line
* bounding this @p Quad.
*/
- TriaIterator<DoFObjectAccessor<2,DH>::dim,DoFObjectAccessor<1, DH> >
+ TriaIterator<DH::dimension,DoFObjectAccessor<1, DH> >
line (const unsigned int i) const;
/**
* class returns a quad accessor without
* access to the DoF data.
*/
- TriaIterator<DoFObjectAccessor<2,DH>::dim,DoFObjectAccessor<2, DH> >
+ TriaIterator<DH::dimension,DoFObjectAccessor<2, DH> >
child (const unsigned int) const;
/**
* argument is assumed to be a pointer
* to a DoFHandler object.
*/
- DoFObjectAccessor (const Triangulation<dim> *tria,
+ DoFObjectAccessor (const Triangulation<DH::dimension> *tria,
const int level,
const int index,
const AccessorData *local_data);
* for hp DoF handlers, this may
* change from cell to cell.
*/
- const FiniteElement<DoFObjectAccessor<3, DH>::dim> &
+ const FiniteElement<DH::dimension> &
get_fe () const;
/**
* Return a pointer to the @p ith line
* bounding this @p Hex.
*/
- TriaIterator<DoFObjectAccessor<3, DH>::dim,DoFObjectAccessor<1, DH> >
+ TriaIterator<DH::dimension,DoFObjectAccessor<1, DH> >
line (const unsigned int i) const;
/**
* Return a pointer to the @p ith quad
* bounding this @p Hex.
*/
- TriaIterator<DoFObjectAccessor<3, DH>::dim,DoFObjectAccessor<2, DH> >
+ TriaIterator<DH::dimension,DoFObjectAccessor<2, DH> >
quad (const unsigned int i) const;
/**
* class returns a hex accessor without
* access to the DoF data.
*/
- TriaIterator<DoFObjectAccessor<3, DH>::dim,DoFObjectAccessor<3, DH> >
- child (const unsigned int) const;
+ TriaIterator<DH::dimension,DoFObjectAccessor<3, DH> > child (const unsigned int) const;
/**
* Distribute a local (cell
* get passed from the iterator
* classes.
*/
- typedef typename DoFObjectAccessor<dim,DH>::AccessorData AccessorData;
+ typedef typename DoFObjectAccessor<DH::dimension,DH>::AccessorData AccessorData;
/**
* Constructor
*/
- DoFCellAccessor (const Triangulation<dim> *tria,
+ DoFCellAccessor (const Triangulation<DH::dimension> *tria,
const int level,
const int index,
const AccessorData *local_data);
* without access to the DoF
* data.
*/
- TriaIterator<DoFCellAccessor<DH>::dim,DoFCellAccessor<DH> >
+ TriaIterator<DH::dimension,DoFCellAccessor<DH> >
neighbor (const unsigned int) const;
/**
* without access to the DoF
* data.
*/
- TriaIterator<DoFCellAccessor<DH>::dim,DoFCellAccessor<DH> >
+ TriaIterator<DH::dimension,DoFCellAccessor<DH> >
child (const unsigned int) const;
/**
* 1D, and maps to DoFObjectAccessor<2,
* dim>::line in 2D.
*/
- TriaIterator<dim, DoFObjectAccessor<dim-1, DH> >
+ TriaIterator<DH::dimension, DoFObjectAccessor<dim-1, DH> >
face (const unsigned int i) const;
/**
* access to the triangulation
* data).
*/
- TriaIterator<DoFCellAccessor<DH>::dim,DoFCellAccessor<DH> >
+ TriaIterator<DH::dimension,DoFCellAccessor<DH> >
neighbor_child_on_subface (const unsigned int face_no,
const unsigned int subface_no) const;
template <class DH>
inline
DoFObjectAccessor<1,DH>::
-DoFObjectAccessor (const Triangulation<dim> *tria,
+DoFObjectAccessor (const Triangulation<DH::dimension> *tria,
const int level,
const int index,
const AccessorData *local_data)
:
DoFAccessor<DH> (local_data),
- DoFObjectAccessor_Inheritance<1,dim>::BaseClass (tria,
- level,
- index)
+ DoFObjectAccessor_Inheritance<1,DH::dimension>::BaseClass (tria,
+ level,
+ index)
{}
template <class DH>
inline
-TriaIterator<DoFObjectAccessor<1,DH>::dim,DoFObjectAccessor<1,DH> >
+TriaIterator<DH::dimension,DoFObjectAccessor<1,DH> >
DoFObjectAccessor<1,DH>::child (const unsigned int i) const
{
TriaIterator<dim,DoFObjectAccessor<1,DH> > q (this->tria,
template <class DH>
inline
-const FiniteElement<DoFObjectAccessor<1,DH>::dim> &
+const FiniteElement<DH::dimension> &
DoFObjectAccessor<1,DH>::get_fe () const
{
return *this->dof_handler->selected_fe;
template <class DH>
DoFObjectAccessor<2,DH>::
-DoFObjectAccessor (const Triangulation<dim> *tria,
+DoFObjectAccessor (const Triangulation<DH::dimension> *tria,
const int level,
const int index,
const AccessorData *local_data)
template <class DH>
inline
-TriaIterator<DoFObjectAccessor<2,DH>::dim,DoFObjectAccessor<1,DH> >
+TriaIterator<DH::dimension,DoFObjectAccessor<1,DH> >
DoFObjectAccessor<2,DH>::line (const unsigned int i) const
{
Assert (i<4, ExcIndexRange (i, 0, 4));
template <class DH>
inline
-TriaIterator<DoFObjectAccessor<2,DH>::dim,DoFObjectAccessor<2,DH> >
+TriaIterator<DH::dimension,DoFObjectAccessor<2,DH> >
DoFObjectAccessor<2,DH>::child (const unsigned int i) const
{
TriaIterator<dim,DoFObjectAccessor<2,DH> > q (this->tria,
template <class DH>
inline
-const FiniteElement<DoFObjectAccessor<2,DH>::dim> &
+const FiniteElement<DH::dimension> &
DoFObjectAccessor<2,DH>::get_fe () const
{
return *this->dof_handler->selected_fe;
template <class DH>
inline
DoFObjectAccessor<3,DH>::
-DoFObjectAccessor (const Triangulation<dim> *tria,
+DoFObjectAccessor (const Triangulation<DH::dimension> *tria,
const int level,
const int index,
const AccessorData *local_data)
template <class DH>
inline
-TriaIterator<DoFObjectAccessor<3,DH>::dim,DoFObjectAccessor<1,DH> >
+TriaIterator<DH::dimension,DoFObjectAccessor<1,DH> >
DoFObjectAccessor<3,DH>::line (const unsigned int i) const
{
TriaIterator<dim,TriaObjectAccessor<1,dim> > l = BaseClass::line(i);
template <class DH>
inline
-TriaIterator<DoFObjectAccessor<3,DH>::dim,DoFObjectAccessor<2,DH> >
+TriaIterator<DH::dimension,DoFObjectAccessor<2,DH> >
DoFObjectAccessor<3,DH>::quad (const unsigned int i) const
{
Assert (i<6, ExcIndexRange (i, 0, 6));
template <class DH>
inline
-TriaIterator<DoFObjectAccessor<3,DH>::dim,DoFObjectAccessor<3,DH> >
+TriaIterator<DH::dimension,DoFObjectAccessor<3,DH> >
DoFObjectAccessor<3,DH>::child (const unsigned int i) const
{
TriaIterator<dim,DoFObjectAccessor<3,DH> > q (this->tria,
template <class DH>
inline
-const FiniteElement<DoFObjectAccessor<3,DH>::dim> &
+const FiniteElement<DH::dimension> &
DoFObjectAccessor<3,DH>::get_fe () const
{
return *this->dof_handler->selected_fe;
template <class DH>
inline
DoFCellAccessor<DH>::
-DoFCellAccessor (const Triangulation<dim> *tria,
+DoFCellAccessor (const Triangulation<DH::dimension> *tria,
const int level,
const int index,
const AccessorData *local_data)
:
- DoFObjectAccessor<dim,DH> (tria,level,index,local_data)
+ DoFObjectAccessor<DH::dimension,DH> (tria,level,index,local_data)
{}
template <class DH>
inline
-TriaIterator<DoFCellAccessor<DH>::dim,DoFCellAccessor<DH> >
+TriaIterator<DH::dimension,DoFCellAccessor<DH> >
DoFCellAccessor<DH>::neighbor (const unsigned int i) const
{
TriaIterator<dim,DoFCellAccessor<DH> > q (this->tria,
template <class DH>
inline
-TriaIterator<DoFCellAccessor<DH>::dim,DoFCellAccessor<DH> >
+TriaIterator<DH::dimension,DoFCellAccessor<DH> >
DoFCellAccessor<DH>::child (const unsigned int i) const
{
TriaIterator<dim,DoFCellAccessor<DH> > q (this->tria,