8 | 8 | The simple example model is specified in {{{src/cxa/SimpleExample.cxa.rb}}} and implemented in {{{src/java/examples/simplejava}}} contains a writer submodel instance {{{w}}} and the reader submodel instance {{{r}}}. Both submodels use the MUSCLE 2's free-form API. Instance {{{w}}} creates some data in the form of an array of doubles, and sends it to instance {{{r}}}, which reads the data and prints it out. The former has a conduit entrance called {{{data}}}, and the latter a conduit exit called {{{data}}}. In the CxA file, a multiplication filter is applied the conduit, with parameter 0.5, so all the data is multiplied by 0.5. |