#include <LocalEnergyMinimizer.h>
Static Public Member Functions | |
static void | minimizeEnergy (const MultibodySystem &system, State &state, Real tolerance) |
Find the local energy minimum of a MultibodySystem. |
static void minimizeEnergy | ( | const MultibodySystem & | system, | |
State & | state, | |||
Real | tolerance | |||
) | [static] |
Find the local energy minimum of a MultibodySystem.
system | the system whose energy should be minimized | |
state | on entry, this should contain the starting state from which to begin the search. On exit, it contains a (usually nearby) state at which the energy is a local minimum. | |
tolerance | a tolerance for the energy minimization. The search ends when no component of the energy gradient is larger than this. |