Class ComplexCurrentExport
This class can export complex currents.
Inherited Members
Namespace: SpiceSharp.Simulations
Assembly: SpiceSharp.dll
Syntax
public class ComplexCurrentExport : Export<Complex>, IExport<Complex>
Constructors
ComplexCurrentExport(ISimulation, Reference)
Initializes a new instance of the ComplexCurrentExport class.
Declaration
public ComplexCurrentExport(ISimulation simulation, Reference source)
Parameters
Type | Name | Description |
---|---|---|
ISimulation | simulation | The simulation. |
Reference | source | The source name. |
Exceptions
Type | Condition |
---|---|
ArgumentNullException | Thrown if |
ArgumentException | Thrown if |
Properties
Source
Gets the name of the voltage source.
Declaration
public Reference Source { get; }
Property Value
Type | Description |
---|---|
Reference |
Methods
BuildExtractor(ISimulation)
Builds the extractor for the given simulation.
Declaration
protected override Func<Complex> BuildExtractor(ISimulation simulation)
Parameters
Type | Name | Description |
---|---|---|
ISimulation | simulation | The simulation. |
Returns
Type | Description |
---|---|
Func<Complex> | The extractor. |
Overrides
ToString()
Converts the export to a string.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
string | Returns the string representation. |
Overrides
Implements
Extension Methods
See Also
Export<T>