New feature: default resource sharing
We are excited to announce a new feature, available now in today's release:
__Automatic sharing of public `PhysicsModule` class attributes.__
This automatic sharing is accomplished by an update to the `PhysicsModule.exchange_resources` method in the base `PhysicsModule` class. Any public class attributes (whose names do not start with an underscore) will be automatically shared with other `PhysicsModules` using the name `<class_name>_<attribute_name>`.
By introducing this automatic resource sharing, we hope to simplify the creation of custom `PhysicsModules`. If you want to share an attribute, now all you need to do is give it a "public" name (not starting with an underscore). You no longer have to write your own custom `exchange_resources` method.
Backwards compatibility
Note that there are some minor changes to variable names in this release which might break backwards compatibility with existing turboPy apps. In particular, the names of several class attributes were changed to follow python's public/private attribute naming convention. For example, variables such as `owner` and `input_data` were changed to `_owner` and `_input_data`.