[Yt-svn] yt-commit r1272 - trunk/yt/lagos/fof

mturk at wrangler.dreamhost.com mturk at wrangler.dreamhost.com
Wed Apr 22 14:04:55 PDT 2009


Author: mturk
Date: Wed Apr 22 14:04:54 2009
New Revision: 1272
URL: http://yt.spacepope.org/changeset/1272

Log:
Got rid of unused and inappropriate structs in the .h file; added an ifndef at
the top.



Modified:
   trunk/yt/lagos/fof/tipsydefs.h

Modified: trunk/yt/lagos/fof/tipsydefs.h
==============================================================================
--- trunk/yt/lagos/fof/tipsydefs.h	(original)
+++ trunk/yt/lagos/fof/tipsydefs.h	Wed Apr 22 14:04:54 2009
@@ -1,3 +1,5 @@
+#ifndef _TIPSYDEFS_H
+#define _TIPSYDEFS_H
 #define MAXDIM 3
 #define forever for(;;)
 
@@ -14,8 +16,6 @@
     Real phi ;
 } ;
 
-struct gas_particle *gas_particles;
-
 struct dark_particle {
     Real mass;
     Real pos[MAXDIM];
@@ -24,8 +24,6 @@
     Real phi ;
 } ;
 
-struct dark_particle *dark_particles;
-
 struct star_particle {
     Real mass;
     Real pos[MAXDIM];
@@ -36,8 +34,6 @@
     Real phi ;
 } ;
 
-struct star_particle *star_particles;
-
 struct dump {
     double time ;
     int nbodies ;
@@ -47,12 +43,4 @@
     int nstar ;
 } ;
 
-struct dump header ;
-
-
-
-
-
-
-
-
+#endif



More information about the yt-svn mailing list