Physics part

The so-called Physics part is where all the physics shenanigans happen. At the moment it is where molecular mechanics (relaxation) and electronic transport is handled. This all done on a python server.

Before you dive in, it is recommended to have some knowledge of python.

Global architecture
The python server was designed as to be as modular as possible. Basically, the TCPPhysics.py script acts an interface to communicate between the various modules (relaxation, transport...) and the VR part handled by UE4.

Typically, the server (created in the TCPPhysics.py) will receive a serialized string with some input (see TCP/IP data formatting), and after interpreting the input will load the appropriate module (contained in separate scripts: Transport.py, ASEScriptOnServer.py ...) and send the data for it to work. Once the module is done processing the data, it will return it to the server that will re-encode it and send to UE4.

List of Modules

 * Server module
 * Electronic transport
 * Relaxation