Gromacs
2026.0-dev-20241213-9ac17bb
|
#include <gromacs/applied_forces/densityfitting/densityfittingamplitudelookup.h>
Class that translates atom properties into amplitudes.
Public Member Functions | |
DensityFittingAmplitudeLookup (const DensityFittingAmplitudeMethod &method) | |
Construct force provider for density fitting from its parameters. | |
DensityFittingAmplitudeLookup (const DensityFittingAmplitudeLookup &other) | |
Copy constructor. | |
DensityFittingAmplitudeLookup & | operator= (const DensityFittingAmplitudeLookup &other) |
Copy assignment. | |
DensityFittingAmplitudeLookup (DensityFittingAmplitudeLookup &&other) noexcept | |
Move constructor. | |
DensityFittingAmplitudeLookup & | operator= (DensityFittingAmplitudeLookup &&other) noexcept |
Move assignment. | |
const std::vector< real > & | operator() (ArrayRef< const real > chargeA, ArrayRef< const real > massT, ArrayRef< const int > localIndex) |
Return the amplitudes for spreading atoms of a given local index. More... | |
const std::vector< real > & gmx::DensityFittingAmplitudeLookup::operator() | ( | ArrayRef< const real > | chargeA, |
ArrayRef< const real > | massT, | ||
ArrayRef< const int > | localIndex | ||
) |
Return the amplitudes for spreading atoms of a given local index.
[in] | chargeA | Atom charges |
[in] | massT | Atom masses. |
[in] | localIndex | the local atom indices |