|
faunus
|
Displaces charge on a single atom. More...
#include <move.h>


Public Member Functions | |
| ChargeMove (Space &spc) | |
Public Member Functions inherited from Faunus::move::Move | |
| void | from_json (const json &j) |
| void | to_json (json &j) const |
| JSON report w. statistics, output etc. | |
| void | move (Change &change) |
| Perform move and modify given change object. | |
| void | accept (Change &change) |
| void | reject (Change &change) |
| void | setRepeat (int repeat) |
| virtual double | bias (Change &change, double old_energy, double new_energy) |
| Extra energy not captured by the Hamiltonian. More... | |
| Move (Space &spc, std::string_view name, std::string_view cite) | |
| bool | isStochastic () const |
| True if move should be called stochastically. | |
| const std::string & | getName () const |
Protected Member Functions | |
| void | _to_json (json &j) const override |
| Extra info for report if needed. | |
Protected Attributes | |
| double | max_charge_displacement = 0.0 |
| double | charge_displacement = 0.0 |
| ParticleVector::size_type | particle_index |
Protected Attributes inherited from Faunus::move::Move | |
| const std::string | name |
| Name of move. | |
| Space & | spc |
| Space to operate on. | |
| int | repeat = 1 |
| unsigned long | number_of_attempted_moves = 0 |
| Counter for total number of move attempts. | |
Additional Inherited Members | |
Static Public Attributes inherited from Faunus::move::Move | |
| static Random | slump |
| Shared for all moves. | |
Displaces charge on a single atom.
1.8.13