This class was created so that restraints can be weighted using a RestraintSet and that the derivatives would be scaled appropriately
Public Member Functions | |
DerivativeAccumulator (const DerivativeAccumulator ©, Float weight=1.0) | |
The weight is multiplied by the new weight. | |
DerivativeAccumulator (Float weight=1.0) | |
the weight is one by default | |
Float | operator() (const Float value) const |
Scale a value appropriately. |
Scale a value appropriately.
[in] | value | Value to add to the float attribute derivative. |