Changes in src/Box.hpp [0ff6b5:57f243]
- File:
-
- 1 edited
-
src/Box.hpp (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/Box.hpp
r0ff6b5 r57f243 11 11 class Matrix; 12 12 class Vector; 13 class Plane; 13 14 14 15 #include <list> 15 #include "VectorSet.hpp" 16 #include <vector> 17 #include "LinearAlgebra/VectorSet.hpp" 16 18 17 19 /** … … 26 28 { 27 29 public: 30 typedef enum{ 31 Wrap, 32 Bounce, 33 Ignore 34 } BoundaryCondition_t; 35 36 typedef vector<BoundaryCondition_t> Conditions_t; 37 28 38 Box(); 29 39 Box(const Box&); … … 89 99 double periodicDistance(const Vector &point1,const Vector &point2) const; 90 100 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 91 108 private: 109 Conditions_t conditions; 92 110 Matrix *M; //!< Defines the layout of the box 93 111 Matrix *Minv; //!< Inverse of M to avoid recomputation
Note:
See TracChangeset
for help on using the changeset viewer.
