Reference documentation for deal.II version 9.5.0
|
#include <deal.II/matrix_free/constraint_info.h>
Public Member Functions | |
void | reinit (const DoFHandler< dim > &dof_handler, const unsigned int n_cells, const bool use_fast_hanging_node_algorithm=true) |
void | read_dof_indices (const unsigned int cell_no, const unsigned int mg_level, const TriaIterator< DoFCellAccessor< dim, dim, false > > &cell, const ::AffineConstraints< typename Number::value_type > &constraints, const std::shared_ptr< const Utilities::MPI::Partitioner > &partitioner) |
void | reinit (const unsigned int n_cells) |
void | read_dof_indices (const unsigned int cell_no, const std::vector< types::global_dof_index > &dof_indices, const std::shared_ptr< const Utilities::MPI::Partitioner > &partitioner) |
void | finalize () |
template<typename T , typename VectorType > | |
void | read_write_operation (const T &operation, VectorType &global_vector, Number *local_vector, const unsigned int first_cell, const unsigned int n_cells, const unsigned int n_dofs_per_cell, const bool apply_constraints) const |
void | apply_hanging_node_constraints (const unsigned int first_cell, const unsigned int n_lanes_filled, const bool transpose, AlignedVector< Number > &evaluation_data_coarse) const |
std::size_t | memory_consumption () const |
Public Attributes | |
std::vector< unsigned int > | dof_indices |
std::vector< std::pair< unsigned short, unsigned short > > | constraint_indicator |
std::vector< std::pair< unsigned int, unsigned int > > | row_starts |
std::vector< unsigned int > | plain_dof_indices |
std::vector< unsigned int > | row_starts_plain_indices |
std::vector< typename Number::value_type > | constraint_pool_data |
std::vector< unsigned int > | constraint_pool_row_index |
std::vector< ShapeInfo< Number > > | shape_infos |
std::vector< compressed_constraint_kind > | hanging_node_constraint_masks |
std::vector< unsigned int > | active_fe_indices |
Private Member Functions | |
const Number::value_type * | constraint_pool_begin (const unsigned int row) const |
const Number::value_type * | constraint_pool_end (const unsigned int row) const |
Private Attributes | |
ConstraintValues< double > | constraint_values |
std::vector< std::vector< unsigned int > > | dof_indices_per_cell |
std::vector< std::vector< unsigned int > > | plain_dof_indices_per_cell |
std::vector< std::vector< std::pair< unsigned short, unsigned short > > > | constraint_indicator_per_cell |
std::unique_ptr< HangingNodes< dim > > | hanging_nodes |
std::vector< std::vector< unsigned int > > | lexicographic_numbering |
A helper class to apply constraints in matrix-free loops in user code. It combines constraint related functionalties from MatrixFree and FEEvaluation.
Definition at line 85 of file constraint_info.h.
|
inline |
Version 1: indices are extracted from DoFCellAccessor and constraints are resolved with the help of AffineConstraints.
Definition at line 253 of file constraint_info.h.
|
inline |
Definition at line 314 of file constraint_info.h.
|
inline |
Version 2: no constraints, indices are user-provided.
Definition at line 303 of file constraint_info.h.
|
inline |
Definition at line 441 of file constraint_info.h.
|
inline |
Definition at line 492 of file constraint_info.h.
|
inline |
Definition at line 576 of file constraint_info.h.
|
inline |
Definition at line 660 of file constraint_info.h.
|
inline |
Return the memory consumption of the allocated memory in this class.
Definition at line 737 of file constraint_info.h.
|
inlineprivate |
Definition at line 711 of file constraint_info.h.
|
inlineprivate |
Definition at line 724 of file constraint_info.h.
|
private |
Definition at line 146 of file constraint_info.h.
|
private |
Definition at line 147 of file constraint_info.h.
|
private |
Definition at line 148 of file constraint_info.h.
|
private |
Definition at line 150 of file constraint_info.h.
|
private |
Definition at line 152 of file constraint_info.h.
|
private |
Definition at line 153 of file constraint_info.h.
std::vector<unsigned int> internal::MatrixFreeFunctions::ConstraintInfo< dim, Number >::dof_indices |
Definition at line 157 of file constraint_info.h.
std::vector<std::pair<unsigned short, unsigned short> > internal::MatrixFreeFunctions::ConstraintInfo< dim, Number >::constraint_indicator |
Definition at line 159 of file constraint_info.h.
std::vector<std::pair<unsigned int, unsigned int> > internal::MatrixFreeFunctions::ConstraintInfo< dim, Number >::row_starts |
Definition at line 160 of file constraint_info.h.
std::vector<unsigned int> internal::MatrixFreeFunctions::ConstraintInfo< dim, Number >::plain_dof_indices |
Definition at line 162 of file constraint_info.h.
std::vector<unsigned int> internal::MatrixFreeFunctions::ConstraintInfo< dim, Number >::row_starts_plain_indices |
Definition at line 163 of file constraint_info.h.
std::vector<typename Number::value_type> internal::MatrixFreeFunctions::ConstraintInfo< dim, Number >::constraint_pool_data |
Definition at line 166 of file constraint_info.h.
std::vector<unsigned int> internal::MatrixFreeFunctions::ConstraintInfo< dim, Number >::constraint_pool_row_index |
Definition at line 167 of file constraint_info.h.
std::vector<ShapeInfo<Number> > internal::MatrixFreeFunctions::ConstraintInfo< dim, Number >::shape_infos |
Definition at line 169 of file constraint_info.h.
std::vector<compressed_constraint_kind> internal::MatrixFreeFunctions::ConstraintInfo< dim, Number >::hanging_node_constraint_masks |
Definition at line 170 of file constraint_info.h.
std::vector<unsigned int> internal::MatrixFreeFunctions::ConstraintInfo< dim, Number >::active_fe_indices |
Definition at line 171 of file constraint_info.h.