def multiply(traj):
    z=traj.mylink1*traj.mylink2 # And again we now can also use the different names
    # due to the creation of links
    traj.f_add_result('runs.$.z', z, comment='Result of our simulation!')


# Create an environment that handles running
Example of a sophisticated simulation that involves multiplying two values.
dataset/ETHPy150Open SmokinCaterpillar/pypet/examples/example_14_links.py/multiply