* Triangulation associated with the @p dof_handler.
*/
static std::function<unsigned int(
- const typename Triangulation<dim, spacedim>::cell_iterator &cell,
- const typename Triangulation<dim, spacedim>::CellStatus status)>
+ const typename dealii::Triangulation<dim, spacedim>::cell_iterator &cell,
+ const typename dealii::Triangulation<dim, spacedim>::CellStatus status)>
make_weighting_callback(const DoFHandler<dim, spacedim> &dof_handler,
const WeightingFunction &weighting_function);
template <int dim, int spacedim>
std::function<unsigned int(
- const typename Triangulation<dim, spacedim>::cell_iterator &cell,
- const typename Triangulation<dim, spacedim>::CellStatus status)>
+ const typename dealii::Triangulation<dim, spacedim>::cell_iterator &cell,
+ const typename dealii::Triangulation<dim, spacedim>::CellStatus status)>
CellWeights<dim, spacedim>::make_weighting_callback(
const DoFHandler<dim, spacedim> &dof_handler,
const typename CellWeights<dim, spacedim>::WeightingFunction
ExcMessage(
"parallel::CellWeights requires a parallel::TriangulationBase object."));
- return [&dof_handler, tria, weighting_function](
- const typename Triangulation<dim, spacedim>::cell_iterator &cell,
- const typename Triangulation<dim, spacedim>::CellStatus status)
- -> unsigned int {
- return CellWeights<dim, spacedim>::weighting_callback(cell,
- status,
- std::cref(
- dof_handler),
- std::cref(*tria),
- weighting_function);
- };
+ return
+ [&dof_handler, tria, weighting_function](
+ const typename dealii::Triangulation<dim, spacedim>::cell_iterator
+ & cell,
+ const typename dealii::Triangulation<dim, spacedim>::CellStatus status)
+ -> unsigned int {
+ return CellWeights<dim, spacedim>::weighting_callback(
+ cell,
+ status,
+ std::cref(dof_handler),
+ std::cref(*tria),
+ weighting_function);
+ };
}