![]() |
Reference documentation for deal.II version 9.6.0
|
#include <deal.II/matrix_free/tools.h>
Classes | |
struct | AdditionalData |
Public Member Functions | |
void | reinit (const MatrixFree< dim, Number, VectorizedArrayType > &matrix_free, const AdditionalData &additional_data=AdditionalData()) |
template<typename VectorTypeOut , typename VectorTypeIn > | |
void | cell_loop (const std::function< void(const MatrixFree< dim, Number, VectorizedArrayType > &, VectorTypeOut &, const VectorTypeIn &, const std::pair< unsigned int, unsigned int > &)> &cell_operation, VectorTypeOut &dst, const VectorTypeIn &src, const bool zero_dst_vector=false) const |
template<typename VectorTypeOut , typename VectorTypeIn > | |
void | loop (const std::function< void(const MatrixFree< dim, Number, VectorizedArrayType > &, VectorTypeOut &, const VectorTypeIn &, const std::pair< unsigned int, unsigned int > &)> &cell_operation, const std::function< void(const MatrixFree< dim, Number, VectorizedArrayType > &, VectorTypeOut &, const VectorTypeIn &, const std::pair< unsigned int, unsigned int > &)> &face_operation, const std::function< void(const MatrixFree< dim, Number, VectorizedArrayType > &, VectorTypeOut &, const VectorTypeIn &, const std::pair< unsigned int, unsigned int > &, const bool)> &boundary_operation, VectorTypeOut &dst, const VectorTypeIn &src, const bool zero_dst_vector=false) const |
Private Attributes | |
SmartPointer< const MatrixFree< dim, Number, VectorizedArrayType > > | matrix_free |
unsigned int | fe_index_valid |
A wrapper around MatrixFree to help users to deal with DoFHandler objects involving cells without degrees of freedom, i.e., cells using FE_Nothing as element type. In the following we call such cells deactivated. All other cells are activated. In contrast to MatrixFree, this class skips deactivated cells and faces between activated and deactivated cells are treated as boundary faces.
|
inline |
Reinitialize class based on a given MatrixFree instance. Particularly, the index of the valid FE is determined.
FE_Nothing
and another finite element).
|
inline |
Loop over all activated cells.
For the meaning of the parameters see MatrixFree::cell_loop().
|
inline |
Loop over all activated cells and faces. Faces between activated and deactivated cells are treated as boundary faces with the boundary ID numbers::internal_face_boundary_id.
For the meaning of the parameters see MatrixFree::cell_loop().
|
private |
Reference to the underlying MatrixFree object.
|
private |