BlockMatrix.h¶
Note
The documentation on this page was automatically extracted from the DOLFIN C++ code and may need to be edited or expanded.
-
class
BlockMatrix
¶ Set block
-
const boost::shared_ptr<GenericMatrix>
get_block
(std::size_t i, std::size_t j) const¶ Get block (const version)
-
boost::shared_ptr<GenericMatrix>
get_block
(std::size_t i, std::size_t j)¶ Get block
-
std::size_t
size
(std::size_t dim) const¶ Return size of given dimension
-
void
zero
()¶ Set all entries to zero and keep any sparse structure
-
void
apply
(std::string mode)¶ Finalize assembly of tensor
-
std::string
str
(bool verbose) const¶ Return informal string representation (pretty-print)
-
void
mult
(const BlockVector &x, BlockVector &y, bool transposed = false) const¶ Matrix-vector product, y = Ax
-
boost::shared_ptr<GenericMatrix>
schur_approximation
(bool symmetry = true) const¶ Create a crude explicit Schur approximation of S = D - C A^-1 B of (A B; C D) If symmetry != 0, then the caller promises that B = symmetry * transpose(C).