15#ifndef dealii_distributed_cell_weights_h
16#define dealii_distributed_cell_weights_h
102 template <
int dim,
int spacedim = dim>
163 static std::function<
unsigned int(
164 const typename ::Triangulation<dim, spacedim>::cell_iterator &cell,
202 ndofs_weighting(
const std::vector<std::pair<float, float>> &coefficients);
224 const typename ::Triangulation<dim, spacedim>::cell_iterator &cell,
static unsigned int weighting_callback(const typename ::Triangulation< dim, spacedim >::cell_iterator &cell, const CellStatus status, const DoFHandler< dim, spacedim > &dof_handler, const parallel::TriangulationBase< dim, spacedim > &triangulation, const WeightingFunction &weighting_function)
static WeightingFunction constant_weighting(const unsigned int factor=1)
static WeightingFunction ndofs_weighting(const std::pair< float, float > &coefficients)
std::function< unsigned int(const typename DoFHandler< dim, spacedim >::cell_iterator &, const FiniteElement< dim, spacedim > &)> WeightingFunction
void reinit(const DoFHandler< dim, spacedim > &dof_handler, const WeightingFunction &weighting_function)
static std::function< unsigned int(const typename ::Triangulation< dim, spacedim >::cell_iterator &cell, const CellStatus status)> make_weighting_callback(const DoFHandler< dim, spacedim > &dof_handler, const WeightingFunction &weighting_function)
boost::signals2::connection connection
#define DEAL_II_NAMESPACE_OPEN
#define DEAL_II_NAMESPACE_CLOSE
typename ActiveSelector::cell_iterator cell_iterator
const ::parallel::distributed::Triangulation< dim, spacedim > * triangulation