All pastes #2094200 Raw Edit

site_hpp

public cpp v1 · immutable
#2094200 ·published 2011-11-22 04:45 UTC
rendered paste body
/*This file contains the class that defines the position, velocity and acceleration vector space for the particles.*/#include <iostream>/*This class defines the vector operations that we will need for the defination of particles in our vector space */class site {    public:        /*We will work on 2D. So our variables are x and y*/        /*We also have 8 other numbers representing each point*/        double x,y;                /*LB Parameters for the site */        double LBPar[9];                /*Is this a boundary?*/        bool SolidNode;                        /*Define how x and y are stored*/        //site() : x(0), y(0) {}        site(double x_, double y_) : x(x_), y(y_) {}};