![]() |
MoCSI API Reference
|
Class that manages the assembly of the global linear system of equations to be passed to the solver. More...
#include <MatrixManager.h>

Public Member Functions | |
| MatrixManager (int size, SimulationClassBase< T > *sim, std::shared_ptr< MatrixFactory< T > > matrix_factory) | |
| Constructor for MatrixManager. | |
| void | assembleGlobalLse (std::shared_ptr< GenericMatrix< T > > capacitance_matrix, std::shared_ptr< GenericMatrix< T > > stiffness_matrix, std::valarray< T > &forcing_vector) |
| Function which assembles the global linear system of equations from the global FEM matrices. | |
Public Attributes | |
| std::shared_ptr< GenericMatrix< T > > | lhs_matrix {} |
| std::valarray< T > | rhs_vector {} |
Class that manages the assembly of the global linear system of equations to be passed to the solver.
| MatrixManager< T >::MatrixManager | ( | int | size, |
| SimulationClassBase< T > * | sim, | ||
| std::shared_ptr< MatrixFactory< T > > | matrix_factory | ||
| ) |
Constructor for MatrixManager.
| void MatrixManager< T >::assembleGlobalLse | ( | std::shared_ptr< GenericMatrix< T > > | capacitance_matrix, |
| std::shared_ptr< GenericMatrix< T > > | stiffness_matrix, | ||
| std::valarray< T > & | forcing_vector | ||
| ) |
Function which assembles the global linear system of equations from the global FEM matrices.
| capacitance_matrix | The global capacitance matrix. |
| stiffness_matrix | The global stiffness matrix. |
| forcing_vector | The global forcing vector. |
| std::shared_ptr<GenericMatrix<T> > MatrixManager< T >::lhs_matrix {} |
| std::valarray<T> MatrixManager< T >::rhs_vector {} |