MFEM  v3.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Pages
Public Member Functions | List of all members
mfem::DenseMatrixInverse Class Reference

#include <densemat.hpp>

Inheritance diagram for mfem::DenseMatrixInverse:
[legend]
Collaboration diagram for mfem::DenseMatrixInverse:
[legend]

Public Member Functions

 DenseMatrixInverse (const DenseMatrix &mat)
 
 DenseMatrixInverse (const DenseMatrix *mat)
 Same as above but does not factorize the matrix. More...
 
int Size () const
 Get the size of the inverse matrix. More...
 
void Factor ()
 Factor the current DenseMatrix, *a. More...
 
void Factor (const DenseMatrix &mat)
 Factor a new DenseMatrix of the same size. More...
 
virtual void SetOperator (const Operator &op)
 Set/update the solver for the given operator. More...
 
virtual void Mult (const Vector &x, Vector &y) const
 Matrix vector multiplication with inverse of dense matrix. More...
 
virtual ~DenseMatrixInverse ()
 Destroys dense inverse matrix. More...
 
- Public Member Functions inherited from mfem::MatrixInverse
 MatrixInverse ()
 
 MatrixInverse (const Matrix &mat)
 Creates approximation of the inverse of square matrix. More...
 
- Public Member Functions inherited from mfem::Solver
 Solver (int s=0, bool iter_mode=false)
 
 Solver (int h, int w, bool iter_mode=false)
 Initialize a Solver with height 'h' and width 'w'. More...
 
- Public Member Functions inherited from mfem::Operator
 Operator (int s=0)
 Construct a square Operator with given size s (default 0) More...
 
 Operator (int h, int w)
 
int Height () const
 Get the height (size of output) of the Operator. Synonym with NumRows. More...
 
int NumRows () const
 
int Width () const
 Get the width (size of input) of the Operator. Synonym with NumCols. More...
 
int NumCols () const
 
virtual void MultTranspose (const Vector &x, Vector &y) const
 Action of the transpose operator. More...
 
virtual OperatorGetGradient (const Vector &x) const
 Evaluate the gradient operator at the point x. More...
 
void PrintMatlab (std::ostream &out, int n=0, int m=0)
 Prints operator with input size n and output size m in matlab format. More...
 
virtual ~Operator ()
 

Additional Inherited Members

- Public Attributes inherited from mfem::Solver
bool iterative_mode
 If true, use the second argument of Mult as an initial guess. More...
 
- Protected Attributes inherited from mfem::Operator
int height
 
int width
 

Detailed Description

Data type for inverse of square dense matrix. Stores LU factors

Definition at line 337 of file densemat.hpp.

Constructor & Destructor Documentation

mfem::DenseMatrixInverse::DenseMatrixInverse ( const DenseMatrix mat)

Creates square dense matrix. Computes factorization of mat and stores LU factors.

Definition at line 3082 of file densemat.cpp.

mfem::DenseMatrixInverse::DenseMatrixInverse ( const DenseMatrix mat)

Same as above but does not factorize the matrix.

Definition at line 3094 of file densemat.cpp.

mfem::DenseMatrixInverse::~DenseMatrixInverse ( )
virtual

Destroys dense inverse matrix.

Definition at line 3216 of file densemat.cpp.

Member Function Documentation

void mfem::DenseMatrixInverse::Factor ( )

Factor the current DenseMatrix, *a.

Definition at line 3105 of file densemat.cpp.

void mfem::DenseMatrixInverse::Factor ( const DenseMatrix mat)

Factor a new DenseMatrix of the same size.

Definition at line 3147 of file densemat.cpp.

void mfem::DenseMatrixInverse::Mult ( const Vector x,
Vector y 
) const
virtual

Matrix vector multiplication with inverse of dense matrix.

Implements mfem::Operator.

Definition at line 3178 of file densemat.cpp.

void mfem::DenseMatrixInverse::SetOperator ( const Operator op)
virtual

Set/update the solver for the given operator.

Implements mfem::Solver.

Definition at line 3160 of file densemat.cpp.

int mfem::DenseMatrixInverse::Size ( ) const
inline

Get the size of the inverse matrix.

Definition at line 355 of file densemat.hpp.


The documentation for this class was generated from the following files: