63 simulationPtr_(&simulation)
76 {
return flag.
isSet(flags_); }
99 read<long>(in,
"interval", interval_);
102 if (interval_ == 0) {
116 loadParameter<long>(ar,
"interval", interval_);
119 if (interval_ == 0) {
static const Bit Update
Flag to activate pack/unpack update functions.
void set(unsigned int &flags) const
Set this bit in the flags parameter.
static const Bit PostForce
Flag to activate postForce() function.
static const Bit PreTransform
Flag to activate preTransform() function.
Simulation & simulation()
Get the parent Simulation by reference.
static const Bit PreExchange
Flag to activate preExchange() function.
static const Bit Setup
Flag to activate setup() function.
static const Bit ReverseUpdate
Flag to activate pack/unpack reverse update functions.
static const Bit PreIntegrate1
Flag to activate preIntegrate() function.
Parallel domain decomposition (DD) MD simulation.
void readInterval(std::istream &in)
Read parameter interval from file.
Main object for a domain-decomposition MD simulation.
static const Bit PostIntegrate1
Flag to activate postIntegrate1() function.
Saving / output archive for binary ostream.
static const Bit PreUpdate
Flag to activate preUpdate() function.
bool isSet(unsigned int flags) const
Is this bit set in the flags integer?
#define UTIL_THROW(msg)
Macro for throwing an Exception, reporting function, file and line number.
bool isSet(Bit flag) const
Return true if a flag is set, false otherwise.
void saveInterval(Serializable::OArchive &ar)
Save interval parameter to an archive.
static const Bit PostExchange
Flag to activate postExchange() function.
static const Bit PreForce
Flag to activate preForce() function.
Utility classes for scientific computation.
static const Bit PostNeighbor
Flag to activate postNeighbor() function.
static const Bit Exchange
Flag to activate pack/unpack exchange functions.
static const Bit EndOfStep
Flag to activate endOfStep() function.
unsigned int flags() const
Return the unsigned int representation of all bit flags.
Saving archive for binary istream.
static void initStatic()
Call this to guarantee initialization of static variables.
Modifier()
Default constructor (for unit testing)
Represents a specific bit location within an unsigned int.
virtual ~Modifier()
Destructor.
static const Bit PostUpdate
Flag to activate postUpdate() function.
An object that can read multiple parameters from file.
void set(Bit flag)
Set the flag associated with a particular action.
void loadInterval(Serializable::IArchive &ar)
Load parameter interval from input archive.