16#ifndef dealii_solution_transfer_h
17# define dealii_solution_transfer_h
341 static_assert(dim == DoFHandlerType::dimension,
342 "The dimension explicitly provided as a template "
343 "argument, and the dimension of the DoFHandlerType "
344 "template argument must match.");
424 std::vector<VectorType> & all_out)
const;
436 interpolate(
const VectorType &in, VectorType &out)
const;
449 "You are attempting an operation for which this object is "
450 "not prepared. This may be because you either did not call "
451 "one of the prepare_*() functions at all, or because you "
452 "called the wrong one for the operation you are currently "
460 "You are attempting to call one of the prepare_*() functions "
461 "of this object to prepare it for an operation for which it "
462 "is already prepared. Specifically, the object was "
463 "previously prepared for pure refinement.");
470 "You are attempting to call one of the prepare_*() functions "
471 "of this object to prepare it for an operation for which it "
472 "is already prepared. Specifically, the object was "
473 "previously prepared for both coarsening and refinement.");
541 const unsigned int active_fe_index_in = 0)
548 const unsigned int active_fe_index_in = 0)
573 std::vector<std::vector<Vector<typename VectorType::value_type>>>
types::global_dof_index n_dofs_old
std::vector< std::vector< Vector< typename VectorType::value_type > > > dof_values_on_cell
std::vector< std::vector< types::global_dof_index > > indices_on_cell
void prepare_for_pure_refinement()
SolutionTransfer(const DoFHandlerType &dof)
std::size_t memory_consumption() const
std::map< std::pair< unsigned int, unsigned int >, Pointerstruct > cell_map
SmartPointer< const DoFHandlerType, SolutionTransfer< dim, VectorType, DoFHandlerType > > dof_handler
void refine_interpolate(const VectorType &in, VectorType &out) const
PreparationState prepared_for
@ coarsening_and_refinement
void interpolate(const std::vector< VectorType > &all_in, std::vector< VectorType > &all_out) const
void prepare_for_coarsening_and_refinement(const std::vector< VectorType > &all_in)
#define DEAL_II_NAMESPACE_OPEN
#define DEAL_II_NAMESPACE_CLOSE
static ::ExceptionBase & ExcNotPrepared()
#define DeclExceptionMsg(Exception, defaulttext)
static ::ExceptionBase & ExcAlreadyPrepForCoarseAndRef()
static ::ExceptionBase & ExcAlreadyPrepForRef()
std::vector< types::global_dof_index > * indices_ptr
unsigned int active_fe_index
Pointerstruct(std::vector< Vector< typename VectorType::value_type > > *dof_values_ptr_in, const unsigned int active_fe_index_in=0)
std::size_t memory_consumption() const
Pointerstruct(std::vector< types::global_dof_index > *indices_ptr_in, const unsigned int active_fe_index_in=0)
std::vector< Vector< typename VectorType::value_type > > * dof_values_ptr