template <int> friend class DoFFaces;
};
+
+// --------------------- template and inline functions ------------------
+
+ template <int dim>
+ template <int spacedim>
+ inline
+ unsigned int
+ DoFObjects<dim>::n_active_fe_indices (const ::DoFHandler<spacedim> &,
+ const unsigned) const
+ {
+ return 1;
+ }
+
+
+
+ template <int dim>
+ template <int spacedim>
+ inline
+ bool
+ DoFObjects<dim>::fe_index_is_active (const ::DoFHandler<spacedim> &,
+ const unsigned int,
+ const unsigned int fe_index) const
+ {
+ Assert (fe_index == 0,
+ ExcMessage ("Only zero fe_index values are allowed for "
+ "non-hp DoFHandlers."));
+ return true;
+ }
+
+
}
}
#endif
return (MemoryConsumption::memory_consumption (dofs));
}
- template <int dim>
- template <int spacedim>
- unsigned int
- DoFObjects<dim>::n_active_fe_indices (const ::DoFHandler<spacedim> &,
- const unsigned) const
- {
- return 1;
- }
-
- template <int dim>
- template <int spacedim>
- bool
- DoFObjects<dim>::fe_index_is_active (const ::DoFHandler<spacedim> &,
- const unsigned int,
- const unsigned int fe_index) const
- {
- Assert (fe_index == 0,
- ExcMessage ("Only zero fe_index values are allowed for "
- "non-hp DoFHandlers."));
- return true;
- }
template <int dim>
template <int spacedim>
return dofs[obj_index * dofs_per_obj + local_index];
}
+
template <int dim>
template <int spacedim>
const unsigned int local_index,
const unsigned int global_index);
- template
- unsigned int
- DoFObjects<1>::
- n_active_fe_indices (const ::DoFHandler<deal_II_dimension> &,
- const unsigned) const;
-
- template
- bool
- DoFObjects<1>::
- fe_index_is_active (const ::DoFHandler<deal_II_dimension> &,
- const unsigned int,
- const unsigned int fe_index) const;
-
#if deal_II_dimension >= 2
template class DoFObjects<2>;
const unsigned int local_index,
const unsigned int global_index);
- template
- unsigned int
- DoFObjects<2>::
- n_active_fe_indices (const ::DoFHandler<deal_II_dimension> &,
- const unsigned) const;
-
- template
- bool
- DoFObjects<2>::
- fe_index_is_active (const ::DoFHandler<deal_II_dimension> &,
- const unsigned int,
- const unsigned int fe_index) const;
-
#endif
#if deal_II_dimension >= 3
const unsigned int local_index,
const unsigned int global_index);
- template
- unsigned int
- DoFObjects<3>::
- n_active_fe_indices (const ::DoFHandler<deal_II_dimension> &,
- const unsigned) const;
-
- template
- bool
- DoFObjects<3>::
- fe_index_is_active (const ::DoFHandler<deal_II_dimension> &,
- const unsigned int,
- const unsigned int fe_index) const;
-
#endif
}