deal.II version GIT relicensing-2167-g9622207b8f 2024-11-21 12:40:00+00:00
\(\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\}}\)
Loading...
Searching...
No Matches
Classes | Functions
MatrixFreeTools::internal Namespace Reference

Classes

class  ComputeMatrixScratchData
 

Functions

template<int dim, typename Number , typename VectorizedArrayType , typename VectorType , typename VectorType2 >
void compute_diagonal (const MatrixFree< dim, Number, VectorizedArrayType > &matrix_free, const internal::ComputeMatrixScratchData< dim, VectorizedArrayType, false > &data_cell, const internal::ComputeMatrixScratchData< dim, VectorizedArrayType, true > &data_face, const internal::ComputeMatrixScratchData< dim, VectorizedArrayType, true > &data_boundary, VectorType &diagonal_global, std::vector< VectorType2 * > &diagonal_global_components)
 
template<int dim, typename Number , typename VectorizedArrayType , typename MatrixType >
void compute_matrix (const MatrixFree< dim, Number, VectorizedArrayType > &matrix_free, const AffineConstraints< Number > &constraints, const internal::ComputeMatrixScratchData< dim, VectorizedArrayType, false > &cell_operation, const internal::ComputeMatrixScratchData< dim, VectorizedArrayType, true > &face_operation, const internal::ComputeMatrixScratchData< dim, VectorizedArrayType, true > &boundary_operation, MatrixType &matrix)
 

Function Documentation

◆ compute_diagonal()

template<int dim, typename Number , typename VectorizedArrayType , typename VectorType , typename VectorType2 >
void MatrixFreeTools::internal::compute_diagonal ( const MatrixFree< dim, Number, VectorizedArrayType > &  matrix_free,
const internal::ComputeMatrixScratchData< dim, VectorizedArrayType, false > &  data_cell,
const internal::ComputeMatrixScratchData< dim, VectorizedArrayType, true > &  data_face,
const internal::ComputeMatrixScratchData< dim, VectorizedArrayType, true > &  data_boundary,
VectorType &  diagonal_global,
std::vector< VectorType2 * > &  diagonal_global_components 
)

Compute the diagonal of a linear operator (diagonal_global), given matrix_free and the local cell, face and boundary integral operation.

◆ compute_matrix()

template<int dim, typename Number , typename VectorizedArrayType , typename MatrixType >
void MatrixFreeTools::internal::compute_matrix ( const MatrixFree< dim, Number, VectorizedArrayType > &  matrix_free,
const AffineConstraints< Number > &  constraints,
const internal::ComputeMatrixScratchData< dim, VectorizedArrayType, false > &  cell_operation,
const internal::ComputeMatrixScratchData< dim, VectorizedArrayType, true > &  face_operation,
const internal::ComputeMatrixScratchData< dim, VectorizedArrayType, true > &  boundary_operation,
MatrixType &  matrix 
)

Compute the matrix representation of a linear operator (matrix), given matrix_free and the local cell, face and boundary integral operation.