* iterator classes.
*/
typedef DoFHandler<dim> AccessorData;
-
+
+ /**
+ * Declare base class as a local typedef
+ * for simpler access.
+ */
+ typedef typename DoFObjectAccessor_Inheritance<1,dim>::BaseClass BaseClass;
+
/**
* Default constructor, unused thus
* not implemented.
* iterator classes.
*/
typedef DoFHandler<dim> AccessorData;
+
+ /**
+ * Declare base class as a local typedef
+ * for simpler access.
+ */
+ typedef typename DoFObjectAccessor_Inheritance<2,dim>::BaseClass BaseClass;
/**
* Default constructor, unused thus
* iterator classes.
*/
typedef DoFHandler<dim> AccessorData;
+
+ /**
+ * Declare base class as a local typedef
+ * for simpler access.
+ */
+ typedef typename DoFObjectAccessor_Inheritance<3,dim>::BaseClass BaseClass;
/**
* Default constructor, unused thus
inline
void
DoFObjectAccessor<1, dim>::copy_from (const DoFObjectAccessor<1, dim> &a) {
- DoFObjectAccessor_Inheritance<1,dim>::BaseClass::copy_from (a);
+ BaseClass::copy_from (a);
set_dof_handler (a.dof_handler);
};
inline
void
DoFObjectAccessor<2, dim>::copy_from (const DoFObjectAccessor<2, dim> &a) {
- DoFObjectAccessor_Inheritance<2,dim>::BaseClass::copy_from (a);
+ BaseClass::copy_from (a);
set_dof_handler (a.dof_handler);
};
inline
TriaIterator<dim,DoFObjectAccessor<1, dim> >
DoFObjectAccessor<3, dim>::line (const unsigned int i) const {
- TriaIterator<dim,TriaObjectAccessor<1, dim> > l = DoFObjectAccessor_Inheritance<3,dim>::BaseClass::line(i);
+ TriaIterator<dim,TriaObjectAccessor<1, dim> > l = BaseClass::line(i);
return TriaIterator<dim,DoFObjectAccessor<1, dim> >
(
tria,
template <int dim>
void DoFObjectAccessor<3, dim>::copy_from (const DoFObjectAccessor<3, dim> &a) {
- DoFObjectAccessor_Inheritance<3,dim>::BaseClass::copy_from (a);
+ BaseClass::copy_from (a);
set_dof_handler (a.dof_handler);
};