|
PSCF v1.4.0
|
ForceBiasMove attempts a Brownian dynamics move. More...
#include <ForceBiasMove.h>
Public Member Functions | |
| void | readParameters (std::istream &in) override |
| Read body of parameter file block and allocate memory. | |
| void | setup () override |
| Setup before the beginning of each simulation run. | |
| bool | move () override |
| Attempt and accept or reject a force bias Monte-Carlo move. | |
| void | output () override |
| Output statistics for this move (at the end of simulation) | |
| bool | needsDc () override |
| Specify if dc fields need to be saved (returns true). | |
Protected Types | |
| using | McMoveT = typename T::McMove |
| Alias for McMove base class. | |
Protected Member Functions | |
| ForceBiasMove (typename T::McSimulator &simulator) | |
| Constructor. | |
| ~ForceBiasMove ()=default | |
| Destructor. | |
ForceBiasMove attempts a Brownian dynamics move.
This class implements a Monte Carlo move in which the unconstrained attempted move is created by an explicit Euler-Maruyama Brownian dynamics step.
Because the probability of attempting a move is not equal to that of generating the reverse move, the acceptance criterion used in the move() function must take into account the ratio of generation probabilities.
Specializations of this class template are used as base classes for two closely analogous class templates, both also named ForceBiasMove, that are defined in Rpc and Rpg namespaces for use in the pscf_rpc and pscf_rpg programs, respectively.
Template parameters:
Definition at line 45 of file fts/montecarlo/ForceBiasMove.h.
|
protected |
Alias for McMove base class.
Definition at line 96 of file fts/montecarlo/ForceBiasMove.h.
|
protected |
Constructor.
| simulator | parent McSimulator |
Definition at line 26 of file ForceBiasMove.tpp.
References Util::ParamComposite::setClassName().
|
protecteddefault |
Destructor.
|
override |
Read body of parameter file block and allocate memory.
| in | input parameter file stream |
Definition at line 37 of file ForceBiasMove.tpp.
References Util::ParamComposite::read().
|
override |
Setup before the beginning of each simulation run.
Definition at line 63 of file ForceBiasMove.tpp.
References UTIL_CHECK.
|
override |
Attempt and accept or reject a force bias Monte-Carlo move.
Definition at line 86 of file ForceBiasMove.tpp.
|
override |
Output statistics for this move (at the end of simulation)
Definition at line 214 of file ForceBiasMove.tpp.
|
inlineoverride |
Specify if dc fields need to be saved (returns true).
Definition at line 143 of file fts/montecarlo/ForceBiasMove.h.