<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<font face="serif">Gentlemen -- a few minutes ago I added fireworks-type
program that works for a SINGLE SHELL into the subversion CSC435
group-project repository. I added this as a tag -- so you should
download it, but not modify the tag. <br>
<br>
The approach I used was basically "object oriented" Fortran --
with each shell fragment being an object.<br>
<br>
You should be able to make and run the program (name hell) on
either zeus or cobra with the command<br>
<br>
hell <</font>input_fireworks<br>
<br>
Now, I am not expecting you to use this code -- there are many
improvements and additions that need to be made -- but it should at
least give you some idea of what has to be done in your larger
code. I am under the assumption that you will rewrite most of this
in C/C++ so that all of the group members can adequately
contribute. I am, however, not requiring you to rewrite it in
C/C++.<br>
<br>
As far as propagating the trajectories, I am assuming that there is
no "wind" during the simulation. As such I do all of the nasty
work of propagating the trajectories through their damped projectile
motion in the Z-X plane. This then accounts for gravity. I then
rotate each trajectory about the Z-axis to its proper coordinate
frame based on the initial direction (which has a y-component) that
is stored with each particle. All of this can be seen in the
propagate and transform subroutines.<br>
<br>
Let me know what questions you have.<br>
<br>
<pre class="moz-signature" cols="72">
--
Andrew J. Pounds, Ph.D. (<a class="moz-txt-link-abbreviated" href="mailto:pounds_aj@mercer.edu">pounds_aj@mercer.edu</a>)
Professor of Chemistry and Computer Science
Mercer University, Macon, GA 31207 (478) 301-5627
<a class="moz-txt-link-freetext" href="http://faculty.mercer.edu/pounds_aj">http://faculty.mercer.edu/pounds_aj</a>
</pre>
</body>
</html>