|
PSCF v1.4.0
|
ForceBiasMove attempts a Brownian dynamics move. More...
#include <ForceBiasMove.h>
Public Member Functions | |
| ForceBiasMove (McSimulator< D > &simulator) | |
| Constructor. | |
| Public Member Functions inherited from Pscf::Rp::ForceBiasMove< D, Types< D > > | |
| 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). | |
Additional Inherited Members | |
| Protected Types inherited from Pscf::Rp::ForceBiasMove< D, Types< D > > | |
| using | McMoveT |
| Alias for McMove base class. | |
| Protected Member Functions inherited from Pscf::Rp::ForceBiasMove< D, Types< D > > | |
| ForceBiasMove (typename Types< D >::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 template with D=1, 2, and 3 are derived from specializations of the base class template Rp::ForceBiasMove, and inherit their public interface and almost all of their source code from this base class.
Definition at line 49 of file /fts/montecarlo/ForceBiasMove.h.
| Pscf::Rpg::ForceBiasMove< D >::ForceBiasMove | ( | McSimulator< D > & | simulator | ) |
Constructor.
| simulator | parent McSimulator |
Definition at line 38 of file ForceBiasMove.cu.
References ForceBiasMove().
Referenced by ForceBiasMove().