16#ifndef dealii_distributed_cell_weights_h
17#define dealii_distributed_cell_weights_h
90 template <
int dim,
int spacedim = dim>
144 static std::function<
unsigned int(
145 const typename ::Triangulation<dim, spacedim>::cell_iterator &cell,
146 const typename ::Triangulation<dim, spacedim>::CellStatus status)>
183 ndofs_weighting(
const std::vector<std::pair<float, float>> &coefficients);
295 const typename ::Triangulation<dim, spacedim>::cell_iterator &cell,
296 const typename ::Triangulation<dim, spacedim>::CellStatus status,
void register_constant_weighting(const unsigned int factor=1000)
void register_custom_weighting(const std::function< unsigned int(const FiniteElement< dim, spacedim > &, const typename DoFHandler< dim, spacedim >::cell_iterator &)> custom_function)
void register_ndofs_weighting(const unsigned int factor=1000)
SmartPointer< const ::DoFHandler< dim, spacedim >, CellWeights > dof_handler
static unsigned int weighting_callback(const typename ::Triangulation< dim, spacedim >::cell_iterator &cell, const typename ::Triangulation< dim, spacedim >::CellStatus status, const DoFHandler< dim, spacedim > &dof_handler, const parallel::TriangulationBase< dim, spacedim > &triangulation, const WeightingFunction &weighting_function)
static std::function< unsigned int(const typename ::Triangulation< dim, spacedim >::cell_iterator &cell, const typename ::Triangulation< dim, spacedim >::CellStatus status)> make_weighting_callback(const DoFHandler< dim, spacedim > &dof_handler, const WeightingFunction &weighting_function)
void register_ndofs_squared_weighting(const unsigned int factor=1000)
SmartPointer< const parallel::TriangulationBase< dim, spacedim >, CellWeights > triangulation
static WeightingFunction constant_weighting(const unsigned int factor=1000)
std::function< unsigned int(const typename DoFHandler< dim, spacedim >::cell_iterator &, const FiniteElement< dim, spacedim > &)> WeightingFunction
static WeightingFunction ndofs_weighting(const std::pair< float, float > &coefficients)
CellWeights(const ::DoFHandler< dim, spacedim > &dof_handler, const WeightingFunction &weighting_function)
void reinit(const DoFHandler< dim, spacedim > &dof_handler, const WeightingFunction &weighting_function)
boost::signals2::connection connection
#define DEAL_II_DEPRECATED
#define DEAL_II_NAMESPACE_OPEN
#define DEAL_II_NAMESPACE_CLOSE