Parallelization comparison and optimization of a scale-bridging framework to model Cottrell atmospheres