예제 #1
0
void AbstractCvodeCell::SetVoltage(double voltage)
{
    assert(mStateVariables);
    SetAnyVariable(mVoltageIndex, voltage);
    SetFixedVoltage(voltage);
}
void AbstractCardiacCell::SetVoltage(double voltage)
{
    SetAnyVariable(mVoltageIndex, voltage);
    SetFixedVoltage(voltage);
}
void AbstractParameterisedSystem<VECTOR>::SetAnyVariable(const std::string& rName, double value)
{
    SetAnyVariable(GetAnyVariableIndex(rName), value);
}