MFEM v2.0
Public Member Functions | Protected Attributes
Operator Class Reference

Abstract operator. More...

#include <operator.hpp>

Inheritance diagram for Operator:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 Operator (int s=0)
 Construct Operator with given size s (default 0)
int Size () const
 Returns the size of the input.
virtual void Mult (const Vector &x, Vector &y) const =0
 Operator application.
virtual void MultTranspose (const Vector &x, Vector &y) const
 Action of the transpose operator.
void PrintMatlab (ostream &out, int n=0, int m=0)
 Prints operator with input size n and output size m in matlab format.
virtual ~Operator ()

Protected Attributes

int size

Detailed Description

Abstract operator.

Definition at line 18 of file operator.hpp.


Constructor & Destructor Documentation

Operator::Operator ( int  s = 0) [inline, explicit]

Construct Operator with given size s (default 0)

Definition at line 25 of file operator.hpp.

References size.

virtual Operator::~Operator ( ) [inline, virtual]

Definition at line 40 of file operator.hpp.


Member Function Documentation

virtual void Operator::Mult ( const Vector x,
Vector y 
) const [pure virtual]
virtual void Operator::MultTranspose ( const Vector x,
Vector y 
) const [inline, virtual]

Action of the transpose operator.

Reimplemented in MixedBilinearForm, DenseMatrix, HypreParMatrix, TransposeOperator, and SparseMatrix.

Definition at line 34 of file operator.hpp.

References mfem_error().

void Operator::PrintMatlab ( ostream &  out,
int  n = 0,
int  m = 0 
)

Prints operator with input size n and output size m in matlab format.

Definition at line 18 of file operator.cpp.

References Mult(), and size.

int Operator::Size ( ) const [inline]

Member Data Documentation

int Operator::size [protected]

Definition at line 21 of file operator.hpp.

Referenced by SparseMatrix::Add(), SparseMatrix::AddMult(), DenseMatrix::AddMult(), SparseMatrix::AddMultTranspose(), SparseMatrix::AddRow(), SparseMatrix::AddSubMatrix(), DenseMatrix::AddToVector(), DiscreteLinearOperator::Assemble(), MixedBilinearForm::Assemble(), BilinearForm::Assemble(), BilinearForm::AssembleElementMatrix(), BilinearForm::BilinearForm(), DenseMatrix::ClearExternalData(), SparseMatrix::CountSmallElems(), DenseMatrix::DenseMatrix(), DenseMatrixInverse::DenseMatrixInverse(), SparseMatrix::EliminateCol(), SparseMatrix::EliminateCols(), SparseMatrix::EliminateRow(), SparseMatrix::EliminateRowCol(), SparseMatrix::EliminateRowColMultipleRHS(), BilinearForm::EliminateVDofs(), SparseMatrix::EliminateZeroRows(), DenseMatrixInverse::Factor(), SparseMatrix::Finalize(), SparseMatrix::Gauss_Seidel_back(), SparseMatrix::Gauss_Seidel_forw(), SparseMatrix::GetBlocks(), DenseMatrix::GetFromVector(), SparseMatrix::GetJacobiScaling(), SparseMatrix::GetRowSums(), SparseMatrix::GetSubMatrix(), DenseMatrix::GradToDiv(), IdentityOperator::IdentityOperator(), SparseMatrix::InnerProduct(), DenseMatrix::InnerProduct(), DenseMatrix::Invert(), SparseMatrix::IsSymmetric(), SparseMatrix::Jacobi(), SparseMatrix::Jacobi2(), Matrix::Matrix(), MatrixInverse::MatrixInverse(), SparseMatrix::MaxNorm(), DenseMatrixInverse::Mult(), Mult(), DenseMatrix::Mult(), DenseMatrix::MultTranspose(), SparseMatrix::NumNonZeroElems(), Operator(), SparseMatrix::operator()(), DenseMatrix::operator()(), DenseMatrix::operator*(), SparseMatrix::operator+=(), DenseMatrix::operator+=(), DenseMatrix::operator-=(), SparseMatrix::operator=(), DenseMatrix::operator=(), SparseMatrix::Print(), Matrix::Print(), DenseMatrix::Print(), SparseMatrix::PrintCSR(), SparseMatrix::PrintCSR2(), SparseMatrix::PrintMatlab(), PrintMatlab(), SparseMatrix::PrintMM(), DenseMatrix::PrintT(), SparseMatrix::Set(), SparseMatrix::SetDiagIdentity(), DenseMatrix::SetSize(), SparseMatrix::SetSubMatrix(), SparseMatrix::SetSubMatrixTranspose(), Size(), SparseMatrix::Symmetrize(), DenseMatrix::TestInversion(), DenseMatrix::Trace(), TransposeOperator::TransposeOperator(), MixedBilinearForm::Update(), BilinearForm::Update(), DenseMatrix::UseExternalData(), DenseMatrix::Width(), and SparseMatrix::~SparseMatrix().


The documentation for this class was generated from the following files:
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Defines