Gromacs
2025.0-dev-20241011-013a99c
|
#include <gromacs/math/include/gromacs/math/densityfit.h>
Measure similarity and gradient between densities.
Public Types | |
using | density = basic_mdspan< const float, dynamicExtents3D > |
a three-dimensional const view into density data | |
Public Member Functions | |
DensitySimilarityMeasure (DensitySimilarityMeasureMethod method, density referenceDensity) | |
Chose comparison method and set reference density. More... | |
DensitySimilarityMeasure (const DensitySimilarityMeasure &other) | |
Copy constructor. | |
DensitySimilarityMeasure & | operator= (const DensitySimilarityMeasure &other) |
Copy assignment. | |
DensitySimilarityMeasure (DensitySimilarityMeasure &&other) noexcept | |
Move constructor. | |
DensitySimilarityMeasure & | operator= (DensitySimilarityMeasure &&other) noexcept |
Move assignment. | |
density | gradient (density comparedDensity) |
Derivative of the density similarity measure at all voxels. More... | |
real | similarity (density comparedDensity) |
Similarity between reference and compared density. More... | |
gmx::DensitySimilarityMeasure::DensitySimilarityMeasure | ( | DensitySimilarityMeasureMethod | method, |
density | referenceDensity | ||
) |
Chose comparison method and set reference density.
[in] | method | defines how densities are compared to one another |
[in] | referenceDensity |
NotImplementedError | if method is not known |
DensitySimilarityMeasure::density gmx::DensitySimilarityMeasure::gradient | ( | density | comparedDensity | ) |
Derivative of the density similarity measure at all voxels.
[in] | comparedDensity | the variable density |
Similarity between reference and compared density.
[in] | comparedDensity | the variable density |