All pastes #2095097 Raw Edit

Someone

public text v1 · immutable
#2095097 ·published 2011-11-23 22:59 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_), SolidNode(false) {}
};