Jive reference manual
List of all members | Public Member Functions | Protected Member Functions
jive::solver::CoarseMatrix Class Reference

#include <jive/solver/CoarseMatrix.h>

Inheritance diagram for jive::solver::CoarseMatrix:
Inheritance graph

Public Member Functions

 CoarseMatrix (const String &name, Ref< AbstractMatrix > inner, Ref< CoarseDofSpace > dofs)
 
void update ()
 
bool updated () const
 
virtual void resetEvents ()
 
virtual Shape shape () const
 Returns the shape of this matrix. More...
 
virtual void matmul (const Vector &lhs, const Vector &rhs) const
 
virtual bool hasTrait (const String &trait) const
 
AbstractMatrixgetInner () const
 
RestrictorgetRestrictor () const
 
CoarseDofSpacegetCoarseDofs () const
 
idx_t assemble (Matrix &cmat) const
 
- Public Member Functions inherited from jive::algebra::AbstractMatrix
virtual void matmul (const Vector &lhs, const Vector &rhs) const =0
 Matrix-vector multiplication. More...
 
bool isSquare () const
 Tests whether this matrix is square. More...
 
virtual jem::ClassgetClass () const
 Returns the Class instance representing the runtime class of this object. More...
 
- Public Member Functions inherited from jem::Object
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< Objectclone () const
 Returns a copy of this object. More...
 

Protected Member Functions

virtual ~CoarseMatrix ()
 
- Protected Member Functions inherited from jem::Collectable
 Collectable ()
 Creates an empty Collectable. More...
 
 ~Collectable ()
 Frees resources. More...
 

Additional Inherited Members

- Public Types inherited from jive::algebra::AbstractMatrix
typedef AbstractMatrix Self
 The type of this class. More...
 
typedef jem::Tuple< int, 2 > Shape
 A type representing the shape of a matrix. More...
 
typedef util::Vector Vector
 A vector type. More...
 
- Static Public Member Functions inherited from jive::algebra::AbstractMatrix
static jem::ClassgetType ()
 
- Static Public Member Functions inherited from jem::Object
static ClassgetType ()
 Returns the Class instance representing the Object class. More...
 
- Public Attributes inherited from jive::algebra::AbstractMatrix
jem::util::Event< Self & > newShapeEvent
 Signals that the shape of this matrix has changed. More...
 
jem::util::Event< Self & > newValuesEvent
 Signals that the contents of this matrix have been modified. More...
 

Constructor & Destructor Documentation

jive::solver::CoarseMatrix::CoarseMatrix ( const String name,
Ref< AbstractMatrix inner,
Ref< CoarseDofSpace dofs 
)
virtual jive::solver::CoarseMatrix::~CoarseMatrix ( )
protectedvirtual

Member Function Documentation

void jive::solver::CoarseMatrix::update ( )
bool jive::solver::CoarseMatrix::updated ( ) const
virtual void jive::solver::CoarseMatrix::resetEvents ( )
virtual
virtual Shape jive::solver::CoarseMatrix::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::CoarseMatrix::matmul ( const Vector lhs,
const Vector rhs 
) const
virtual
virtual bool jive::solver::CoarseMatrix::hasTrait ( const String trait) const
virtual
AbstractMatrix * jive::solver::CoarseMatrix::getInner ( ) const
Restrictor * jive::solver::CoarseMatrix::getRestrictor ( ) const
CoarseDofSpace * jive::solver::CoarseMatrix::getCoarseDofs ( ) const
idx_t jive::solver::CoarseMatrix::assemble ( Matrix &  cmat) const