Normalize a linear system. More...
#include <core/alien/expression/normalization/NormalizeOpt.h>
Classes | |
| class | LU |
| LU normalization. More... | |
| class | Op |
| Normalize operator. More... | |
| class | Op2 |
| Normalize operator for composite matrices. More... | |
Public Types | |
| enum | eAlgoType { StdLU , EigenLU } |
| Type of algorithm. More... | |
| enum | eOptType { SumFirstEq } |
| Type of the options. More... | |
| enum | eErrorType { NoError , PivotError , WithErrors } |
| Type of the error. More... | |
| typedef SimpleCSRMatrix< Arccore::Real > | MatrixImpl |
| Type of the matrix implementation. | |
| typedef SimpleCSRVector< Arccore::Real > | VectorImpl |
| Type of the vector implementation. | |
Public Member Functions | |
| NormalizeOpt () | |
| Constructor. | |
| virtual | ~NormalizeOpt () |
| Free resources. | |
| void | setAlgo (eAlgoType algo) |
| Set the type of algorithm. | |
| void | setOpt (eOptType opt, bool flag) |
| Set the options. | |
| eErrorType | normalize (IMatrix &matrix, IVector &vector) const |
| Normalize the linear system. | |
| eErrorType | normalize (CompositeMatrix &matrix, CompositeVector &vector, ConstArrayView< Integer > eq_ids) const |
| Normalize a composite linear system. | |
Normalize a linear system.
Definition at line 32 of file NormalizeOpt.h.
| typedef SimpleCSRMatrix<Arccore::Real> Alien::NormalizeOpt::MatrixImpl |
Type of the matrix implementation.
Definition at line 57 of file NormalizeOpt.h.
| typedef SimpleCSRVector<Arccore::Real> Alien::NormalizeOpt::VectorImpl |
Type of the vector implementation.
Definition at line 59 of file NormalizeOpt.h.
Type of algorithm.
Definition at line 36 of file NormalizeOpt.h.
Type of the error.
Definition at line 49 of file NormalizeOpt.h.
Type of the options.
Definition at line 43 of file NormalizeOpt.h.
| Alien::NormalizeOpt::NormalizeOpt | ( | ) |
Constructor.
Definition at line 32 of file NormalizeOpt.cc.
|
inlinevirtual |
Free resources.
Definition at line 65 of file NormalizeOpt.h.
| NormalizeOpt::eErrorType Alien::NormalizeOpt::normalize | ( | CompositeMatrix & | matrix, |
| CompositeVector & | vector, | ||
| ConstArrayView< Integer > | eq_ids ) const |
Normalize a composite linear system.
| [in] | matrix | The composite matrix |
| [in] | vector | The composite vector |
| [in] | eq_ids | The ids of the equations |
Definition at line 75 of file NormalizeOpt.cc.
References Alien::MultiMatrixImpl::get(), Alien::MultiVectorImpl::get(), Alien::CompositeMatrix::impl(), and Alien::CompositeVector::impl().
| NormalizeOpt::eErrorType Alien::NormalizeOpt::normalize | ( | IMatrix & | matrix, |
| IVector & | vector ) const |
Normalize the linear system.
| [in] | matrix | The matrix |
| [in] | vector | The vector |
Definition at line 64 of file NormalizeOpt.cc.
References Alien::MultiMatrixImpl::get(), Alien::MultiVectorImpl::get(), Alien::IMatrix::impl(), and Alien::IVector::impl().
| void Alien::NormalizeOpt::setAlgo | ( | eAlgoType | algo | ) |
Set the type of algorithm.
| [in] | algo | The type of algorithm |
Definition at line 40 of file NormalizeOpt.cc.
| void Alien::NormalizeOpt::setOpt | ( | eOptType | opt, |
| bool | flag ) |
Set the options.
| [in] | opt | The option |
| [in] | flag | Whether or not the option is activated |
Definition at line 48 of file NormalizeOpt.cc.