cudaCAC/src/box.hpp

24 lines
439 B
C++
Raw Normal View History

2025-04-16 14:01:40 -04:00
#ifndef BOX_H
#define BOX_H
2025-04-27 14:33:46 -04:00
#include "precision.hpp"
2025-04-16 14:01:40 -04:00
/**
* 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.
*/
2025-04-27 14:33:46 -04:00
struct Box {
real xlo;
real xhi;
real ylo;
real yhi;
real zlo;
real zhi;
2025-04-16 14:01:40 -04:00
bool x_is_periodic;
bool y_is_periodic;
bool z_is_periodic;
};
#endif