PETScLinearOperator.h¶
Note
The documentation on this page was automatically extracted from the DOLFIN C++ code and may need to be edited or expanded.
-
class
PETScLinearOperator¶ Parent class(es)
PETSc version of the GenericLinearOperator Matrix-free interface for the solution of linear systems defined in terms of the action (matrix-vector product) of a linear operator.
-
explicit
PETScLinearOperator(MPI_Comm comm)¶ Constructor
-
std::size_t
size(std::size_t dim) const¶ Return size of given dimension
-
void
mult(const GenericVector &x, GenericVector &y) const¶ Compute matrix-vector product y = Ax
-
MPI_Comm
mpi_comm() const¶ Return MPI communicator
-
std::string
str(bool verbose) const¶ Return informal string representation (pretty-print)
-
const GenericLinearOperator *
wrapper() const¶ Return pointer to wrapper (const version)
-
GenericLinearOperator *
wrapper()¶ Return pointer to wrapper (const version)
-
explicit