# mechanism

This document describes the "mechanism" C++ class. This class describes objects that are mechanisms, and can be used to represent any sort of mechanism or dynamical system that affects compartments, conductances or synapses, or even other mechanisms.

Abstract can contain contained in
yes nothing compartment

## Methods¶

### integrate¶

Function Signature

void integrate()


Description

Since mechanisms can be just about anything, the abstract mechanism class only implements two methods. This method is used to integrate the mechanism under default conditions (single-step integration).

Code

### integrateMS¶

Function Signature

void integrateMS(int k, double V, double Ca)


Description

Since mechanisms can be just about anything, the abstract mechanism class only implements two methods. This method is used to integrate the mechanism when a multi-step solver is requested.

Code