Alien  1.3.0
User documentation
Loading...
Searching...
No Matches
Alien::SchurOp Class Reference

Schur elimination operator on a linear system. More...

#include <core/alien/expression/schur/SchurOp.h>

Public Types

enum  eErrorType { NoError , WithErrors }
 Type of algorithm. More...
typedef SimpleCSRMatrix< Arccore::Real > MatrixImpl
 Type of the matrix implementation.
typedef SimpleCSRVector< Arccore::Real > VectorImpl
 Type of the vector implementation.

Public Member Functions

 SchurOp (IMatrix &A, IVector &b)
 Constructor.
virtual ~SchurOp ()
 Free resources.
eErrorType computePrimarySystem (IMatrix &pA, IVector &pb) const
 Shur the linear system.
eErrorType computeSolutionFromPrimaryUnknowns (IVector const &pX, IVector &sX) const

Detailed Description

Schur elimination operator on a linear system.

Definition at line 28 of file SchurOp.h.

Member Typedef Documentation

◆ MatrixImpl

Type of the matrix implementation.

Definition at line 41 of file SchurOp.h.

◆ VectorImpl

Type of the vector implementation.

Definition at line 43 of file SchurOp.h.

Member Enumeration Documentation

◆ eErrorType

Type of algorithm.

Type of the error

Definition at line 34 of file SchurOp.h.

Constructor & Destructor Documentation

◆ SchurOp()

Alien::SchurOp::SchurOp ( IMatrix & A,
IVector & b )

Constructor.

Definition at line 28 of file SchurOp.cc.

◆ ~SchurOp()

virtual Alien::SchurOp::~SchurOp ( )
inlinevirtual

Free resources.

Definition at line 49 of file SchurOp.h.

Member Function Documentation

◆ computePrimarySystem()

SchurOp::eErrorType Alien::SchurOp::computePrimarySystem ( IMatrix & pA,
IVector & pb ) const

Shur the linear system.

Parameters
[in]matrixThe matrix
[in]vectorThe vector
Returns
The eventual error

Definition at line 40 of file SchurOp.cc.

References Alien::IMatrixImpl::block(), Alien::MultiMatrixImpl::get(), Alien::MultiVectorImpl::get(), Alien::IMatrix::impl(), Alien::IVector::impl(), Alien::Block::size(), and Alien::IMatrixImpl::vblock().

◆ computeSolutionFromPrimaryUnknowns()

SchurOp::eErrorType Alien::SchurOp::computeSolutionFromPrimaryUnknowns ( IVector const & pX,
IVector & sX ) const

Definition at line 602 of file SchurOp.cc.


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