I am calculating forces acting on a MechanicalObject. These forces come from a magnetic manipulation system and there are custom classes which compute these forces. In the end, I need to check how much time is spent calculating the force versus the time needed for the simulation.
Thanks for your reply!
I am running SOFA in batch. However, I switched to GUI mode to check out the stats, as you described. This looks very useful. I am curious how to select the substep of my python code so that the computation time can be displayed.
Hi, I am new to SOFA and have a question about using the PythonAdvancedTimer.
I was wondering if it’s possible to extract the computation time of specific part of my code (i.e., the calculation of the forces acting on the mechanical object) and compare it with the overall computation time of one simulation time step.
Thanks in advance for any…[Read more]