#include <HSolveUtils.h>
Classes | |
class | Grid |
Static Public Member Functions | |
static void | initialize (Id object) |
static int | adjacent (Id compartment, vector< Id > &ret) |
static int | adjacent (Id compartment, Id exclude, vector< Id > &ret) |
static int | children (Id compartment, vector< Id > &ret) |
static int | channels (Id compartment, vector< Id > &ret) |
static int | hhchannels (Id compartment, vector< Id > &ret) |
static int | gates (Id channel, vector< Id > &ret, bool getOriginals=true) |
static int | spikegens (Id compartment, vector< Id > &ret) |
static int | synchans (Id compartment, vector< Id > &ret) |
static int | leakageChannels (Id compartment, vector< Id > &ret) |
static int | caTarget (Id channel, vector< Id > &ret) |
static int | caDepend (Id channel, vector< Id > &ret) |
static void | rates (Id gate, Grid grid, vector< double > &A, vector< double > &B) |
static int | targets (Id object, string msg, vector< Id > &target, string filter="", bool include=true) |
static int | targets (Id object, string msg, vector< Id > &target, const vector< string > &filter, bool include=true) |
Gives all channels (hhchannels, synchans, any other) attached to a given compartment.
References targets().
The 'getOriginals' flag requests Id:s of the prototype gates from which copies were created, instead of Id:s of the copied gates. Default is true.
References errorSS, fixPath(), HHGate::originalGateId(), and Id::path().
void HSolveUtils::initialize | ( | Id | object | ) | [static] |
void HSolveUtils::rates | ( | Id | gate, | |
HSolveUtils::Grid | grid, | |||
vector< double > & | A, | |||
vector< double > & | B | |||
) | [static] |
References Eref::data(), HSolveUtils::Grid::entry(), Id::eref(), HHGate::lookupBoth(), HHGate::originalGateId(), HHGate::setUseInterpolation(), and HSolveUtils::Grid::size().
int HSolveUtils::targets | ( | Id | object, | |
string | msg, | |||
vector< Id > & | target, | |||
const vector< string > & | filter, | |||
bool | include = true | |||
) | [static] |
Appends to 'target' any destination objects of messages of the specified name found on the object. The filter restricts the returns to those objects of the specified class include is a flag, when false it flips the returns to objects _not_ of the specified class.
References Element::cinfo(), Cinfo::findFinfo(), and Element::getNeighbors().
int HSolveUtils::targets | ( | Id | object, | |
string | msg, | |||
vector< Id > & | target, | |||
string | filter = "" , |
|||
bool | include = true | |||
) | [static] |
Referenced by adjacent(), caDepend(), caTarget(), channels(), children(), hhchannels(), leakageChannels(), spikegens(), and synchans().