16#ifndef dealii_cell_data_transfer_h
17#define dealii_cell_data_transfer_h
106template <
int dim,
int spacedim = dim,
typename VectorType = Vector<
double>>
129 const std::function<std::vector<value_type>(
132 &AdaptationStrategies::Refinement::preserve<dim, spacedim, value_type>,
137 check_equality<dim, spacedim, value_type>);
157 unpack(
const VectorType &in, VectorType &out);
171 const std::function<std::vector<value_type>(
182 const std::vector<value_type> &children_indices)>
189 std::map<const typename Triangulation<dim, spacedim>::cell_iterator,
197 std::map<const typename Triangulation<dim, spacedim>::cell_iterator,
206 std::map<const typename Triangulation<dim, spacedim>::cell_iterator,
207 const std::set<unsigned int>>
SmartPointer< const Triangulation< dim, spacedim >, CellDataTransfer< dim, spacedim, VectorType > > triangulation
CellDataTransfer(const Triangulation< dim, spacedim > &triangulation, const std::function< std::vector< value_type >(const typename Triangulation< dim, spacedim >::cell_iterator &parent, const value_type parent_value)> refinement_strategy=&AdaptationStrategies::Refinement::preserve< dim, spacedim, value_type >, const std::function< value_type(const typename Triangulation< dim, spacedim >::cell_iterator &parent, const std::vector< value_type > &children_values)> coarsening_strategy=&AdaptationStrategies::Coarsening::check_equality< dim, spacedim, value_type >)
void prepare_for_coarsening_and_refinement()
typename VectorType::value_type value_type
void unpack(const VectorType &in, VectorType &out)
std::map< const typename Triangulation< dim, spacedim >::cell_iterator, const unsigned int > refined_cells_active_index
const std::function< std::vector< value_type >(const typename Triangulation< dim, spacedim >::cell_iterator &parent, const value_type parent_value)> refinement_strategy
std::map< const typename Triangulation< dim, spacedim >::cell_iterator, const std::set< unsigned int > > coarsened_cells_active_index
const std::function< value_type(const typename Triangulation< dim, spacedim >::cell_iterator &parent, const std::vector< value_type > &children_indices)> coarsening_strategy
unsigned int n_active_cells_pre
std::map< const typename Triangulation< dim, spacedim >::cell_iterator, const unsigned int > persisting_cells_active_index
#define DEAL_II_NAMESPACE_OPEN
#define DEAL_II_NAMESPACE_CLOSE