SpherePackingScenarioGenerator
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Public Attributes | Private Attributes
algorithms::ls2::Sphere Class Reference

#include <Sphere.h>

Inheritance diagram for algorithms::ls2::Sphere:
Inheritance graph
[legend]
Collaboration diagram for algorithms::ls2::Sphere:
Collaboration graph
[legend]

List of all members.

Public Member Functions

tarch::la::Vector< DIM, int > getCell ()
double getCell (int k)
double getGrowthrate () const
double getLastUpdateTime () const
double getMass () const
Event getNextEvent () const
tarch::la::Vector< DIM, double > getPosition () const
double getPosition (const unsigned int k)
double getRadius () const
tarch::la::Vector< DIM, double > getVelocity () const
void setCell (tarch::la::Vector< DIM, int > cell)
void setGrowthrate (double growthrate)
void setLastUpdateTime (double time)
void setMass (double Mass)
void setNextEvent (Event e)
void setPosition (tarch::la::Vector< DIM, double > x)
void setPosition (int k, double size)
void setRadius (double radius)
void setVelocity (tarch::la::Vector< DIM, double > v)
void setVelocity (int k, double velocity)
 Sphere ()
 Sphere (const Sphere &s)
 Sphere (int i_i, tarch::la::Vector< DIM, double > x, tarch::la::Vector< DIM, int > cell_i, double lutime_i, double r_i, double gr_i, double m_i)
 ~Sphere ()

Public Attributes

Event nextEvent

Private Attributes

tarch::la::Vector< DIM, int > cell
double gr
int i
double lutime
double m
Event nextcollision
double r
tarch::la::Vector< DIM, double > v
tarch::la::Vector< DIM, double > x

Detailed Description

Class Sphere generate one sphere


Constructor & Destructor Documentation

constructor

constructor

algorithms::ls2::Sphere::Sphere ( int  i_i,
tarch::la::Vector< DIM, double >  x,
tarch::la::Vector< DIM, int >  cell_i,
double  lutime_i,
double  r_i,
double  gr_i,
double  m_i 
)

constructor

destructor


Member Function Documentation

tarch::la::Vector< DIM, int > algorithms::ls2::Sphere::getCell ( )
tarch::la::Vector<DIM, double> algorithms::ls2::Sphere::getPosition ( ) const [inline]
double algorithms::ls2::Sphere::getPosition ( const unsigned int  k) [inline]
double algorithms::ls2::Sphere::getRadius ( ) const [inline]
tarch::la::Vector<DIM, double> algorithms::ls2::Sphere::getVelocity ( ) const [inline]
void algorithms::ls2::Sphere::setCell ( tarch::la::Vector< DIM, int >  cell)
void algorithms::ls2::Sphere::setGrowthrate ( double  growthrate)
void algorithms::ls2::Sphere::setMass ( double  Mass)
void algorithms::ls2::Sphere::setPosition ( tarch::la::Vector< DIM, double >  x)
void algorithms::ls2::Sphere::setPosition ( int  k,
double  size 
)
void algorithms::ls2::Sphere::setRadius ( double  radius)
void algorithms::ls2::Sphere::setVelocity ( tarch::la::Vector< DIM, double >  v)
void algorithms::ls2::Sphere::setVelocity ( int  k,
double  velocity 
)

Member Data Documentation

tarch::la::Vector<DIM, int> algorithms::ls2::Sphere::cell [private]

cell that it belongs to

double algorithms::ls2::Sphere::gr [private]

Sphere ID

last update time

double algorithms::ls2::Sphere::m [private]

Sphere mass

next collision if next Event is transfer

next Event...can be collision or transfer

double algorithms::ls2::Sphere::r [private]
tarch::la::Vector<DIM, double> algorithms::ls2::Sphere::v [private]

velocity

tarch::la::Vector<DIM, double> algorithms::ls2::Sphere::x [private]

position


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines