48 using Ptr = std::shared_ptr<MNAStateSpaceContributor>;
49 using List = std::vector<Ptr>;
61 UInt stateOffset,
UInt mnaVectorSize)
const = 0;
68 UInt stateOffset)
const {}
std::shared_ptr< MNAInterface > Ptr
static MNAStateSpaceContributor::List createList(const CPS::MNAInterface::List &components)
virtual Bool isVariable() const
Returns true if the local matrices may change during simulation.
std::shared_ptr< MNAStateSpaceContributor > Ptr
virtual UInt getStateCount() const =0
Number of local extraction states contributed by this component.
virtual void stamp(Matrix &AdLocal, Matrix &BdMna, Matrix &CdMna, UInt stateOffset, UInt mnaVectorSize) const =0
Stamp this component's current local state-space contribution.
virtual void contributeMetadata(StateSpaceMetadata &metadata, UInt stateOffset) const
virtual ~MNAStateSpaceContributor()=default
std::array< UInt, 3 > indices
Global extracted-state indices representing one native abc-frame state block.