Next: B2. Real Device Classes
Up: B. Device Model Implementation
Previous: B. Device Model Implementation
The class MmxDevice is derived from
Model and is a pure virtual class which serves only as a base class
for the real device classes. It defines the basic member parameters and
provides standardized communication means for the real devices.
Among others, the following interface parameters are available: the partial
Jacobian matrix (stamp) Y which must be calculated by the
evaluate method of the real device in conjunction with the partial
right-hand-side rhs. To do this, the evaluate method needs
the partial solution vector x, the partial old solution vector
xold, and information about which quantity is really solved for as
found in solv. Furthermore, the current simulation time t and
the size of the last time-step
dt are available.
Inside a circuit each device is defined by the number of terminals by
which the device is connectable to the circuit. These terminals can be voltage
or temperature controlled.
Tibor Grasser
1999-05-31