Summary
Remove COO_Matrix from components and system model in PowerElectronics module. Use raw data arrays to store Jacobian matrix elements for individual component models.
Rationale
With improved Jacobian assembly in PowerElectronics module in #339, the COO_Matrix object has become obsolete. It remains only in component models where it is used to store local Jacobian stamps. By replacing COO_Matrix with raw data arrays in component models, we simplify component implementation, make code more readable and eliminate overhead of redundant objects.
Description
- Replace
COO_Matrix object with raw data arrays for matrix row indices, column indices and values.
- Modify
PowerElectronicsModel::evaluateJacobian() method accordingly.
- Remove
COO_Matrix type from all PowerElectronics classes (accessed through Evaluator<ScalarT, IdxT>::MatrixT type).
- Update verification tests accordingly.
Additional information
No response
Summary
Remove
COO_Matrixfrom components and system model in PowerElectronics module. Use raw data arrays to store Jacobian matrix elements for individual component models.Rationale
With improved Jacobian assembly in PowerElectronics module in #339, the
COO_Matrixobject has become obsolete. It remains only in component models where it is used to store local Jacobian stamps. By replacingCOO_Matrixwith raw data arrays in component models, we simplify component implementation, make code more readable and eliminate overhead of redundant objects.Description
COO_Matrixobject with raw data arrays for matrix row indices, column indices and values.PowerElectronicsModel::evaluateJacobian()method accordingly.COO_Matrixtype from all PowerElectronics classes (accessed throughEvaluator<ScalarT, IdxT>::MatrixTtype).Additional information
No response