1 /* delays.h 2 3 Originally written by Frederic Bois 4 5 Copyright (c) 2015-2017 Free Software Foundation, Inc. 6 7 This file is part of GNU MCSim. 8 9 GNU MCSim is free software; you can redistribute it and/or 10 modify it under the terms of the GNU General Public License 11 as published by the Free Software Foundation; either version 3 12 of the License, or (at your option) any later version. 13 14 GNU MCSim is distributed in the hope that it will be useful, 15 but WITHOUT ANY WARRANTY; without even the implied warranty of 16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 17 GNU General Public License for more details. 18 19 You should have received a copy of the GNU General Public License 20 along with GNU MCSim; if not, see <http://www.gnu.org/licenses/> 21 22 Header file for the "delays.c" file, dealing with delay differential eqns. 23 */ 24 25 #ifndef DELAYS_H_DEFINED 26 27 /* ---------------------------------------------------------------------------- 28 Inclusions 29 */ 30 31 #include "sim.h" 32 33 34 /* ---------------------------------------------------------------------------- 35 Globals 36 */ 37 38 extern BOOL bDelays; 39 40 41 /* ---------------------------------------------------------------------------- 42 Prototypes */ 43 44 double CalcDelay (HVAR hvar, double dTime, double delay); 45 void InitDelays (double dTime); 46 void StoreDelayed (double t /*, long *neq, double *y*/); 47 48 #define DELAYS_H_DEFINED 49 #endif /* DELAYS_H_DEFINED */ 50 51 /* End */ 52 53