Show / Hide Table of Contents

Interface ICircuitContext

Namespace: SpiceSharpParser.ModelReaders.Netlist.Spice.Context
Assembly: SpiceSharpParser.dll
Syntax
public interface ICircuitContext

Properties

| Improve this Doc View Source

AvailableSubcircuits

Gets the list of available subcircuit for the context.

Declaration
ICollection<SubCircuit> AvailableSubcircuits { get; }
Property Value
Type Description
System.Collections.Generic.ICollection<SubCircuit>
| Improve this Doc View Source

CaseSensitivity

Gets case-sensitivity settings.

Declaration
ISpiceNetlistCaseSensitivitySettings CaseSensitivity { get; }
Property Value
Type Description
ISpiceNetlistCaseSensitivitySettings
| Improve this Doc View Source

Children

Gets the children of the reading context.

Declaration
ICollection<ICircuitContext> Children { get; }
Property Value
Type Description
System.Collections.Generic.ICollection<ICircuitContext>
| Improve this Doc View Source

Evaluator

Gets or set circuit evaluator.

Declaration
ICircuitEvaluator Evaluator { get; }
Property Value
Type Description
ICircuitEvaluator
| Improve this Doc View Source

Exporters

Gets exporter mapper.

Declaration
IMapper<Exporter> Exporters { get; }
Property Value
Type Description
IMapper<Exporter>
| Improve this Doc View Source

ModelsRegistry

Gets the stochastic models registry.

Declaration
IModelsRegistry ModelsRegistry { get; }
Property Value
Type Description
IModelsRegistry
| Improve this Doc View Source

NameGenerator

Gets or set name generator.

Declaration
INameGenerator NameGenerator { get; }
Property Value
Type Description
INameGenerator
| Improve this Doc View Source

Parent

Gets the parent of the context.

Declaration
ICircuitContext Parent { get; }
Property Value
Type Description
ICircuitContext
| Improve this Doc View Source

Result

Gets the result service for the context.

Declaration
IResultService Result { get; }
Property Value
Type Description
IResultService
| Improve this Doc View Source

SimulationPreparations

Gets the simulation parameters.

Declaration
ISimulationPreparations SimulationPreparations { get; }
Property Value
Type Description
ISimulationPreparations
| Improve this Doc View Source

StatementsReader

Gets the statements reader.

Declaration
ISpiceStatementsReader StatementsReader { get; }
Property Value
Type Description
ISpiceStatementsReader
| Improve this Doc View Source

WaveformReader

Gets the waveform reader.

Declaration
IWaveformReader WaveformReader { get; }
Property Value
Type Description
IWaveformReader
| Improve this Doc View Source

WorkingDirectory

Gets working directory.

Declaration
string WorkingDirectory { get; }
Property Value
Type Description
System.String

Methods

| Improve this Doc View Source

CreateNodes(IComponent, ParameterCollection)

Creates nodes for a component.

Declaration
void CreateNodes(IComponent component, ParameterCollection parameters)
Parameters
Type Name Description
SpiceSharp.Components.IComponent component

A component.

ParameterCollection parameters

Parameters of component.

| Improve this Doc View Source

Read(Statements, ISpiceStatementsOrderer)

Reads the statements with given order.

Declaration
void Read(Statements statements, ISpiceStatementsOrderer orderer)
Parameters
Type Name Description
Statements statements

Statements.

ISpiceStatementsOrderer orderer

Orderer of statements.

| Improve this Doc View Source

SetICVoltage(String, String)

Sets the initial voltage.

Declaration
void SetICVoltage(string nodeName, string expression)
Parameters
Type Name Description
System.String nodeName

Node name.

System.String expression

Node voltage expression.

| Improve this Doc View Source

SetParameter(IEntity, String, Parameter, Boolean, Boolean)

Sets parameter of entity to value of expression.

Declaration
void SetParameter(IEntity entity, string parameterName, Parameter valueExpression, bool beforeTemperature = true, bool onload = true)
Parameters
Type Name Description
SpiceSharp.Entities.IEntity entity

Entity.

System.String parameterName

Parameter name.

Parameter valueExpression

Value expression.

System.Boolean beforeTemperature

Should be re-evaluated before temperature.

System.Boolean onload

Should be re-evaluated OnBeforeLoad.

| Improve this Doc View Source

SetParameter(IEntity, String, String, Boolean, Boolean, Simulation)

Sets parameter of entity to value of expression.

Declaration
void SetParameter(IEntity entity, string parameterName, string expression, bool beforeTemperature = true, bool onload = true, Simulation simulation = null)
Parameters
Type Name Description
SpiceSharp.Entities.IEntity entity

Entity.

System.String parameterName

Parameter name.

System.String expression

Value expression.

System.Boolean beforeTemperature

Should be re-evaluated before temperature.

System.Boolean onload

Should be re-evaluated OnBeforeLoad.

SpiceSharp.Simulations.Simulation simulation
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX