19 MNAInterface::List mSubcomponentsMNA;
20 MNAInterface::List mSubcomponentsBeforePreStep;
21 MNAInterface::List mSubcomponentsAfterPreStep;
22 MNAInterface::List mSubcomponentsBeforePostStep;
23 MNAInterface::List mSubcomponentsAfterPostStep;
25 std::vector<CPS::Attribute<Matrix>::Ptr> mRightVectorStamps;
29 using Ptr = std::shared_ptr<CompositePowerComp<VarType>>;
30 using List = std::vector<Ptr>;
34 Logger::Level logLevel)
40 Bool hasPostStep =
true,
41 Logger::Level logLevel = Logger::Level::off)
53 MNA_SUBCOMP_TASK_ORDER preStepOrder,
54 MNA_SUBCOMP_TASK_ORDER postStepOrder,
55 Bool contributeToRightVector);
60 Attribute<Matrix>::Ptr leftVector)
override;
69 Attribute<Matrix>::Ptr &leftVector)
override;
72 AttributeBase::List &prevStepDependencies,
73 AttributeBase::List &attributeDependencies,
74 AttributeBase::List &modifiedAttributes)
override;
78 AttributeBase::List &attributeDependencies,
79 AttributeBase::List &modifiedAttributes,
80 Attribute<Matrix>::Ptr &leftVector)
override;
83 virtual void mnaParentInitialize(Real omega, Real timeStep,
84 Attribute<Matrix>::Ptr leftVector){
87 virtual void mnaParentApplySystemMatrixStamp(SparseMatrixRow &systemMatrix){
90 virtual void mnaParentApplyRightSideVectorStamp(Matrix &rightVector){
93 virtual void mnaParentPreStep(Real time, Int timeStepCount){
96 virtual void mnaParentPostStep(Real time, Int timeStepCount,
97 Attribute<Matrix>::Ptr &leftVector){
101 mnaParentAddPreStepDependencies(AttributeBase::List &prevStepDependencies,
102 AttributeBase::List &attributeDependencies,
103 AttributeBase::List &modifiedAttributes){
107 mnaParentAddPostStepDependencies(AttributeBase::List &prevStepDependencies,
108 AttributeBase::List &attributeDependencies,
109 AttributeBase::List &modifiedAttributes,
110 Attribute<Matrix>::Ptr &leftVector){
MNASimPowerComp(String uid, String name, Bool hasPreStep, Bool hasPostStep, Logger::Level logLevel)
Basic constructor that takes UID, name and log level.