|
CppNoddy
0.92
|
A linear system class for vector right-hand sides. More...
#include <BandedLinearSystem.h>
Public Member Functions | |
| BandedLinearSystem (BandedMatrix< _Type > *Aptr, DenseVector< _Type > *Bptr, std::string which="native") | |
| Constructor for a banded linear system object. More... | |
| ~BandedLinearSystem () | |
| Destructor for a linear system object. More... | |
| void | solve () |
| Solve the banded system. More... | |
| void | re_solve_lapack () |
| Resolve the banded system. More... | |
| int | get_det_sign () const |
| Get the sign of the determinant of the LHS matrix from the linear system just computed. More... | |
| void | set_monitor_det (bool flag) |
| Store the sign of the determinant of the LHS matrix every time a solve is requested on a real system. More... | |
| void | re_solve_lapack () |
A linear system class for vector right-hand sides.
The class is constructed for dense typed problems of the form
![\[ A_{NxN} \,{\underline x}_i = B_{1xN} \]](form_0.png)
.
Definition at line 15 of file BandedLinearSystem.h.
| CppNoddy::BandedLinearSystem< _Type >::BandedLinearSystem | ( | BandedMatrix< _Type > * | Aptr, |
| DenseVector< _Type > * | Bptr, | ||
| std::string | which = "native" |
||
| ) |
Constructor for a banded linear system object.
| Aptr | A pointer to the 'A matrix', an NxN double/complex banded matrix |
| Bptr | A pointer to the 'B vector' a size N double/complex dense vector |
| which | A string that indicates which solver to use |
Definition at line 18 of file BandedLinearSystem.cpp.
|
inline |
| int CppNoddy::BandedLinearSystem< _Type >::get_det_sign |
Get the sign of the determinant of the LHS matrix from the linear system just computed.
Definition at line 239 of file BandedLinearSystem.cpp.
Referenced by CppNoddy::ODE_BVP< _Type, _Xtype >::arclength_solve().
| void CppNoddy::BandedLinearSystem< _Type >::re_solve_lapack | ( | ) |
Resolve the banded system.
| void CppNoddy::BandedLinearSystem< double >::re_solve_lapack | ( | ) |
Definition at line 89 of file BandedLinearSystem.cpp.
| void CppNoddy::BandedLinearSystem< _Type >::set_monitor_det | ( | bool | flag | ) |
Store the sign of the determinant of the LHS matrix every time a solve is requested on a real system.
| flag | The boolean value to set. |
Definition at line 244 of file BandedLinearSystem.cpp.
Referenced by CppNoddy::ODE_BVP< _Type, _Xtype >::arclength_solve().
| void CppNoddy::BandedLinearSystem< _Type >::solve |
Solve the banded system.
Definition at line 34 of file BandedLinearSystem.cpp.
Referenced by CppNoddy::ODE_BVP< _Type, _Xtype >::arclength_solve(), CppNoddy::reversed_BL< _Type >::bidirectional_step2(), main(), CppNoddy::PDE_double_IBVP< _Type >::step2(), CppNoddy::PDE_IBVP< _Type >::step2(), and CppNoddy::reversed_BL< _Type >::step2().
1.9.5
© 2012
R.E. Hewitt