Threading & Force collection
Multithreaded force computation and force accumulation do not like each other, which is understandable: you don't want to append to a global container from multiple worker threads at the same time. Thus, we either need to disable multithreading for the generated force accumulation functions or use some sort of thread-safe accumulator.