27#ifndef SPICE_CIRCUIT_MODEL_H
28#define SPICE_CIRCUIT_MODEL_H
93 bool ParsePZCommand(
const wxString& aCmd, wxString* transferFunction, wxString* input,
94 wxString* inputRef, wxString* output, wxString* outputRef,
98 wxString* aSource, wxString* aScale,
SPICE_VALUE* aPts,
115 void WriteDirectives(
const wxString& aSimCommand,
unsigned aSimOptions,
bool DoWriteNetlist(const wxString &aSimCommand, unsigned aSimOptions, OUTPUTFORMATTER &aFormatter, REPORTER &aReporter)
Write the netlist in aFormatter.
A pure virtual class used to derive REPORTER objects from.
Special netlist exporter flavor that allows one to override simulation commands.
bool ParsePZCommand(const wxString &aCmd, wxString *transferFunction, wxString *input, wxString *inputRef, wxString *output, wxString *outputRef, SPICE_PZ_ANALYSES *analyses)
static bool IsSimCommand(const wxString &aCmd)
Determine if a directive is a simulation command.
bool ParseDCCommand(const wxString &aCmd, SPICE_DC_PARAMS *aSource1, SPICE_DC_PARAMS *aSource2)
Parse a two-source .dc command directive into its symbols.
static SIM_TYPE CommandToSimType(const wxString &aCmd)
Return simulation type basing on a simulation command directive.
bool ParseNoiseCommand(const wxString &aCmd, wxString *aOutput, wxString *aRef, wxString *aSource, wxString *aScale, SPICE_VALUE *aPts, SPICE_VALUE *aFStart, SPICE_VALUE *aFStop, bool *aSaveAll)
void WriteDirectives(const wxString &aSimCommand, unsigned aSimOptions, OUTPUTFORMATTER &aFormatter) const override
bool GetNetlist(const wxString &aCommand, unsigned aOptions, OUTPUTFORMATTER *aFormatter, REPORTER &aReporter)
SPICE_CIRCUIT_MODEL(SCHEMATIC_IFACE *aSchematic)
wxString GetSchTextSimCommand()
Return simulation command directives placed in schematic sheets (if any).
SIM_TRACE_TYPE VectorToSignal(const std::string &aVector, wxString &aSignal) const
Return name of Spice dataset for a specific trace.
virtual ~SPICE_CIRCUIT_MODEL()
Helper class to recognize Spice formatted values.
SIM_TYPE
< Possible simulation types