16#ifndef dealii_solution_transfer_h
17#define dealii_solution_transfer_h
335template <
int dim,
typename VectorType = Vector<
double>,
int spacedim = dim>
416 std::vector<VectorType> & all_out)
const;
428 interpolate(
const VectorType &in, VectorType &out)
const;
441 "You are attempting an operation for which this object is "
442 "not prepared. This may be because you either did not call "
443 "one of the prepare_*() functions at all, or because you "
444 "called the wrong one for the operation you are currently "
452 "You are attempting to call one of the prepare_*() functions "
453 "of this object to prepare it for an operation for which it "
454 "is already prepared. Specifically, the object was "
455 "previously prepared for pure refinement.");
462 "You are attempting to call one of the prepare_*() functions "
463 "of this object to prepare it for an operation for which it "
464 "is already prepared. Specifically, the object was "
465 "previously prepared for both coarsening and refinement.");
533 const unsigned int active_fe_index_in = 0)
540 const unsigned int active_fe_index_in = 0)
565 std::vector<std::vector<Vector<typename VectorType::value_type>>>
void refine_interpolate(const VectorType &in, VectorType &out) const
void interpolate(const std::vector< VectorType > &all_in, std::vector< VectorType > &all_out) const
std::vector< std::vector< types::global_dof_index > > indices_on_cell
types::global_dof_index n_dofs_old
SmartPointer< const DoFHandler< dim, spacedim >, SolutionTransfer< dim, VectorType, spacedim > > dof_handler
std::size_t memory_consumption() const
std::vector< std::vector< Vector< typename VectorType::value_type > > > dof_values_on_cell
void prepare_for_coarsening_and_refinement(const std::vector< VectorType > &all_in)
PreparationState prepared_for
void prepare_for_pure_refinement()
@ coarsening_and_refinement
std::map< std::pair< unsigned int, unsigned int >, Pointerstruct > cell_map
#define DEAL_II_NAMESPACE_OPEN
#define DEAL_II_NAMESPACE_CLOSE
static ::ExceptionBase & ExcNotPrepared()
static ::ExceptionBase & ExcAlreadyPrepForCoarseAndRef()
static ::ExceptionBase & ExcAlreadyPrepForRef()
#define DeclExceptionMsg(Exception, defaulttext)
std::vector< types::global_dof_index > * indices_ptr
Pointerstruct(std::vector< types::global_dof_index > *indices_ptr_in, const unsigned int active_fe_index_in=0)
unsigned int active_fe_index
std::size_t memory_consumption() const
Pointerstruct(std::vector< Vector< typename VectorType::value_type > > *dof_values_ptr_in, const unsigned int active_fe_index_in=0)
std::vector< Vector< typename VectorType::value_type > > * dof_values_ptr