Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members

cluster Class Reference

cluster: List of neighbors (linked by nearest_neighbor pointers). More...

#include <hop.h>

List of all members.

Public Member Functions

 cluster ()
 cluster (dyn *b)
 ~cluster ()
dynget_h ()
void set_h (dyn *b)
void set_nstar (int n)
void set_mass (real m)
void set_pos (vec p)
void set_vel (vec p)
void increment (dyn *b)
void put (ostream &s=cerr)

Protected Attributes

dynh
 First node on the list.
int nstar
 Number of stars in the list.
real mass
 Total mass of stars on the list.
vec pos
 Position of h.
vec vel
 Velocity of h.


Detailed Description

cluster: List of neighbors (linked by nearest_neighbor pointers).

Definition at line 26 of file hop.h.


The documentation for this class was generated from the following file:
Generated on Wed Jul 20 12:43:37 2005 for Starlab by  doxygen 1.4.3