![]() |
MoCSI API Reference
|
Implementation of the Tridiagonal Matrix Algorithm (TDMA) to solve 1D cases. More...
#include <TridiagonalMatrixSolver.h>


Public Member Functions | |
| TridiagonalMatrixSolver (SimulationClassBase< T > *sim_ptr, std::shared_ptr< MatrixManager< T > > matrix_manager_ptr) | |
| Constructor of the TDMA algorithm implementation. | |
| void | solveMatrixSystem (std::string_view field_name) override |
| Standard serialized implementation of the TDMA. Solves a tridiagonal linear system of equations in O(n) time. | |
Public Member Functions inherited from SolverInterface< T > | |
| SolverInterface (SimulationClassBase< T > *sim, std::shared_ptr< MatrixManager< T > > matrix_manager_ptr) | |
| virtual | ~SolverInterface ()=default |
Additional Inherited Members | |
Protected Attributes inherited from SolverInterface< T > | |
| SimulationClassBase< T > * | sim {} |
| std::shared_ptr< MatrixManager< T > > | m_matrix_manager {} |
Implementation of the Tridiagonal Matrix Algorithm (TDMA) to solve 1D cases.
| TridiagonalMatrixSolver< T >::TridiagonalMatrixSolver | ( | SimulationClassBase< T > * | sim_ptr, |
| std::shared_ptr< MatrixManager< T > > | matrix_manager_ptr | ||
| ) |
Constructor of the TDMA algorithm implementation.
| sim_ptr | Pointer to the sim class. |
|
overridevirtual |
Standard serialized implementation of the TDMA. Solves a tridiagonal linear system of equations in O(n) time.
Implements SolverInterface< T >.