MFEM v2.0
|
Abstract operator. More...
#include <operator.hpp>
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 |
Abstract operator.
Definition at line 18 of file operator.hpp.
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.
Operator application.
Implemented in BilinearForm, MixedBilinearForm, DenseMatrix, DenseMatrixInverse, HypreParMatrix, HypreSolver, IdentityOperator, TransposeOperator, SparseMatrix, GSSmoother, and DSmoother.
Referenced by aGMRES(), BiCGSTAB(), CG(), GMRES(), PCG(), PrintMatlab(), and SLI().
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.
int Operator::Size | ( | ) | const [inline] |
Returns the size of the input.
Definition at line 28 of file operator.hpp.
References size.
Referenced by Add(), DenseMatrix::Add(), aGMRES(), BiCGSTAB(), CalcAdjugate(), CalcAdjugateTranspose(), CalcInverseTranspose(), DenseMatrix::CopyMN(), DenseMatrix::CopyMNt(), DenseMatrix::CopyRows(), DenseMatrixEigensystem::DenseMatrixEigensystem(), DetOfLinComb(), dsyev_Eigensystem(), dsyevr_Eigensystem(), DenseMatrixEigensystem::Eval(), DenseMatrix::FNorm(), GridFunction::GetDivergence(), GridFunction::GetVectorGradient(), GMRES(), DenseMatrix::Invert(), Mult(), MultAAt(), MultAtB(), MultVWt(), DenseMatrix::Neg(), DenseMatrix::Norm2(), DenseMatrix::operator*=(), DenseMatrix::operator=(), DenseMatrix::SetSize(), Transpose(), DenseMatrix::Transpose(), and TransposeOperator::TransposeOperator().
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().