61template <
typename VarType>
63 this->mnaCompUpdateVoltage(leftVector);
66template <
typename VarType>
68 this->mnaCompUpdateCurrent(leftVector);
71template <
typename VarType>
73 this->mnaCompPreStep(time, timeStepCount);
76template <
typename VarType>
77void MNASimPowerComp<VarType>::mnaPostStep(Real time, Int timeStepCount,
78 Attribute<Matrix>::Ptr &leftVector) {
79 this->mnaCompPostStep(time, timeStepCount, leftVector);
82template <
typename VarType>
84 AttributeBase::List &prevStepDependencies,
85 AttributeBase::List &attributeDependencies,
86 AttributeBase::List &modifiedAttributes) {
87 this->mnaCompAddPreStepDependencies(
88 prevStepDependencies, attributeDependencies, modifiedAttributes);
91template <
typename VarType>
92void MNASimPowerComp<VarType>::mnaAddPostStepDependencies(
93 AttributeBase::List &prevStepDependencies,
94 AttributeBase::List &attributeDependencies,
95 AttributeBase::List &modifiedAttributes,
96 Attribute<Matrix>::Ptr &leftVector) {
97 this->mnaCompAddPostStepDependencies(prevStepDependencies,
98 attributeDependencies,
99 modifiedAttributes, leftVector);
102template <
typename VarType>
104 SparseMatrixRow &systemMatrix, Int freqIdx) {
105 this->mnaCompApplySystemMatrixStampHarm(systemMatrix, freqIdx);
108template <
typename VarType>
110 Matrix &sourceVector) {
111 this->mnaCompApplyRightSideVectorStampHarm(sourceVector);
114template <
typename VarType>
116 Matrix &sourceVector, Int freqIdx) {
117 this->mnaCompApplyRightSideVectorStampHarm(sourceVector, freqIdx);
120template <
typename VarType>
121void MNASimPowerComp<VarType>::mnaCompInitialize(
122 Real omega, Real timeStep, Attribute<Matrix>::Ptr leftVector) {
126template <
typename VarType>
127void MNASimPowerComp<VarType>::mnaCompApplySystemMatrixStamp(
128 SparseMatrixRow &systemMatrix) {
132template <
typename VarType>
133void MNASimPowerComp<VarType>::mnaCompApplyRightSideVectorStamp(
134 Matrix &rightVector) {
138template <
typename VarType>
139void MNASimPowerComp<VarType>::mnaCompUpdateVoltage(
const Matrix &leftVector) {
143template <
typename VarType>
144void MNASimPowerComp<VarType>::mnaCompUpdateCurrent(
const Matrix &leftVector) {
148template <
typename VarType>
149void MNASimPowerComp<VarType>::mnaCompPreStep(Real time, Int timeStepCount) {
153template <
typename VarType>
154void MNASimPowerComp<VarType>::mnaCompPostStep(
155 Real time, Int timeStepCount, Attribute<Matrix>::Ptr &leftVector) {
159template <
typename VarType>
160void MNASimPowerComp<VarType>::mnaCompAddPreStepDependencies(
161 AttributeBase::List &prevStepDependencies,
162 AttributeBase::List &attributeDependencies,
163 AttributeBase::List &modifiedAttributes) {
167template <
typename VarType>
168void MNASimPowerComp<VarType>::mnaCompAddPostStepDependencies(
169 AttributeBase::List &prevStepDependencies,
170 AttributeBase::List &attributeDependencies,
171 AttributeBase::List &modifiedAttributes,
172 Attribute<Matrix>::Ptr &leftVector) {
176template <
typename VarType>
177void MNASimPowerComp<VarType>::mnaCompInitializeHarm(
178 Real omega, Real timeStep, std::vector<Attribute<Matrix>::Ptr> leftVector) {
182template <
typename VarType>
183void MNASimPowerComp<VarType>::mnaCompApplySystemMatrixStampHarm(
184 SparseMatrixRow &systemMatrix, Int freqIdx) {
188template <
typename VarType>
189void MNASimPowerComp<VarType>::mnaCompApplyRightSideVectorStampHarm(
190 Matrix &sourceVector) {
194template <
typename VarType>
195void MNASimPowerComp<VarType>::mnaCompApplyRightSideVectorStampHarm(
196 Matrix &sourceVector, Int freqIdx) {