NEURON
mech_api.h
Go to the documentation of this file.
1
#pragma once
2
/** @brief Header file included in translated mechanism.
3
*
4
* This ensures that all functions that are tacitly part of the NEURON API
5
* usable from .mod files have definitions that are visible when the translated
6
* versions of those .mod files are compiled.
7
*
8
* @todo Functions defined in nrniv_mf.h are also used by .mod files, but that
9
* header has to be sandwiched between md1redef.h and md2redef.h, which
10
* we leave to nocmodl.
11
*/
12
#include "
bbsavestate.h
"
13
#include "
mcran4.h
"
14
#include "
nrncvode.h
"
15
#include "nrnran123.h"
16
#include "
nrnrandom.h
"
17
#include "
oc_ansi.h
"
18
#include "
nrnversionmacros.h
"
19
#include "scoplib.h"
20
21
#include <cmath>
// nocmodl uses std::isnan
22
#include <iostream>
// nocmodl uses std::cerr
bbsavestate.h
mcran4.h
nrncvode.h
nrnrandom.h
nrnversionmacros.h
oc_ansi.h
HOC interpreter function declarations (included by hocdec.h)
src
oc
mech_api.h