IMP logo
IMP Reference Guide  develop.7482b7c7af, 2026/12/05
The Integrative Modeling Platform
IMP::score_functor::SphereDistance< BaseDistanceScore > Class Template Reference

#include <IMP/score_functor/SphereDistance.h>

Inheritance diagram for IMP::score_functor::SphereDistance< BaseDistanceScore >:

Detailed Description

template<class BaseDistanceScore>
class IMP::score_functor::SphereDistance< BaseDistanceScore >

Transform the center distance to the sphere distance and pass it off to BaseDistanceScore.

Examples
atom/dope_and_excluded_volume.cpp.

Definition at line 23 of file SphereDistance.h.

Public Member Functions

 SphereDistance (BaseDistanceScore base)
bool get_is_trivially_zero (Model *m, const ParticleIndexPair &pi, double squared_distance) const
double get_maximum_range (Model *m, const ParticleIndexPair &pi) const
double get_score (Model *m, const ParticleIndexPair &pi, double distance) const
DerivativePair get_score_and_derivative (Model *m, const ParticleIndexPair &pi, double distance) const

Constructor & Destructor Documentation

◆ SphereDistance() [1/2]

template<class BaseDistanceScore>
IMP::score_functor::SphereDistance< BaseDistanceScore >::SphereDistance ( BaseDistanceScore base)

Definition at line 41 of file SphereDistance.h.

◆ SphereDistance() [2/2]

template<class BaseDistanceScore>
IMP::score_functor::SphereDistance< BaseDistanceScore >::SphereDistance ( )

Definition at line 42 of file SphereDistance.h.

Member Function Documentation

◆ get_is_trivially_zero()

template<class BaseDistanceScore>
bool IMP::score_functor::SphereDistance< BaseDistanceScore >::get_is_trivially_zero ( Model * m,
const ParticleIndexPair & pi,
double squared_distance ) const

Definition at line 56 of file SphereDistance.h.

◆ get_maximum_range()

template<class BaseDistanceScore>
double IMP::score_functor::SphereDistance< BaseDistanceScore >::get_maximum_range ( Model * m,
const ParticleIndexPair & pi ) const

Definition at line 52 of file SphereDistance.h.

◆ get_score()

template<class BaseDistanceScore>
double IMP::score_functor::SphereDistance< BaseDistanceScore >::get_score ( Model * m,
const ParticleIndexPair & pi,
double distance ) const

Definition at line 43 of file SphereDistance.h.

◆ get_score_and_derivative()

template<class BaseDistanceScore>
DerivativePair IMP::score_functor::SphereDistance< BaseDistanceScore >::get_score_and_derivative ( Model * m,
const ParticleIndexPair & pi,
double distance ) const

Definition at line 47 of file SphereDistance.h.


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