15#ifndef dealii_distributed_cell_data_transfer_h
16#define dealii_distributed_cell_data_transfer_h
26#include <boost/range/iterator_range.hpp>
125 template <
int dim,
int spacedim = dim,
typename VectorType = Vector<
double>>
154 const std::function<std::vector<value_type>(
155 const typename ::Triangulation<dim, spacedim>::cell_iterator
158 &::AdaptationStrategies::Refinement::
187 const std::vector<const VectorType *> &all_in);
219 unpack(std::vector<VectorType *> &all_out);
251 const std::function<std::vector<value_type>(
262 const std::vector<value_type> &children_values)>
304 const
boost::iterator_range<
std::vector<char>::const_iterator>
306 std::vector<VectorType *> &all_out);
void unpack(VectorType &out)
void prepare_for_serialization(const VectorType &in)
ObserverPointer< const parallel::distributed::Triangulation< dim, spacedim >, CellDataTransfer< dim, spacedim, VectorType > > triangulation
void prepare_for_serialization(const std::vector< const VectorType * > &all_in)
void unpack(std::vector< VectorType * > &all_out)
void prepare_for_coarsening_and_refinement(const VectorType &in)
void deserialize(VectorType &out)
CellDataTransfer(const parallel::distributed::Triangulation< dim, spacedim > &triangulation, const bool transfer_variable_size_data=false, 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 deserialize(std::vector< VectorType * > &all_out)
void register_data_attach()
void prepare_for_coarsening_and_refinement(const std::vector< const VectorType * > &all_in)
const std::function< value_type(const typename Triangulation< dim, spacedim >::cell_iterator &parent, const std::vector< value_type > &children_values)> coarsening_strategy
void unpack_callback(const typename parallel::distributed::Triangulation< dim, spacedim >::cell_iterator &cell, const CellStatus status, const boost::iterator_range< std::vector< char >::const_iterator > &data_range, std::vector< VectorType * > &all_out)
std::vector< char > pack_callback(const typename parallel::distributed::Triangulation< dim, spacedim >::cell_iterator &cell, const CellStatus status)
const std::function< std::vector< value_type >(const typename Triangulation< dim, spacedim >::cell_iterator &parent, const value_type parent_value)> refinement_strategy
const bool transfer_variable_size_data
std::vector< const VectorType * > input_vectors
typename VectorType::value_type value_type
#define DEAL_II_NAMESPACE_OPEN
#define DEAL_II_NAMESPACE_CLOSE
typename ::Triangulation< dim, spacedim >::cell_iterator cell_iterator