BreakingBytes / simkit

Model Simulation Framework
http://breakingbytes.github.io/simkit/
BSD 3-Clause "New" or "Revised" License
27 stars 16 forks source link

split calculations into separate fields #63

Closed mikofski closed 7 years ago

mikofski commented 7 years ago

splitting calculations into separate fields has several advantages:

  1. they can have separate dependencies
  2. topographical sort in simulation can be used to order all of them
  3. the DAG can determine which solvers/calculators to use and whether the simulation can be parallelized, ie: if calculations can be performed simultaneously
  4. calculations __metaclass__ would be more meaningful, rather than just a scraper of values.
mikofski commented 7 years ago

although this may be some work, I'm loving this more and more. stretch goal to make it into v0.3