Class ModifiedNodalAnalysisHelper<T>
A helper class that is specific to Modified Nodal Analysis.
Inherited Members
Namespace: SpiceSharp.Simulations
Assembly: SpiceSharp.dll
Syntax
public static class ModifiedNodalAnalysisHelper<T>
Type Parameters
Name | Description |
---|---|
T |
Properties
Magnitude
Gets or sets the magnitude method.
Declaration
public static Func<T, double> Magnitude { get; set; }
Property Value
Type | Description |
---|---|
Func<T, double> | The magnitude. |
Methods
ApplyDiagonalGmin(IMatrix<double>, double)
Apply an additional conductance to the diagonal elements of a matrix that is typically constructed using Modified Nodal Analysis (MNA).
Declaration
public static void ApplyDiagonalGmin(IMatrix<double> matrix, double gmin)
Parameters
Type | Name | Description |
---|---|---|
IMatrix<double> | matrix | The matrix. |
double | gmin | The conductance to be added to the diagonal. |
PreorderModifiedNodalAnalysis(ISparseMatrix<T>, int)
Preorders the modified nodal analysis.
Declaration
public static void PreorderModifiedNodalAnalysis(ISparseMatrix<T> matrix, int size)
Parameters
Type | Name | Description |
---|---|---|
ISparseMatrix<T> | matrix | The matrix. |
int | size | The submatrix size to be preordered. |