|
Reference documentation for deal.II version 9.2.0
|
\(\newcommand{\dealvcentcolon}{\mathrel{\mathop{:}}}\)
\(\newcommand{\dealcoloneq}{\dealvcentcolon\mathrel{\mkern-1.2mu}=}\)
\(\newcommand{\jump}[1]{\left[\!\left[ #1 \right]\!\right]}\)
\(\newcommand{\average}[1]{\left\{\!\left\{ #1 \right\}\!\right\}}\)
Go to the documentation of this file.
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,
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 =
virtual ~MGTransferSelect() override=default
unsigned int selected_component
static ::ExceptionBase & ExcMatricesNotBuilt()
std::size_t memory_consumption() const
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)
std::vector< std::shared_ptr< BlockSparseMatrix< double > > > prolongation_matrices
SmartPointer< const AffineConstraints< double > > constraints
ComponentMask mg_component_mask
void do_copy_from_mg_add(const DoFHandler< dim, spacedim > &mg_dof, OutVector &dst, const MGLevelObject< Vector< number >> &src) const
void do_copy_to_mg(const DoFHandler< dim, spacedim > &mg_dof, MGLevelObject< Vector< number >> &dst, const InVector &src) const
std::vector< unsigned int > target_component
std::vector< unsigned int > mg_target_component
#define DEAL_II_NAMESPACE_OPEN
void build_matrices(const DoFHandler< dim, spacedim > &dof, const DoFHandler< dim, spacedim > &mg_dof, unsigned int selected, unsigned int mg_selected, const std::vector< unsigned int > &target_component=std::vector< unsigned int >(), const std::vector< unsigned int > &mg_target_component=std::vector< unsigned int >(), const std::vector< std::set< types::global_dof_index >> &boundary_indices=std::vector< std::set< types::global_dof_index >>())
void select(const unsigned int component, const unsigned int mg_component=numbers::invalid_unsigned_int)
ComponentMask component_mask
virtual void restrict_and_add(const unsigned int from_level, Vector< number > &dst, const Vector< number > &src) const override
void copy_to_mg(const DoFHandler< dim, spacedim > &mg_dof, MGLevelObject< Vector< number >> &dst, const Vector< number2 > &src) const
#define DEAL_II_DEPRECATED
std::vector< IndexSet > interface_dofs
std::size_t memory_consumption() const
std::vector< std::vector< std::pair< types::global_dof_index, unsigned int > > > copy_to_and_from_indices
void copy_from_mg(const DoFHandler< dim, spacedim > &mg_dof, Vector< number2 > &dst, const MGLevelObject< Vector< number >> &src) const
std::vector< types::global_dof_index > component_start
#define DeclException0(Exception0)
void build(const DoFHandler< dim, spacedim > &dof_handler)
static const unsigned int invalid_unsigned_int
void copy_from_mg_add(const DoFHandler< dim, spacedim > &mg_dof, Vector< number2 > &dst, const MGLevelObject< Vector< number >> &src) const
virtual void prolongate(const unsigned int to_level, Vector< number > &dst, const Vector< number > &src) const override
unsigned int mg_selected_component
std::vector< std::vector< types::global_dof_index > > sizes
std::vector< std::shared_ptr< BlockSparsityPattern > > prolongation_sparsities
#define DEAL_II_NAMESPACE_CLOSE
void do_copy_from_mg(const DoFHandler< dim, spacedim > &mg_dof, OutVector &dst, const MGLevelObject< Vector< number >> &src) const
std::vector< std::set< types::global_dof_index > > boundary_indices
void build(const DoFHandler< dim, spacedim > &dof, unsigned int selected, unsigned int mg_selected, const std::vector< unsigned int > &target_component=std::vector< unsigned int >(), const std::vector< unsigned int > &mg_target_component=std::vector< unsigned int >(), const std::vector< std::set< types::global_dof_index >> &boundary_indices=std::vector< std::set< types::global_dof_index >>())