/*$Id: s__.cc,v 26.19 2007/03/21 01:30:28 al Exp $ -*- C++ -*- * Copyright (C) 2001 Albert Davis * Author: Albert Davis * * This file is part of "Gnucap", the Gnu Circuit Analysis Package * * 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 2, or (at your option) * any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA * 02110-1301, USA. *------------------------------------------------------------------ * base class for simulation methods */ //testing=trivial 2006.07.17 #include "s__.h" double SIM::freq = 0.; COMPLEX SIM::jomega = 0.; double SIM::time0 = 0.; double SIM::time1 = 0.; double SIM::dtmin = 0.; double SIM::temp_c = 0.; double SIM::last_time = 0.; double SIM::damp = 1.0; bool SIM::uic = false; bool SIM::bypass_ok = false; bool SIM::fulldamp = false; bool SIM::limiting = false; bool SIM::freezetime = false; int* SIM::nm = NULL; double* SIM::i = NULL; double* SIM::v0 = NULL; double* SIM::vt1 = NULL; double* SIM::fw = NULL; double* SIM::vdc = NULL; COMPLEX*SIM::ac = NULL; double SIM::genout = 0.; std::priority_queue > SIM::eq; std::deque SIM::evalq1; std::deque SIM::evalq2; std::vector SIM::loadq; std::vector SIM::acceptq; std::deque* SIM::evalq = &SIM::evalq1; std::deque* SIM::evalq_uc = &SIM::evalq2;