10 #ifndef _HSOLVE_UTILS_H
11 #define _HSOLVE_UTILS_H
13 #include "../basecode/header.h"
14 #include "../basecode/global.h"
15 #include "../utility/print_function.hpp"
16 #include "../utility/simple_test.hpp"
18 #include "../biophysics/HHGate.h"
19 #include "../biophysics/ChanBase.h"
20 #include "../biophysics/ChanCommon.h"
21 #include "../biophysics/HHChannelBase.h"
22 #include "../biophysics/HHChannel.h"
23 #include "../basecode/OpFunc.h"
30 static int adjacent(
Id compartment, vector< Id >& ret );
31 static int adjacent(
Id compartment,
Id exclude, vector< Id >& ret );
32 static int children(
Id compartment, vector< Id >& ret );
33 static int channels(
Id compartment, vector< Id >& ret );
34 static int hhchannels(
Id compartment, vector< Id >& ret );
35 static int gates(
Id channel, vector< Id >& ret,
bool getOriginals =
true );
36 static int spikegens(
Id compartment, vector< Id >& ret );
37 static int synchans(
Id compartment, vector< Id >& ret );
39 static int caTarget(
Id channel, vector< Id >& ret );
40 static int caDepend(
Id channel, vector< Id >& ret );
45 Grid(
double min,
double max,
unsigned int divs )
55 double entry(
unsigned int i );
80 vector< double >& B );
91 bool include =
true );
97 const vector< string >& filter,
98 bool include =
true );
101 #endif // _HSOLVE_UTILS_H
static int children(Id compartment, vector< Id > &ret)
static int caDepend(Id channel, vector< Id > &ret)
static int leakageChannels(Id compartment, vector< Id > &ret)
static int spikegens(Id compartment, vector< Id > &ret)
static int caTarget(Id channel, vector< Id > &ret)
static int adjacent(Id compartment, vector< Id > &ret)
bool operator==(const Grid &other)
static int gates(Id channel, vector< Id > &ret, bool getOriginals=true)
static int targets(Id object, string msg, vector< Id > &target, string filter="", bool include=true)
static int channels(Id compartment, vector< Id > &ret)
static void initialize(Id object)
static void rates(Id gate, Grid grid, vector< double > &A, vector< double > &B)
static int synchans(Id compartment, vector< Id > &ret)
static int hhchannels(Id compartment, vector< Id > &ret)
double entry(unsigned int i)
Grid(double min, double max, unsigned int divs)