KiCad PCB EDA Suite
Loading...
Searching...
No Matches
ngspice.cpp File Reference
#include <config.h>
#include <common.h>
#include <locale_io.h>
#include <fmt/core.h>
#include <paths.h>
#include <richio.h>
#include "spice_circuit_model.h"
#include "ngspice.h"
#include "simulator_reporter.h"
#include "spice_settings.h"
#include <wx/stdpaths.h>
#include <wx/dir.h>
#include <wx/log.h>
#include <stdexcept>
#include <algorithm>
#include <signal.h>
#include <pthread.h>

Go to the source code of this file.

Variables

static const wxChar *const traceNgspice = wxT( "KICAD_NGSPICE" )
 Flag to enable debug output of Ngspice simulator.
 
static struct sigaction s_oldSigSegv
 
static struct sigaction s_oldSigAbrt
 
static struct sigaction s_oldSigFpe
 
static bool s_signalHandlersInstalled = false
 
static pthread_t s_mainThread
 

Variable Documentation

◆ s_mainThread

pthread_t s_mainThread
static

Definition at line 805 of file ngspice.cpp.

Referenced by NGSPICE::installSignalHandlers(), and NGSPICE::signalHandler().

◆ s_oldSigAbrt

struct sigaction s_oldSigAbrt
static

◆ s_oldSigFpe

struct sigaction s_oldSigFpe
static

◆ s_oldSigSegv

struct sigaction s_oldSigSegv
static

◆ s_signalHandlersInstalled

bool s_signalHandlersInstalled = false
static

Definition at line 804 of file ngspice.cpp.

Referenced by NGSPICE::installSignalHandlers(), and NGSPICE::restoreSignalHandlers().