DPsim
Public Types | Public Member Functions | List of all members
CPS::MNAInterface Class Referenceabstract

Interface to be implemented by all models used by the MNA solver. More...

#include <MNAInterface.h>

Inheritance diagram for CPS::MNAInterface:
[legend]

Public Types

typedef std::shared_ptr< MNAInterfacePtr
 
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
 

Detailed Description

Interface to be implemented by all models used by the MNA solver.

Definition at line 18 of file MNAInterface.h.


The documentation for this class was generated from the following file: