|
Reference documentation for deal.II version 9.2.0
|
\(\newcommand{\dealvcentcolon}{\mathrel{\mathop{:}}}\)
\(\newcommand{\dealcoloneq}{\dealvcentcolon\mathrel{\mkern-1.2mu}=}\)
\(\newcommand{\jump}[1]{\left[\!\left[ #1 \right]\!\right]}\)
\(\newcommand{\average}[1]{\left\{\!\left\{ #1 \right\}\!\right\}}\)
Go to the documentation of this file.
16 #ifndef dealii_distributed_cell_weights_h
17 #define dealii_distributed_cell_weights_h
86 template <
int dim,
int spacedim = dim>
140 static std::function<
unsigned int(
179 ndofs_weighting(
const std::vector<std::pair<float, float>> &coefficients);
239 const std::function<
unsigned int(
static WeightingFunction constant_weighting(const unsigned int factor=1000)
void register_ndofs_weighting(const unsigned int factor=1000)
boost::signals2::connection connection
static std::function< unsigned int(const typename Triangulation< dim, spacedim >::cell_iterator &cell, const typename Triangulation< dim, spacedim >::CellStatus status)> make_weighting_callback(const hp::DoFHandler< dim, spacedim > &dof_handler, const WeightingFunction &weighting_function)
void reinit(const hp::DoFHandler< dim, spacedim > &dof_handler, const WeightingFunction &weighting_function)
#define DEAL_II_NAMESPACE_OPEN
static unsigned int weighting_callback(const typename Triangulation< dim, spacedim >::cell_iterator &cell, const typename Triangulation< dim, spacedim >::CellStatus status, const hp::DoFHandler< dim, spacedim > &dof_handler, const parallel::TriangulationBase< dim, spacedim > &triangulation, const WeightingFunction &weighting_function)
#define DEAL_II_DEPRECATED
CellWeights(const hp::DoFHandler< dim, spacedim > &dof_handler, const WeightingFunction &weighting_function)
typename ActiveSelector::cell_iterator cell_iterator
void register_constant_weighting(const unsigned int factor=1000)
static WeightingFunction ndofs_weighting(const std::pair< float, float > &coefficients)
std::function< unsigned int(const typename hp::DoFHandler< dim, spacedim >::cell_iterator &, const FiniteElement< dim, spacedim > &)> WeightingFunction
void register_ndofs_squared_weighting(const unsigned int factor=1000)
SmartPointer< const ::hp::DoFHandler< dim, spacedim >, CellWeights > dof_handler
SmartPointer< const parallel::TriangulationBase< dim, spacedim >, CellWeights > triangulation
#define DEAL_II_NAMESPACE_CLOSE
void register_custom_weighting(const std::function< unsigned int(const FiniteElement< dim, spacedim > &, const typename hp::DoFHandler< dim, spacedim >::cell_iterator &)> custom_function)