<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p><font face="serif">I found one of my old copies of the fireworks
        code in a backup disk (this code predates git and github).  The
        good news is that it compiles and works perfectly.  The bad news
        is that this is the code that propagates the motion for a single
        shell and then the exploded fragments.  In your code you will
        have to account for hundreds of shells.</font></p>
    <p><font face="serif">The code is in Fortran and I keep up with a
        lot of the data using my own user-defined data type (structs)
        and modules.  Look at the code piece called "hell.f" to get an
        idea of what is going on.</font></p>
    <p><font face="serif">Here is where you will find the repo:</font></p>
    <p><font face="serif"><a class="moz-txt-link-freetext" href="https://github.com/drlbs/fireworkshell.git">https://github.com/drlbs/fireworkshell.git</a></font></p>
    <p><font face="serif">I'll keep looking for my full blown fortran
        veraion that does everything, but you should start with this. 
        It should not be too hard to convert to C++ because of the way
        everything is broken down - but you are going to have to figure
        out the memory management and how to propagate the motions of
        all of the shells and fragments simultaneously -- because you
        will be displayint them in realtime.</font></p>
    <p><font face="serif"> </font><br>
    </p>
    <div class="moz-signature">-- <br>
      <b><i>Andrew J. Pounds, Ph.D.</i></b><br>
      <i>Professor of Chemistry and Computer Science</i><br>
      <i>Director of the Computational Science Program</i><br>
      <i>Mercer University, Macon, GA 31207 (478) 301-5627</i></div>
  </body>
</html>