8 #include "MaskPolicy.h" 35 if (buffer ==
"MaskNone" || buffer ==
"maskNone") {
38 if (buffer ==
"MaskBonded" || buffer ==
"maskBonded") {
41 UTIL_THROW(
"Invalid MaskPolicy string in operator >>");
51 if (policy == MaskNone) {
54 if (policy == MaskBonded) {
57 std::cout <<
"Invalid MaskPolicy value on input" << std::endl;
MaskPolicy
Enumeration of policies for suppressing ("masking") some pair interactions.
static MPI::Datatype type
MPI Datatype.
std::ostream & operator<<(std::ostream &out, const Pair< Data > &pair)
Output a Pair to an ostream, without line breaks.
#define UTIL_THROW(msg)
Macro for throwing an Exception, reporting function, file and line number.
std::istream & operator>>(std::istream &in, Pair< Data > &pair)
Input a Pair from an istream.
Utility classes for scientific computation.
Single-processor Monte Carlo (MC) and molecular dynamics (MD).
static bool hasType
Is the MPI type initialized?