------------------------------------------------------------------------------- Nonlinear spring fault. Generates a cubic spring force that grows with the function (1 - exp(d.a*dT)) where dT is the time since the fault. Prior to the fault, the force is zero. ------------------------------------------------------------------------------- Form: f = NonlinearSpringFault( x, t, d ) ------------------------------------------------------------------------------- ------ Inputs ------ x (2,1) State t (1,1) Time d (1,1) Input data structure ------- Outputs ------- f (1,1) Force due to fault -------------------------------------------------------------------------------