compile

fun compile(concurrency: Int = Parallelism.getMaxNumCPUs()): CompilerProgress

Compiles the conf space and the forcefields. If something goes wrong, the errors are collected and returned in the compilation report.

Compilation is actually performed in a separate thread, but progress can be monitored via the returned progress object.