Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Box.hpp

    r0ff6b5 r57f243  
    1111class Matrix;
    1212class Vector;
     13class Plane;
    1314
    1415#include <list>
    15 #include "VectorSet.hpp"
     16#include <vector>
     17#include "LinearAlgebra/VectorSet.hpp"
    1618
    1719/**
     
    2628{
    2729public:
     30  typedef enum{
     31    Wrap,
     32    Bounce,
     33    Ignore
     34  } BoundaryCondition_t;
     35
     36  typedef vector<BoundaryCondition_t> Conditions_t;
     37
    2838  Box();
    2939  Box(const Box&);
     
    8999  double periodicDistance(const Vector &point1,const Vector &point2) const;
    90100
     101  const Conditions_t getConditions();
     102  void setCondition(int,BoundaryCondition_t);
     103
     104  const vector<pair<Plane,Plane> > getBoundingPlanes();
     105
     106  void setCuboid(const Vector&);
     107
    91108private:
     109  Conditions_t conditions;
    92110  Matrix *M;    //!< Defines the layout of the box
    93111  Matrix *Minv; //!< Inverse of M to avoid recomputation
Note: See TracChangeset for help on using the changeset viewer.