1#ifndef RP_FORCE_BIAS_MOVE_BASE_H
2#define RP_FORCE_BIAS_MOVE_BASE_H
11#include <rp/fts/montecarlo/McMove.h>
12#include <pscf/field/RField.h>
13#include <util/containers/DArray.h>
15#include <pscf/backend/TmplDeclare.h>
43 template <
int D,
class T>
71 void setup()
override;
130 double mobility) = 0;
139 template <
int D,
class T>
inline
ForceBiasMoveBase attempts a Brownian dynamics move.
void setup() override
Setup before the beginning of each simulation run.
ForceBiasMoveBase(McSimulator< D, T > &simulator)
Constructor.
bool needsDc() override
Specify if dc fields need to be saved (returns true).
~ForceBiasMoveBase()=default
Destructor.
void output() override
Output statistics for this move (at the end of simulation).
McMove< D, T > McMoveT
Alias for McMove base class.
bool move() override
Attempt and accept or reject a force bias Monte-Carlo move.
void readParameters(std::istream &in) override
Read body of parameter file block and allocate memory.
McSimulator< D, T > & simulator()
Get parent McSimulator object (non-const ref).
System< D, T > & system()
Get parent System object (non-const ref).
McMove(McSimulator< D, T > &simulator)
Constructor.
Monte-Carlo simulation coordinator.
Dynamically allocatable contiguous array template.
Code for programs that simulate real-valued periodic fields.
PSCF package top-level namespace.