![]() |
MoCSI API Reference
|
Class that manages the building of the global capacitance and stiffness matrix and forcing vector from the element wise matrices. More...
#include <ElementManager.h>

Public Member Functions | |
| ElementManager (int size, std::shared_ptr< MatrixFactory< T > > matrix_factory) | |
| Constructor for cases, where the cell list will be set later. | |
| ElementManager (int size, std::vector< std::unique_ptr< GenericElement< T > > > &all_cells, std::shared_ptr< MatrixFactory< T > > matrix_factory) | |
| void | assembleFemMatrices () |
| Calls all the element matrix creation function to assemble the global FEM matrices and vectors. | |
| void | setCells (std::vector< std::unique_ptr< GenericElement< T > > > &all_cells) |
| Does the cell sorting for the cases where the ElementManager has been default constructed. | |
Public Attributes | |
| std::shared_ptr< GenericMatrix< T > > | m_capacitance_matrix {} |
| std::shared_ptr< GenericMatrix< T > > | m_stiffness_matrix {} |
| std::valarray< T > | m_forcing_vector {} |
Class that manages the building of the global capacitance and stiffness matrix and forcing vector from the element wise matrices.
| ElementManager< T >::ElementManager | ( | int | size, |
| std::shared_ptr< MatrixFactory< T > > | matrix_factory | ||
| ) |
Constructor for cases, where the cell list will be set later.
| ElementManager< T >::ElementManager | ( | int | size, |
| std::vector< std::unique_ptr< GenericElement< T > > > & | all_cells, | ||
| std::shared_ptr< MatrixFactory< T > > | matrix_factory | ||
| ) |
Constructor that already sets the interior and boundary cell lists.
| all_cells | The vector containing all created elements as std::unique_ptr. |
| void ElementManager< T >::assembleFemMatrices | ( | ) |
Calls all the element matrix creation function to assemble the global FEM matrices and vectors.
| void ElementManager< T >::setCells | ( | std::vector< std::unique_ptr< GenericElement< T > > > & | all_cells | ) |
Does the cell sorting for the cases where the ElementManager has been default constructed.
| all_cells | The vector containing all created elements as std::unique_ptr. |
| std::shared_ptr<GenericMatrix<T> > ElementManager< T >::m_capacitance_matrix {} |
| std::valarray<T> ElementManager< T >::m_forcing_vector {} |
| std::shared_ptr<GenericMatrix<T> > ElementManager< T >::m_stiffness_matrix {} |