MFEM v4.8.0
Finite element discretization library
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Pages
mfem::BatchedLinAlgBase Class Referenceabstract

Abstract base clase for batched linear algebra operations. More...

#include <batched.hpp>

Inheritance diagram for mfem::BatchedLinAlgBase:
[legend]

Public Types

using Op = BatchedLinAlg::Op
 

Public Member Functions

virtual void AddMult (const DenseTensor &A, const Vector &x, Vector &y, real_t alpha=1.0, real_t beta=1.0, Op op=Op::N) const =0
 See BatchedLinAlg::AddMult.
 
virtual void Mult (const DenseTensor &A, const Vector &x, Vector &y) const
 See BatchedLinAlg::Mult.
 
virtual void MultTranspose (const DenseTensor &A, const Vector &x, Vector &y) const
 See BatchedLinAlg::MultTranspose.
 
virtual void Invert (DenseTensor &A) const =0
 See BatchedLinAlg::Invert.
 
virtual void LUFactor (DenseTensor &A, Array< int > &P) const =0
 See BatchedLinAlg::LUFactor.
 
virtual void LUSolve (const DenseTensor &LU, const Array< int > &P, Vector &x) const =0
 See BatchedLinAlg::LUSolve.
 
virtual ~BatchedLinAlgBase ()
 Virtual destructor.
 

Detailed Description

Abstract base clase for batched linear algebra operations.

Definition at line 121 of file batched.hpp.

Member Typedef Documentation

◆ Op

Definition at line 124 of file batched.hpp.

Constructor & Destructor Documentation

◆ ~BatchedLinAlgBase()

virtual mfem::BatchedLinAlgBase::~BatchedLinAlgBase ( )
inlinevirtual

Virtual destructor.

Definition at line 142 of file batched.hpp.

Member Function Documentation

◆ AddMult()

virtual void mfem::BatchedLinAlgBase::AddMult ( const DenseTensor & A,
const Vector & x,
Vector & y,
real_t alpha = 1.0,
real_t beta = 1.0,
Op op = Op::N ) const
pure virtual

◆ Invert()

virtual void mfem::BatchedLinAlgBase::Invert ( DenseTensor & A) const
pure virtual

◆ LUFactor()

virtual void mfem::BatchedLinAlgBase::LUFactor ( DenseTensor & A,
Array< int > & P ) const
pure virtual

◆ LUSolve()

virtual void mfem::BatchedLinAlgBase::LUSolve ( const DenseTensor & LU,
const Array< int > & P,
Vector & x ) const
pure virtual

◆ Mult()

void mfem::BatchedLinAlgBase::Mult ( const DenseTensor & A,
const Vector & x,
Vector & y ) const
virtual

See BatchedLinAlg::Mult.

Definition at line 110 of file batched.cpp.

◆ MultTranspose()

void mfem::BatchedLinAlgBase::MultTranspose ( const DenseTensor & A,
const Vector & x,
Vector & y ) const
virtual

See BatchedLinAlg::MultTranspose.

Definition at line 116 of file batched.cpp.


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