• LastSolve returns the last solution rule returned by SolveMech. The values returned by LastSolve are used as the initial guesses at the next invocation of SolveMech.
• LastSolve[All] includes the values that will be used the next time that initial guesses for the Lagrange multipliers are needed, regardless of whether or not they were part of the last solution returned by SolveMech.
• See also: SetGuess.
Load the Modeler2D package and define a simple model.
Here the model is solved at . LastSolve returns the most recently found solution.
If SetGuess is used to change specific initial guesses, the return value of LastSolve reflects the change.
Here the guesses are all reset to the values specified with SetBodies.