#include <jive/solver/SchurMatrix.h>
|
| SchurMatrix (const String &name, Ref< MPContext > mpx, Ref< AbstractMatrix > inner, Ref< Preconditioner > precon, Ref< SchurDofSpace > dofs, Ref< Constraints > cons=NIL) |
|
void | update () |
|
bool | updated () const |
|
virtual void | resetEvents () |
|
virtual Shape | shape () const |
| Returns the shape of this matrix. More...
|
|
virtual void | matmul (const Vector &schurLhs, const Vector &schurRhs) const |
| Matrix-vector multiplication. More...
|
|
virtual void | multiMatmul (Matrix &lhsVecs, IdxVector &lhsTags, const Matrix &rhsVecs, const IdxVector &rhsTags) const |
|
virtual bool | hasTrait (const String &trait) const |
|
virtual void * | getExtByID (ExtensionID extID) const |
|
virtual VectorExchanger * | getExchanger () const |
|
virtual int | getExchangeMode () const |
|
void | setExchangeMode (int mode) |
|
idx_t | schurSize () const |
|
idx_t | totalSize () const |
|
void | getSchurRhs (const Vector &schurRhs, const Vector &totalRhs) const |
|
void | getTotalLhs (const Vector &totalLhs, const Vector &schurLhs, const Vector &totalRhs) const |
|
void | configure (const Properties &props) |
|
void | getConfig (const Properties &conf) const |
|
AbstractMatrix * | getTotalMatrix () const |
|
Constraints * | getTotalCons () const |
|
Constraints * | getSchurCons () const |
|
DofSpace * | getTotalDofSpace () const |
|
SchurDofSpace * | getSchurDofSpace () const |
|
bool | isSquare () const |
| Tests whether this matrix is square. More...
|
|
virtual jem::Class * | getClass () const |
| Returns the Class instance representing the runtime class of this object. More...
|
|
virtual String | toString () const |
| Returns a short textual description of this object. More...
|
|
virtual long | hashValue () const |
| Returns a hash value for this object. More...
|
|
virtual bool | equals (const Ref< Object > &obj) const |
| Tests whether two objects are equal. More...
|
|
Ref< Object > | clone () const |
| Returns a copy of this object. More...
|
|
virtual jive::solver::SchurMatrix::~SchurMatrix |
( |
| ) |
|
|
protectedvirtual |
void jive::solver::SchurMatrix::update |
( |
| ) |
|
bool jive::solver::SchurMatrix::updated |
( |
| ) |
const |
virtual void jive::solver::SchurMatrix::resetEvents |
( |
| ) |
|
|
virtual |
virtual Shape jive::solver::SchurMatrix::shape |
( |
| ) |
const |
|
virtual |
Returns the shape of this matrix. If s
denotes the returned Shape
object, then s
[0] equals the number of rows and s
[1] equals the number of columns in this matrix.
- Returns
- The shape of this matrix.
Implements jive::algebra::AbstractMatrix.
virtual void jive::solver::SchurMatrix::matmul |
( |
const Vector & |
lhs, |
|
|
const Vector & |
rhs |
|
) |
| const |
|
virtual |
Multiplies the vector rhs with this matrix and stores the result in the vector lhs. The sizes of the two vectors must be compatible with the shape of this matrix.
- Parameters
-
lhs | - the result vector. |
rhs | - the vector to be multiplied by this matrix. |
- Precondition
lhs.size() == shape()[0] &&
rhs.size() == shape()[1]
Implements jive::algebra::AbstractMatrix.
virtual void jive::solver::SchurMatrix::multiMatmul |
( |
Matrix & |
lhsVecs, |
|
|
IdxVector & |
lhsTags, |
|
|
const Matrix & |
rhsVecs, |
|
|
const IdxVector & |
rhsTags |
|
) |
| const |
|
virtual |
virtual bool jive::solver::SchurMatrix::hasTrait |
( |
const String & |
trait | ) |
const |
|
virtual |
virtual void* jive::solver::SchurMatrix::getExtByID |
( |
ExtensionID |
extID | ) |
const |
|
virtual |
virtual int jive::solver::SchurMatrix::getExchangeMode |
( |
| ) |
const |
|
virtual |
void jive::solver::SchurMatrix::setExchangeMode |
( |
int |
mode | ) |
|
idx_t jive::solver::SchurMatrix::schurSize |
( |
| ) |
const |
idx_t jive::solver::SchurMatrix::totalSize |
( |
| ) |
const |
void jive::solver::SchurMatrix::getSchurRhs |
( |
const Vector & |
schurRhs, |
|
|
const Vector & |
totalRhs |
|
) |
| const |
void jive::solver::SchurMatrix::getTotalLhs |
( |
const Vector & |
totalLhs, |
|
|
const Vector & |
schurLhs, |
|
|
const Vector & |
totalRhs |
|
) |
| const |
void jive::solver::SchurMatrix::configure |
( |
const Properties & |
props | ) |
|
void jive::solver::SchurMatrix::getConfig |
( |
const Properties & |
conf | ) |
const |
Constraints * jive::solver::SchurMatrix::getTotalCons |
( |
| ) |
const |
Constraints * jive::solver::SchurMatrix::getSchurCons |
( |
| ) |
const |
DofSpace * jive::solver::SchurMatrix::getTotalDofSpace |
( |
| ) |
const |
SchurDofSpace * jive::solver::SchurMatrix::getSchurDofSpace |
( |
| ) |
const |