Saving state vector and using it as initial state:
Posted: Wed Jul 08, 2020 12:02 pm
I want to use the state vector at the end of a simulation to be the starting vector of a new simulation after making some changes to the model and calling initSystem. I am working in C++ API. I need guidance on the following questions:
1. How do I save the state vector at the end of a simulation?
2. How do I use that state vector as the starting point for a new simulation after re-initializing the system with initSystem?
Thanks.
1. How do I save the state vector at the end of a simulation?
2. How do I use that state vector as the starting point for a new simulation after re-initializing the system with initSystem?
Thanks.