DoFObjectAccessor (const Triangulation<dim> *tria,
const int level,
const int index,
- const AccessorData *local_data) :
- DoFAccessor<dim> (local_data),
- DoFObjectAccessor_Inheritance<celldim,dim>::BaseClass (tria,level,index) {};
+ const AccessorData *local_data);
/**
* Index of the @p{i}th degree
DoFObjectAccessor (const Triangulation<dim> *tria,
const int level,
const int index,
- const AccessorData *local_data) :
- DoFAccessor<dim> (local_data),
- DoFObjectAccessor_Inheritance<1,dim>::BaseClass (tria,level,index) {};
+ const AccessorData *local_data);
/**
* Return the index of the @p{i}th degree
DoFObjectAccessor (const Triangulation<dim> *tria,
const int level,
const int index,
- const AccessorData *local_data) :
- DoFAccessor<dim> (local_data),
- DoFObjectAccessor_Inheritance<2,dim>::BaseClass (tria,level,index) {};
+ const AccessorData *local_data);
/**
* Return the index of the @p{i}th degree
DoFObjectAccessor (const Triangulation<dim> *tria,
const int level,
const int index,
- const AccessorData *local_data) :
- DoFAccessor<dim> (local_data),
- DoFObjectAccessor_Inheritance<3,dim>::BaseClass (tria,level,index) {};
+ const AccessorData *local_data);
/**
* Return the index of the @p{i}th degree
DoFCellAccessor (const Triangulation<dim> *tria,
const int level,
const int index,
- const AccessorData *local_data) :
- DoFObjectAccessor<dim, dim> (tria,level,index,local_data) {};
+ const AccessorData *local_data);
/**
* Return the @p{i}th neighbor as a DoF cell
* class returns a cell accessor without
* access to the DoF data.
*/
- TriaIterator<dim,DoFCellAccessor<dim> > neighbor (const unsigned int) const;
+ TriaIterator<dim,DoFCellAccessor<dim> >
+ neighbor (const unsigned int) const;
/**
* Return the @p{i}th child as a DoF cell
* class returns a cell accessor without
* access to the DoF data.
*/
- TriaIterator<dim,DoFCellAccessor<dim> > child (const unsigned int) const;
+ TriaIterator<dim,DoFCellAccessor<dim> >
+ child (const unsigned int) const;
/**
* Return an iterator to the @p{i}th face
* This function is not implemented in 1D,
* and maps to DoFObjectAccessor<2, dim>::line in 2D.
*/
- TriaIterator<dim, DoFObjectAccessor<dim-1, dim> > face (const unsigned int i) const;
+ TriaIterator<dim, DoFObjectAccessor<dim-1, dim> >
+ face (const unsigned int i) const;
/**
* Return the interpolation of the given
/*------------------------- Functions: DoFObjectAccessor<1,dim> -----------------------*/
+
+
+template <int dim>
+inline
+DoFObjectAccessor<1,dim>::
+DoFObjectAccessor (const Triangulation<dim> *tria,
+ const int level,
+ const int index,
+ const AccessorData *local_data)
+ :
+ DoFAccessor<dim> (local_data),
+ DoFObjectAccessor_Inheritance<1,dim>::BaseClass (tria,
+ level,
+ index)
+{}
+
+
+
template <int dim>
inline
unsigned int
}
+
template <int dim>
inline
unsigned int
}
+
template <int dim>
inline
void
}
+
template <int dim>
inline
TriaIterator<dim,DoFObjectAccessor<1,dim> >
}
+
template <int dim>
inline
void
/*------------------------- Functions: DoFObjectAccessor<2,dim> -----------------------*/
+template <int dim>
+inline
+DoFObjectAccessor<2,dim>::
+DoFObjectAccessor (const Triangulation<dim> *tria,
+ const int level,
+ const int index,
+ const AccessorData *local_data)
+ :
+ DoFAccessor<dim> (local_data),
+ DoFObjectAccessor_Inheritance<2,dim>::BaseClass (tria,
+ level,
+ index)
+{}
+
+
+
template <int dim>
inline
unsigned int DoFObjectAccessor<2,dim>::dof_index (const unsigned int i) const
}
+
template <int dim>
inline
TriaIterator<dim,DoFObjectAccessor<1,dim> >
}
+
template <int dim>
inline
TriaIterator<dim,DoFObjectAccessor<2,dim> >
}
+
template <int dim>
inline
void
/*------------------------- Functions: DoFObjectAccessor<3,dim> -----------------------*/
+template <int dim>
+inline
+DoFObjectAccessor<3,dim>::
+DoFObjectAccessor (const Triangulation<dim> *tria,
+ const int level,
+ const int index,
+ const AccessorData *local_data)
+ :
+ DoFAccessor<dim> (local_data),
+ DoFObjectAccessor_Inheritance<3,dim>::BaseClass (tria,
+ level,
+ index)
+{}
+
+
+
template <int dim>
inline
unsigned int
}
+
template <int dim>
inline
unsigned int
}
+
template <int dim>
inline
void
}
+
template <int dim>
inline
TriaIterator<dim,DoFObjectAccessor<2,dim> >
}
+
template <int dim>
inline
TriaIterator<dim,DoFObjectAccessor<3,dim> >
}
+
template <int dim>
void DoFObjectAccessor<3,dim>::copy_from (const DoFObjectAccessor<3,dim> &a)
{
/*------------------------- Functions: DoFCellAccessor -----------------------*/
+template <int dim>
+inline
+DoFCellAccessor<1,dim>::
+DoFCellAccessor (const Triangulation<dim> *tria,
+ const int level,
+ const int index,
+ const AccessorData *local_data)
+ :
+ DoFObjectAccessor<dim, dim> (tria,level,index,local_data)
+{}
+
+
template <int dim>
inline
TriaIterator<dim,DoFCellAccessor<dim> >
* way, no matter what the type of
* number of these parameters is.
*/
- typedef void* LocalData;
+ typedef void * LocalData;
/**@ name Iterator address and state
*/
* boundary is defined by one
* face being on the
* boundary. Note that this does
- * not catches where only one
+ * not catch cases where only one
* vertex of a quad or of a hex
* is at the boundary, or where
* only one line of a hex is at
* interiors of all faces are in
* the interior of the
* domain. For the latter case,
- * the @p{Has_boundary_lines}
+ * the @p{has_boundary_lines}
* function is the right one to
* ask.
*/
*/
void clear_refine_flag () const;
-
/**
* Return whether the coarsen flag
* is set or not.