Functionality relying on the conjugate gradients algorithm. More...
#include <BondBoost.h>
Public Member Functions | |
| BondBoost (Matter *matt, const Parameters ¶ms) | |
| Constructor to be used when a structure is minimized. | |
| ~BondBoost () | |
| Destructor. | |
| void | initialize () |
| void | advance () |
| Advance the equilibration / boost schedule by one MD step. | |
| double | boost () |
| Evaluate the current bias potential and write bias forces. | |
| long | scheduleStep () const |
| Equilibration counter (starts at 1). Used to test the per-step schedule. | |
Private Member Functions | |
| long | rmdSteps () const |
| Matrix< double, Eigen::Dynamic, 1 > | Rmdsteps () |
| Measure all tagged-atom bond lengths for the equilibration phase. | |
| long | BondSelect () |
| Select bonds within cutoff distance for boosting. | |
| double | Booststeps () |
| Compute bias potential and forces for bond-boost hyperdynamics. | |
Private Attributes | |
| long | nAtoms {0} |
| Number of free coordinates. | |
| Matter * | matter |
| Pointer to atom object outside the scope of the class. | |
| const Parameters & | parameters |
| Reference to a structure outside the scope of the class containing runtime parameters. | |
| std::vector< long > | BAList |
| std::vector< long > | RAList |
| std::vector< long > | TABAList |
| std::vector< long > | BBAList |
| std::vector< double > | Epsr_Q |
| Matrix< double, Eigen::Dynamic, 1 > | TABLList |
| Matrix< double, Eigen::Dynamic, 1 > | EBBLList |
| Matrix< double, Eigen::Dynamic, 1 > | CBBLList |
| long | nBAs {0} |
| long | nRAs {0} |
| long | nTABs {0} |
| long | nReg {0} |
| long | nBBs {0} |
| eonc::log::Scoped | log |
Functionality relying on the conjugate gradients algorithm.
The object is capable of minimizing an Matter object or modified forces being passed in.
Definition at line 25 of file BondBoost.h.
| BondBoost::BondBoost | ( | Matter * | matt, |
| const Parameters & | params ) |
Constructor to be used when a structure is minimized.
| [in] | *matter | Pointer to the Matter object to be relaxed. |
| [in] | parameters | Reference to the Parameter object containing the runtime parameters. |
Definition at line 25 of file BondBoost.cpp.
|
default |
Destructor.
| void BondBoost::advance | ( | ) |
Advance the equilibration / boost schedule by one MD step.
Call once per physical step. boost() does not move the schedule.
Definition at line 92 of file BondBoost.cpp.
|
private |
Select bonds within cutoff distance for boosting.
Definition at line 240 of file BondBoost.cpp.
| double BondBoost::boost | ( | ) |
Evaluate the current bias potential and write bias forces.
Safe to call from a force evaluation; does not increment nReg.
Definition at line 110 of file BondBoost.cpp.
|
private |
Compute bias potential and forces for bond-boost hyperdynamics.
Returns the bias potential energy contribution.
Definition at line 130 of file BondBoost.cpp.
| void BondBoost::initialize | ( | ) |
Definition at line 33 of file BondBoost.cpp.
|
private |
Measure all tagged-atom bond lengths for the equilibration phase.
Definition at line 209 of file BondBoost.cpp.
|
private |
Definition at line 87 of file BondBoost.cpp.
|
inlinenodiscard |
Equilibration counter (starts at 1). Used to test the per-step schedule.
Definition at line 43 of file BondBoost.h.
|
private |
Definition at line 55 of file BondBoost.h.
|
private |
Definition at line 58 of file BondBoost.h.
|
private |
Definition at line 63 of file BondBoost.h.
|
private |
Definition at line 62 of file BondBoost.h.
|
private |
Definition at line 59 of file BondBoost.h.
|
private |
Definition at line 69 of file BondBoost.h.
|
private |
Pointer to atom object outside the scope of the class.
Definition at line 51 of file BondBoost.h.
|
private |
|
private |
Definition at line 64 of file BondBoost.h.
|
private |
Definition at line 68 of file BondBoost.h.
|
private |
Definition at line 65 of file BondBoost.h.
|
private |
Definition at line 67 of file BondBoost.h.
|
private |
Definition at line 66 of file BondBoost.h.
|
private |
Reference to a structure outside the scope of the class containing runtime parameters.
Definition at line 53 of file BondBoost.h.
|
private |
Definition at line 56 of file BondBoost.h.
|
private |
Definition at line 57 of file BondBoost.h.
|
private |
Definition at line 61 of file BondBoost.h.