grss.libgrss.propSim_parallel_omp#
- grss.libgrss.propSim_parallel_omp(refSim: PropSimulation, isCometary: bool, allBodies: collections.abc.Sequence[collections.abc.Sequence[SupportsFloat]], maxThreads: SupportsInt = 128) None#
- Propagate a simulation in parallel using OpenMP. - Parameters:
- refSim (PropSimulation) – Reference simulation to copy. 
- isCometary (bool) – Whether the bodies are cometary bodies. 
- allBodies (list of list of real) – List of all bodies to propagate. Each list contains the initial MJD TDB time, mass, radius, initial state, and list of non-gravitational parameters of the body. The initial state is either the initial Heliocentric Ecliptic Cometary state or the initial barycentric Cartesian state (position and velocity separated). 
- maxThreads (int, optional) – Maximum number of threads to use, by default min(128, available_cores). 
 
- Returns:
- allSims – List of all simulations propagated in parallel. 
- Return type:
- list of PropSimulation