%minutes for PPF team meeting
%
\documentclass{article}
\begin{document}
Meeting minutes:\\
Week of Nov. 22th - 25th \\

Participants:\\
Martin Casado, Noel Keen\\

Wednesday 23\\

I received an email from Noel yesterday which stated that he had a very basic
physics package working over 2 meshes.  During our phone meeting we discussed the
code in the example.  I will attach the actual notes from the meeting to this section
of the notebook because it covers code in more detail.  We discussed the state of
the proposal which I will work on cleaning up this weekend and adding to the
architecture and design sections. The following is a write-up of the notes I took
during the meeting:\\

\begin{verbatim}

Got PPF from Noel
untarred file
j4 is optimization for parallel compilation
 
 ran
 gmake -j4
 from base directory...
  
  PPF.cc
   
 PPF takes mesh (Su Olson Mesh using 2 partial meshes)
 function GenerateInitialParticles()
 accepts a particle list..
 puts particles where you want them to start..
 generates particles... assigns xyz positions
 makes particle list
			   
 skip 1rst too loops.. for now....
				   
 in loop..
 for(vector<int>::iterator vi = source_zone_list.begin();
						  
loops through each zone.. for each zone it loops again
 n_souce_particles_per_zone times  and
 creates a particle and gives it random location and
 adds to list.

  particle class definitions..

  zone = zone number of mesh its in
 energy = energy of particle
 t = time
 frequency = frequency
 cos_theta_x = direction x
 cos_theta_y = direction y
 cos_theta_z = direction z
 side = side particle is in                     
 
   dump = method which prints particle to printf
	 
	  
  Mesh.side_of_point() given xyz coordinates gives the side the
  particle is in
			 
  function generateparticles()
   in the future this will be called after every advance
   to create new source particles during runtime
   after every time step
					  
   advanceparticles()
   moves particles, some get lost (leave the problem)
   all physics happens here.. keep doing until you run out
    of particles
   loop over all particles
   PPF_d_boundary - takes xyz, direction xyz, side it is in
   computes distance to all 4 picks the smallest and returns
   returns distance the particle is from the nearest boundary
   in the tet that it is heading towards.
   also tells you if you do cross that side, which side
   it will be in. reset_zone tells you if you left the zone..
   because you can go from face to face within the same zone.
																   
	#define XS_TOTAL 400
	if you make it bigger, more particle collisions will take
   lace, take longer to run
 
  
  run with:
  mpirun -np 2 ppf
   
	I am supposed to change all sorts of stuff...
	                                                 

\end{verbatim}


\end{document} 
