cudaCAC/src/box.hpp

23 lines
418 B
C++
Raw Normal View History

2025-04-16 14:01:40 -04:00
#ifndef BOX_H
#define BOX_H
/**
* Struct representing the simulation box.
* Currently the simulation box is always assumed to be perfectly rectangular.
* This code does not support shearing the box. This functionality may be added
* in later.
*/
template <typename T> struct Box {
T xlo;
T xhi;
T ylo;
T yhi;
T zlo;
T zhi;
bool x_is_periodic;
bool y_is_periodic;
bool z_is_periodic;
};
#endif