//************************************************************************************************** // SimnNgSpice.cpp * // ----------------- * // Started : 2008-05-07 * // Last Update : 2015-04-09 * // Copyright : (C) 2008-2016 MSWaters * //************************************************************************************************** //************************************************************************************************** // * // This program is free software; you can redistribute it and/or modify it under the * // terms of the GNU General Public License as published by the Free Software Foundation; * // either version 3 of the License, or (at your option) any later version. * // * //************************************************************************************************** #include "SimnNgSpice.hpp" //************************************************************************************************** // Constructor. SimnNgSpice::SimnNgSpice( void ) : SimnBase( ) { m_eSimEng = eSIMR_NGSPICE; // Initialize all object attributes bClear( ); } //************************************************************************************************** // Destructor. SimnNgSpice::~SimnNgSpice( ) { } //************************************************************************************************** // Extract the simulator engine and return true if it's NG-Spice. // // Return Values : // true - Success // false - Failure bool SimnNgSpice::bLoadSimEng( void ) { wxString os1; size_t sz1; // Scan the circuit description for simulator type for( sz1=0; sz1