[CSC 435] Fireworks - a starting point

Andrew J. Pounds pounds_aj at mercer.edu
Sat Jan 25 09:23:56 EST 2014


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.

The approach I used was basically "object oriented" Fortran -- with each 
shell fragment being an object.

You should be able to make and run the program (name hell) on either 
zeus or cobra with the command

hell <input_fireworks

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++.

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.

Let me know what questions you have.


-- 
Andrew J. Pounds, Ph.D.  (pounds_aj at mercer.edu)
Professor of Chemistry and Computer Science
Mercer University,  Macon, GA 31207   (478) 301-5627
http://faculty.mercer.edu/pounds_aj

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://theochem.mercer.edu/pipermail/csc435/attachments/20140125/709e21b7/attachment.html>


More information about the csc435 mailing list