a2aaron / wasm-integrator

0 stars 0 forks source link

Make integrator into a trait #5

Closed porglezomp closed 6 years ago

porglezomp commented 6 years ago

Our integrator should be a trait with a step method and perhaps an integrate method that returns a generator, or an integrate_to that takes an end time. Perhaps the timestep, etc. should then be values in the types implementing the integrator, instead of parameters of the methods? Or should we have that configuration be part of the trait still?