Gromacs  2020.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members | Public Member Functions
gmx::DensityFittingAmplitudeLookup Class Reference

#include <gromacs/applied_forces/densityfittingamplitudelookup.h>

Description

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.
 
DensityFittingAmplitudeLookupoperator= (const DensityFittingAmplitudeLookup &other)
 Copy assignment.
 
 DensityFittingAmplitudeLookup (DensityFittingAmplitudeLookup &&other) noexcept
 Move constructor.
 
DensityFittingAmplitudeLookupoperator= (DensityFittingAmplitudeLookup &&other) noexcept
 Move assignment.
 
const std::vector< real > & operator() (const t_mdatoms &atoms, ArrayRef< const int > localIndex)
 Return the amplitudes for spreading atoms of a given local index. More...
 

Member Function Documentation

const std::vector< real > & gmx::DensityFittingAmplitudeLookup::operator() ( const t_mdatoms atoms,
ArrayRef< const int >  localIndex 
)

Return the amplitudes for spreading atoms of a given local index.

Parameters
[in]atomsthe atom information
[in]localIndexthe local atom indices
Returns
amplitudes

The documentation for this class was generated from the following files: