|
JUK1
|
A helper struct to store the preallocated stamps for MNA. More...
#include <Component.hpp>
Public Member Functions | |
| Stamp (size_t _sizeG_A, size_t _sizeG_D) | |
| Sets the initial size of the stamp pair. More... | |
| void | clear () |
| Clears the stamps to 0s. More... | |
| void | add (const Stamp< T > &rhs) |
| Combines two stamps together into the current stamp. This is not done via the operator, as it has side-effects. More... | |
| void | addStaticStamp (const std::shared_ptr< Component< T > > &rhs) |
| A helper function to add a static component to the stamp. More... | |
| void | addDynamicStamp (const std::shared_ptr< Component< T > > &rhs, const Matrix< T > &solutionMatrix, const size_t currentSolutionIndex, T timestep) |
| A helper function to add a dynamic component to the stamp. More... | |
| void | addNonLinearStamp (const std::shared_ptr< Component< T > > &rhs, const Matrix< T > &solutionMatrix, const size_t currentSolutionIndex, T timestep=0) |
| A helper function to add a non-linear component to the stamp. More... | |
| void | addDCAnalysisStamp (const std::shared_ptr< Component< T > > &rhs, const Matrix< T > &solutionMatrix, const size_t numCurrents) |
| A helper function to add a DC component to the stamp. More... | |
| Matrix< T > | solve () |
| An alias for left dividing G by s. More... | |
Public Attributes | |
| size_t | sizeG_A |
| size_t | sizeG_D |
| Matrix< T > | G |
| Matrix< T > | s |
A helper struct to store the preallocated stamps for MNA.
| T | The value type |
The matrix has the following structure:
/// | G_A | G_B | /// G = ------|------ /// | G_C | G_D |
Definition at line 23 of file Component.hpp.
Sets the initial size of the stamp pair.
| _sizeG_A | Size of the voltage dependence portion of the stamps (Group I) |
| _sizeG_D | Size of the current dependence portion of the stamps (Group II) |
Definition at line 36 of file Component.hpp.
Combines two stamps together into the current stamp. This is not done via the operator, as it has side-effects.
| rhs | The stamps to add to the current stamp |
Definition at line 52 of file Component.hpp.
|
inline |
A helper function to add a DC component to the stamp.
| rhs | Component to be added |
Definition at line 88 of file Component.hpp.
|
inline |
A helper function to add a dynamic component to the stamp.
| rhs | Component to be added |
Definition at line 67 of file Component.hpp.
|
inline |
A helper function to add a non-linear component to the stamp.
| rhs | Component to be added |
Definition at line 77 of file Component.hpp.
|
inline |
A helper function to add a static component to the stamp.
| rhs | Component to be added |
Definition at line 60 of file Component.hpp.
|
inline |
Clears the stamps to 0s.
Definition at line 43 of file Component.hpp.
An alias for left dividing G by s.
Definition at line 96 of file Component.hpp.
Definition at line 27 of file Component.hpp.
Definition at line 28 of file Component.hpp.
| size_t Stamp< T >::sizeG_A |
Definition at line 24 of file Component.hpp.
| size_t Stamp< T >::sizeG_D |
Definition at line 25 of file Component.hpp.