WIP: Feature/multithreaded assembly multidomain
This is only a placeholder so far. I think the coloring logic has to be delegated to the coupling manager in the multidomain case because only the coupling manager will know what stuff is accessed (especially context-related) and therefore determine which elements cannot be in the same batch.