DPsim
|
Interface to be implemented by all models used by the MNA solver. More...
#include <MNAInterface.h>
Public Types | |
typedef std::shared_ptr< MNAInterface > | Ptr |
typedef std::vector< Ptr > | List |
Public Member Functions | |
virtual void | mnaInitialize (Real omega, Real timeStep)=0 |
Initializes variables of components. | |
virtual void | mnaInitialize (Real omega, Real timeStep, Attribute< Matrix >::Ptr leftVector)=0 |
virtual void | mnaApplySystemMatrixStamp (SparseMatrixRow &systemMatrix)=0 |
Stamps system matrix. | |
virtual void | mnaApplyRightSideVectorStamp (Matrix &rightVector)=0 |
Stamps right side (source) vector. | |
virtual void | mnaUpdateVoltage (const Matrix &leftVector)=0 |
Update interface voltage from MNA system result. | |
virtual void | mnaUpdateCurrent (const Matrix &leftVector)=0 |
Update interface current from MNA system result. | |
virtual void | mnaPreStep (Real time, Int timeStepCount)=0 |
MNA pre step operations. | |
virtual void | mnaPostStep (Real time, Int timeStepCount, Attribute< Matrix >::Ptr &leftVector)=0 |
MNA post step operations. | |
virtual void | mnaAddPreStepDependencies (AttributeBase::List &prevStepDependencies, AttributeBase::List &attributeDependencies, AttributeBase::List &modifiedAttributes)=0 |
Add MNA pre step dependencies. | |
virtual void | mnaAddPostStepDependencies (AttributeBase::List &prevStepDependencies, AttributeBase::List &attributeDependencies, AttributeBase::List &modifiedAttributes, Attribute< Matrix >::Ptr &leftVector)=0 |
Add MNA post step dependencies. | |
virtual void | mnaInitializeHarm (Real omega, Real timeStep, std::vector< Attribute< Matrix >::Ptr > leftVector)=0 |
Initializes variables of components. | |
virtual void | mnaApplySystemMatrixStampHarm (SparseMatrixRow &systemMatrix, Int freqIdx)=0 |
Stamps system matrix considering the frequency index. | |
virtual void | mnaApplyRightSideVectorStampHarm (Matrix &sourceVector)=0 |
Stamps right side (source) vector considering the frequency index. | |
virtual void | mnaApplyRightSideVectorStampHarm (Matrix &sourceVector, Int freqIdx)=0 |
virtual const Task::List & | mnaTasks () const =0 |
Return list of MNA tasks. | |
virtual Attribute< Matrix >::Ptr | getRightVector () const =0 |
Interface to be implemented by all models used by the MNA solver.
Definition at line 18 of file MNAInterface.h.
typedef std::vector<Ptr> CPS::MNAInterface::List |
Definition at line 21 of file MNAInterface.h.
typedef std::shared_ptr<MNAInterface> CPS::MNAInterface::Ptr |
Definition at line 20 of file MNAInterface.h.
|
pure virtual |
Add MNA pre step dependencies.
Implemented in CPS::MNASimPowerComp< VarType >, CPS::MNASimPowerComp< Complex >, and CPS::MNASimPowerComp< Real >.
|
pure virtual |
Stamps right side (source) vector.
Implemented in CPS::MNASimPowerComp< VarType >, CPS::MNASimPowerComp< Complex >, and CPS::MNASimPowerComp< Real >.
|
pure virtual |
Stamps right side (source) vector considering the frequency index.
Implemented in CPS::MNASimPowerComp< VarType >, CPS::MNASimPowerComp< Complex >, and CPS::MNASimPowerComp< Real >.
|
pure virtual |
Stamps system matrix.
Implemented in CPS::MNASimPowerComp< VarType >, CPS::MNASimPowerComp< Complex >, and CPS::MNASimPowerComp< Real >.
|
pure virtual |
Stamps system matrix considering the frequency index.
Implemented in CPS::MNASimPowerComp< VarType >, CPS::MNASimPowerComp< Complex >, and CPS::MNASimPowerComp< Real >.
|
pure virtual |
Initializes variables of components.
Implemented in CPS::MNASimPowerComp< VarType >, CPS::MNASimPowerComp< Complex >, and CPS::MNASimPowerComp< Real >.
|
pure virtual |
MNA pre step operations.
Implemented in CPS::MNASimPowerComp< VarType >, CPS::MNASimPowerComp< Complex >, and CPS::MNASimPowerComp< Real >.
|
pure virtual |
Return list of MNA tasks.
Implemented in CPS::MNASimPowerComp< VarType >, CPS::MNASimPowerComp< Complex >, and CPS::MNASimPowerComp< Real >.
|
pure virtual |
Update interface current from MNA system result.
Implemented in CPS::MNASimPowerComp< VarType >, CPS::MNASimPowerComp< Complex >, and CPS::MNASimPowerComp< Real >.
|
pure virtual |
Update interface voltage from MNA system result.
Implemented in CPS::MNASimPowerComp< VarType >, CPS::MNASimPowerComp< Complex >, and CPS::MNASimPowerComp< Real >.