Using Class Base.Container.Sink
A sink allows a model to drain its mixture without any volume limit. We assume it has a infinite capacity. This class is derived from Base.Container to inherit the Concentration class attribute.
A sink can be connected with exactly one input pipe.
Concentration (fConcentration): is the concentration, or density, of the chemical. This attribute is inherited from Class Base.Container.
Initialization (SG_xInit): simply registers the class type for later identification.
Post-Evaluation (SG_xPostEval): fetches the concentration from the input pipe and update the Concentration attribute in this component.
Mixer Example for SansGUI Version 1.0
Copyright © 2001-2003 ProtoDesign, Inc. All rights reserved.