1 #ifndef SIMP_ORTHO_REGION_H 2 #define SIMP_ORTHO_REGION_H 11 #include <util/space/Vector.h> 70 template <
class Archive>
71 void serialize(Archive& ar,
const unsigned int version);
78 template <
class Archive>
bool isValid()
Return true if valid, or throw Exception.
A Vector is a Cartesian vector.
void resetRegion()
Set lengths and volume to values consistent with minima and maxima.
Classes used by all simpatico molecular simulations.
Vector minima_
Minimum coordinates: Require r[i] >= minima_[i].
Vector lengths_
OrthoRegion lengths: lengths_[i] = maxima_[i] - minima_[i].
OrthoRegion()
Constructor.
Utility classes for scientific computation.
Vector maxima_
Maximum coordinates: Require r[i] < maxima_[i].
void serialize(Archive &ar, const unsigned int version)
Serialize to/from an archive.
double volume_
Volume: V = lengths_[0]*lengths_[1]*lengths_[2].
A region with orthogonal edges parallel to the x, y, and z axes.
Vector halfLengths_
Half region lengths: halfLengths_[i] = 0.5*lengths_[i].