pyyeti.ode.SolveExp1.tsolve¶
- SolveExp1.tsolve(force, d0=None)[source]¶
Solve time-domain 1st order ODE equations.
- Parameters:
force (2d ndarray) – The force matrix; ndof x time
d0 (1d ndarray; optional) – Displacement initial conditions; if None, zero ic’s are used.
- Returns:
A record (SimpleNamespace class) with the members
d (2d ndarray) – Displacement; ndof x time
v (2d ndarray) – Velocity; ndof x time
h (scalar) – Time-step
t (1d ndarray) – Time vector: np.arange(d.shape[1])*h