Gromacs  2025-dev-20241008-cf8b9ef
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members | Public Member Functions
gmx::anonymous_namespace{densityfit.cpp}::DensitySimilarityInnerProduct Class Referencefinal

Inherits gmx::DensitySimilarityMeasureImpl.

Description

Implementation for DensitySimilarityInnerProduct.

The similarity measure itself is documented in DensitySimilarityMeasureMethod::innerProduct.

Public Member Functions

 DensitySimilarityInnerProduct (density referenceDensity)
 Construct similarity measure by setting the reference density.
 
density gradient (density comparedDensity) override
 The gradient for the inner product similarity measure is the reference density divided by the number of voxels.
 
std::unique_ptr
< DensitySimilarityMeasureImpl > 
clone () override
 Clone this.
 
real similarity (density comparedDensity) override
 The similarity between reference density and compared density.
 
- Public Member Functions inherited from gmx::DensitySimilarityMeasureImpl
virtual density gradient (density comparedDensity)=0
 Derivative of the density similarity measure at all voxels. More...
 
virtual real similarity (density comparedDensity)=0
 Similarity between reference and compared density. More...
 
virtual std::unique_ptr
< DensitySimilarityMeasureImpl > 
clone ()=0
 clone to allow copy operations
 

Additional Inherited Members

- Public Types inherited from gmx::DensitySimilarityMeasureImpl
using density = DensitySimilarityMeasure::density
 convenience typedef
 

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