16 #ifndef dealii_mg_transfer_component_h 17 #define dealii_mg_transfer_component_h 43 template <
int dim,
int spacedim>
84 template <
int dim,
int spacedim>
100 template <
int dim,
int spacedim>
136 mutable std::vector<std::vector<types::global_dof_index>>
sizes;
168 std::vector<std::vector<std::pair<types::global_dof_index, unsigned int>>>
193 template <
typename number>
242 template <
int dim,
int spacedim>
247 unsigned int selected,
248 unsigned int mg_selected,
250 std::vector<unsigned int>(),
252 std::vector<unsigned int>(),
254 std::vector<std::set<types::global_dof_index>>());
281 template <
int dim,
int spacedim>
284 unsigned int selected,
285 unsigned int mg_selected,
287 std::vector<unsigned int>(),
289 std::vector<unsigned int>(),
291 std::vector<std::set<types::global_dof_index>>());
297 select(
const unsigned int component,
301 prolongate(
const unsigned int to_level,
306 restrict_and_add(
const unsigned int from_level,
316 template <
int dim,
typename number2,
int spacedim>
320 const Vector<number2> & src)
const;
328 template <
int dim,
typename number2,
int spacedim>
331 Vector<number2> & dst,
339 template <
int dim,
typename number2,
int spacedim>
342 Vector<number2> & dst,
351 template <
int dim,
typename number2,
int spacedim>
363 template <
int dim,
typename number2,
int spacedim>
374 template <
int dim,
typename number2,
int spacedim>
390 template <
int dim,
class OutVector,
int spacedim>
399 template <
int dim,
class OutVector,
int spacedim>
408 template <
int dim,
class InVector,
int spacedim>
412 const InVector & src)
const;
439 template <
typename number>
442 const unsigned int mg_component)
444 selected_component = component;
445 mg_selected_component =
void build(const DoFHandler< dim, spacedim > &dof_handler)
std::vector< std::shared_ptr< BlockSparseMatrix< double > > > prolongation_matrices
static const unsigned int invalid_unsigned_int
std::vector< std::set< types::global_dof_index > > boundary_indices
static ::ExceptionBase & ExcMatricesNotBuilt()
std::vector< unsigned int > target_component
void select(const unsigned int component, const unsigned int mg_component=numbers::invalid_unsigned_int)
ComponentMask mg_component_mask
std::size_t memory_consumption() const
std::vector< types::global_dof_index > component_start
#define DeclException0(Exception0)
#define DEAL_II_NAMESPACE_CLOSE
std::vector< std::vector< std::pair< types::global_dof_index, unsigned int > > > copy_to_and_from_indices
std::vector< std::shared_ptr< BlockSparsityPattern > > prolongation_sparsities
unsigned int mg_selected_component
std::vector< unsigned int > mg_target_component
std::vector< IndexSet > interface_dofs
SmartPointer< const AffineConstraints< double > > constraints
#define DEAL_II_NAMESPACE_OPEN
ComponentMask component_mask
std::vector< std::vector< types::global_dof_index > > mg_component_start
void build_matrices(const DoFHandler< dim, spacedim > &dof, const DoFHandler< dim, spacedim > &mg_dof)
#define DEAL_II_DEPRECATED
std::vector< std::vector< types::global_dof_index > > sizes
unsigned int selected_component