Inherits Base< dim, ::LinearAlgebra::distributed::Vector< number > >.
|
void | apply_add (::LinearAlgebra::distributed::Vector< number > &dst, const ::LinearAlgebra::distributed::Vector< number > &src) const override |
|
void | local_apply (const ::MatrixFree< dim, number > &data, ::LinearAlgebra::distributed::Vector< number > &dst, const ::LinearAlgebra::distributed::Vector< number > &src, const std::pair< unsigned int, unsigned int > &cell_range) const |
|
void | local_compute_diagonal (const MatrixFree< dim, number > &data, ::LinearAlgebra::distributed::Vector< number > &dst, const unsigned int &dummy, const std::pair< unsigned int, unsigned int > &cell_range) const |
|
template<int dim, int degree_p, typename number>
class aspect::MatrixFreeStokesOperators::MassMatrixOperator< dim, degree_p, number >
Operator for the pressure mass matrix used in the block preconditioner
Definition at line 258 of file stokes_matrix_free.h.
§ MassMatrixOperator()
template<int dim, int degree_p, typename number>
§ clear()
template<int dim, int degree_p, typename number>
§ set_cell_data()
template<int dim, int degree_p, typename number>
Pass in a reference to the problem data.
§ compute_diagonal()
template<int dim, int degree_p, typename number>
Computes the diagonal of the matrix. Since matrix-free operators have not access to matrix elements, we must apply the matrix-free operator to the unit vectors to recover the diagonal.
§ apply_add()
template<int dim, int degree_p, typename number>
Performs the application of the matrix-free operator. This function is called by vmult() functions MatrixFreeOperators::Base.
§ local_apply()
template<int dim, int degree_p, typename number>
void aspect::MatrixFreeStokesOperators::MassMatrixOperator< dim, degree_p, number >::local_apply |
( |
const ::MatrixFree< dim, number > & |
data, |
|
|
::LinearAlgebra::distributed::Vector< number > & |
dst, |
|
|
const ::LinearAlgebra::distributed::Vector< number > & |
src, |
|
|
const std::pair< unsigned int, unsigned int > & |
cell_range |
|
) |
| const |
|
private |
Defines the application of the cell matrix.
§ local_compute_diagonal()
template<int dim, int degree_p, typename number>
void aspect::MatrixFreeStokesOperators::MassMatrixOperator< dim, degree_p, number >::local_compute_diagonal |
( |
const MatrixFree< dim, number > & |
data, |
|
|
::LinearAlgebra::distributed::Vector< number > & |
dst, |
|
|
const unsigned int & |
dummy, |
|
|
const std::pair< unsigned int, unsigned int > & |
cell_range |
|
) |
| const |
|
private |
Computes the diagonal contribution from a cell matrix.
§ cell_data
template<int dim, int degree_p, typename number>
A pointer to the current cell data that contains viscosity and other required parameters per cell.
Definition at line 314 of file stokes_matrix_free.h.
The documentation for this class was generated from the following file: