DPsim
Loading...
Searching...
No Matches
CPS::MNAStampUtils Class Reference

Static Public Member Functions

static void stampConductance (Real conductance, SparseMatrixRow &mat, UInt node1Index, UInt node2Index, Bool isTerminal1NotGrounded, Bool isTerminal2NotGrounded, const Logger::Log &mSLog)
 
static void stampAdmittance (Complex admittance, SparseMatrixRow &mat, UInt node1Index, UInt node2Index, Bool isTerminal1NotGrounded, Bool isTerminal2NotGrounded, const Logger::Log &mSLog, Int maxFreq=1, Int freqIdx=0)
 
static void stampConductanceMatrix (const Matrix &conductanceMat, SparseMatrixRow &mat, UInt node1Index, UInt node2Index, Bool isTerminal1NotGrounded, Bool isTerminal2NotGrounded, const Logger::Log &mSLog)
 
static void stamp3x3ConductanceMatrixBetween2Nodes (const Matrix &conductanceMat, SparseMatrixRow &mat, UInt node1Index, UInt node2Index, const Logger::Log &mSLog)
 
static void stamp3x3ConductanceMatrixNodeToGround (const Matrix &conductanceMat, SparseMatrixRow &mat, UInt nodeIndex, const Logger::Log &mSLog)
 
static void stampAdmittanceMatrix (const MatrixComp &admittanceMat, SparseMatrixRow &mat, UInt node1Index, UInt node2Index, Bool isTerminal1NotGrounded, Bool isTerminal2NotGrounded, const Logger::Log &mSLog, Int maxFreq=1, Int freqIdx=0)
 
static void stampConductanceAs3x3ScalarMatrix (Real conductance, SparseMatrixRow &mat, UInt node1Index, UInt node2Index, Bool isTerminal1NotGrounded, Bool isTerminal2NotGrounded, const Logger::Log &mSLog)
 Stamps conductance as a 3x3 scalar matrix (a diagonal matrix, where all diagonal elements are equal to conductance).
 
static void stampAdmittanceAs3x3ScalarMatrix (Complex admittance, SparseMatrixRow &mat, UInt node1Index, UInt node2Index, Bool isTerminal1NotGrounded, Bool isTerminal2NotGrounded, const Logger::Log &mSLog, Int maxFreq=1, Int freqIdx=0)
 Stamps admittance as a 3x3 scalar matrix (a diagonal matrix, where all diagonal elements are equal to admittance).
 

Detailed Description

Definition at line 7 of file MNAStampUtils.h.

Member Function Documentation

◆ stamp3x3ConductanceMatrixBetween2Nodes()

void MNAStampUtils::stamp3x3ConductanceMatrixBetween2Nodes ( const Matrix & conductanceMat,
SparseMatrixRow & mat,
UInt node1Index,
UInt node2Index,
const Logger::Log & mSLog )
static

Definition at line 47 of file MNAStampUtils.cpp.

◆ stamp3x3ConductanceMatrixNodeToGround()

void MNAStampUtils::stamp3x3ConductanceMatrixNodeToGround ( const Matrix & conductanceMat,
SparseMatrixRow & mat,
UInt nodeIndex,
const Logger::Log & mSLog )
static

Definition at line 59 of file MNAStampUtils.cpp.

◆ stampAdmittance()

void MNAStampUtils::stampAdmittance ( Complex admittance,
SparseMatrixRow & mat,
UInt node1Index,
UInt node2Index,
Bool isTerminal1NotGrounded,
Bool isTerminal2NotGrounded,
const Logger::Log & mSLog,
Int maxFreq = 1,
Int freqIdx = 0 )
static

Definition at line 18 of file MNAStampUtils.cpp.

◆ stampAdmittanceAs3x3ScalarMatrix()

void MNAStampUtils::stampAdmittanceAs3x3ScalarMatrix ( Complex admittance,
SparseMatrixRow & mat,
UInt node1Index,
UInt node2Index,
Bool isTerminal1NotGrounded,
Bool isTerminal2NotGrounded,
const Logger::Log & mSLog,
Int maxFreq = 1,
Int freqIdx = 0 )
static

Stamps admittance as a 3x3 scalar matrix (a diagonal matrix, where all diagonal elements are equal to admittance).

Definition at line 99 of file MNAStampUtils.cpp.

◆ stampAdmittanceMatrix()

void MNAStampUtils::stampAdmittanceMatrix ( const MatrixComp & admittanceMat,
SparseMatrixRow & mat,
UInt node1Index,
UInt node2Index,
Bool isTerminal1NotGrounded,
Bool isTerminal2NotGrounded,
const Logger::Log & mSLog,
Int maxFreq = 1,
Int freqIdx = 0 )
static

Definition at line 70 of file MNAStampUtils.cpp.

◆ stampConductance()

void MNAStampUtils::stampConductance ( Real conductance,
SparseMatrixRow & mat,
UInt node1Index,
UInt node2Index,
Bool isTerminal1NotGrounded,
Bool isTerminal2NotGrounded,
const Logger::Log & mSLog )
static

Definition at line 5 of file MNAStampUtils.cpp.

◆ stampConductanceAs3x3ScalarMatrix()

void MNAStampUtils::stampConductanceAs3x3ScalarMatrix ( Real conductance,
SparseMatrixRow & mat,
UInt node1Index,
UInt node2Index,
Bool isTerminal1NotGrounded,
Bool isTerminal2NotGrounded,
const Logger::Log & mSLog )
static

Stamps conductance as a 3x3 scalar matrix (a diagonal matrix, where all diagonal elements are equal to conductance).

Definition at line 85 of file MNAStampUtils.cpp.

◆ stampConductanceMatrix()

void MNAStampUtils::stampConductanceMatrix ( const Matrix & conductanceMat,
SparseMatrixRow & mat,
UInt node1Index,
UInt node2Index,
Bool isTerminal1NotGrounded,
Bool isTerminal2NotGrounded,
const Logger::Log & mSLog )
static

Definition at line 33 of file MNAStampUtils.cpp.


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