12#include <prdc/cpu/RField.h>
13#include <util/containers/DArray.h>
108 #ifndef RPC_REAL_MOVE_TPP
McMove is an abstract base class for Monte Carlo moves.
virtual void clearTimers()
Clear timers.
Random & random()
Get Random number generator of parent System.
System< D > & system()
Get parent System object.
McSimulator< D > & simulator()
Get parent McSimulator object.
virtual bool move()
Generate, attempt, and accept or reject a Monte Carlo move.
void readProbability(std::istream &in)
Read the probability from file.
Monte-Carlo simulation coordinator.
RealMove generates spatially uncorrelated random field changes.
void outputTimers(std::ostream &out)
Return real move times contributions.
void readParameters(std::istream &in)
Read required parameters from file.
RealMove(McSimulator< D > &simulator)
Constructor.
void output()
Output statistics for this move (at the end of simulation)
void attemptMove()
Attempt unconstrained move.
void setup()
Setup before the beginning of each simulation run.
Dynamically allocatable contiguous array template.
ScalarParam< Type > & read(std::istream &in, const char *label, Type &value)
Add and read a new required ScalarParam < Type > object.
void setClassName(const char *className)
Set class name string.
Fields and FFTs for periodic boundary conditions (CPU)
PSCF package top-level namespace.
Utility classes for scientific computation.