16 #ifndef dealii_distributed_cell_weights_h 17 #define dealii_distributed_cell_weights_h 19 #include <deal.II/base/config.h> 21 #include <deal.II/distributed/tria_base.h> 23 #include <deal.II/hp/dof_handler.h> 26 DEAL_II_NAMESPACE_OPEN
80 template <
int dim,
int spacedim = dim>
131 const std::function<
unsigned int(
164 std::function<
unsigned int(
188 DEAL_II_NAMESPACE_CLOSE
void register_ndofs_weighting(const unsigned int factor=1000)
SmartPointer< const parallel::Triangulation< dim, spacedim >, CellWeights > triangulation
std::function< unsigned int(const FiniteElement< dim, spacedim > &, const typename hp::DoFHandler< dim, spacedim >::cell_iterator &)> weighting_function
CellWeights(const ::hp::DoFHandler< dim, spacedim > &dof_handler)
typename ActiveSelector::cell_iterator cell_iterator
boost::signals2::connection tria_listener
unsigned int weight_callback(const typename Triangulation< dim, spacedim >::cell_iterator &cell, const typename Triangulation< dim, spacedim >::CellStatus status)
void register_ndofs_squared_weighting(const unsigned int factor=1000)
SmartPointer< const ::hp::DoFHandler< dim, spacedim >, CellWeights > dof_handler
void register_constant_weighting(const unsigned int factor=1000)
void register_custom_weighting(const std::function< unsigned int(const FiniteElement< dim, spacedim > &, const typename hp::DoFHandler< dim, spacedim >::cell_iterator &)> custom_function)