Gromacs
2025-dev-20241008-cf8b9ef
|
Inherits gmx::DensitySimilarityMeasureImpl.
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 | |