Example #1
0
void HSolve::mapIds()
{
    mapIds( compartmentId_ );
    mapIds( caConcId_ );
    mapIds( channelId_ );
    //~ mapIds( gateId_ );

    // Doesn't seem to be needed. Perhaps even the externalChannelId_ vector
    // is not needed.
    //~ for ( unsigned int ic = 0; ic < compartmentId_.size(); ++ic )
    //~ mapIds( externalChannelId_[ ic ] );
}
void HSolve::setup( Eref hsolve )
{
    // Setup solver.
    this->HSolveActive::setup( seed_, dt_ );

    mapIds();
    zombify( hsolve );
}