16 #ifndef dealii_distributed_solution_transfer_h 17 #define dealii_distributed_solution_transfer_h 19 #include <deal.II/base/config.h> 20 #include <deal.II/distributed/tria.h> 21 #include <deal.II/dofs/dof_handler.h> 26 DEAL_II_NAMESPACE_OPEN
131 static_assert (dim == DoFHandlerType::dimension,
132 "The dimension explicitly provided as a template " 133 "argument, and the dimension of the DoFHandlerType " 134 "template argument must match.");
174 void interpolate (std::vector<VectorType *> &all_out);
221 void deserialize(std::vector<VectorType *> &all_in);
247 const typename Triangulation<dim,DoFHandlerType::space_dimension>::CellStatus status,
256 const typename Triangulation<dim,DoFHandlerType::space_dimension>::CellStatus status,
258 std::vector<VectorType *> &all_out);
264 void register_data_attach(
const std::size_t size);
274 DEAL_II_NAMESPACE_CLOSE
void prepare_for_coarsening_and_refinement(const std::vector< const VectorType *> &all_in)
unsigned int get_data_size() const
void deserialize(VectorType &in)
SolutionTransfer(const DoFHandlerType &dof)
void pack_callback(const typename Triangulation< dim, DoFHandlerType::space_dimension >::cell_iterator &cell, const typename Triangulation< dim, DoFHandlerType::space_dimension >::CellStatus status, void *data)
void interpolate(std::vector< VectorType *> &all_out)
SmartPointer< const DoFHandlerType, SolutionTransfer< dim, VectorType, DoFHandlerType > > dof_handler
void prepare_serialization(const VectorType &in)
std::vector< const VectorType * > input_vectors
void unpack_callback(const typename Triangulation< dim, DoFHandlerType::space_dimension >::cell_iterator &cell, const typename Triangulation< dim, DoFHandlerType::space_dimension >::CellStatus status, const void *data, std::vector< VectorType *> &all_out)
::Triangulation< dim, spacedim >::cell_iterator cell_iterator
~SolutionTransfer()=default