Hi Sean, Performance of code based on PyChrono is only marginally (if at all) worse that that of code directly using the Chrono C++ libraries. PyChrono is just a set of SWIG-generated wrappers around the C++ Chrono code.
However, if you think that your code would benefit from using the Chrono::Multicore module (note that this is not a guarantee, as 300 particles is not all that many – you may want to provide some details on what geometry you use for these bodies), you will have to port your code to C++ because the Chrono::Multicore module is currently *not* SWIG-wrapped and as such not available through PyChrono. Best, Radu From: [email protected] <[email protected]> On Behalf Of Sean You Sent: Tuesday, March 25, 2025 9:51 PM To: ProjectChrono <[email protected]> Subject: [chrono] pychrono and multicore support Hi All, I'm working on simulating a system in pychrono with a moderate number of particles (~300) - The runtime seems to be relatively slow - I was wondering if there was any support for using the multicore solvers in pychrono/any other recommended performance improvements or do I need to port my simulation over to C++? Best, Sean -- You received this message because you are subscribed to the Google Groups "ProjectChrono" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]<mailto:[email protected]>. To view this discussion visit https://groups.google.com/d/msgid/projectchrono/05690b49-0042-4508-98a7-225879871a24n%40googlegroups.com<https://urldefense.com/v3/__https:/groups.google.com/d/msgid/projectchrono/05690b49-0042-4508-98a7-225879871a24n*40googlegroups.com?utm_medium=email&utm_source=footer__;JQ!!Mak6IKo!L-1x_HmDULB4WT-10NAJggYI9C0uZLxytMb0rpNThEK2as7PuUwCVvEyD6p0-wveIrzwoeseuAIYGA$>. -- You received this message because you are subscribed to the Google Groups "ProjectChrono" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion visit https://groups.google.com/d/msgid/projectchrono/CH3PPF46CDC2185105F9DB99684C1DA1206A7A62%40CH3PPF46CDC2185.namprd06.prod.outlook.com.
