Skip to content
Thomas Kemmer edited this page Jul 31, 2017 · 21 revisions

Code Library

Welcome to the Code Library. Here you can find useful C++ and Python code snippets for the BALL and VIEW libraries as well as the BALLView application. An introduction to our Python interface can be found here.

Feel free to add your own code to this page (please make sure to read how to post first)!

BALL library

Input / Output

Iterating

Handling Molecules

Misc

VIEW library

BALLView application

You can run Python code from within the BALLView application through the Python widget (until version 1.4) or the Jupyter plugin (since version 1.5).

How to post

If you have code snippets that could be useful to other users, feel free to post them here.

Please make sure that your code compiles prior to posting!

You can get syntax highlighting by enclosing your code in ticks ` in markdown followed by the language (either cpp or python)

For further information on how to post, just look at some examples found on this page.

Clone this wiki locally