8 #ifndef IMPATOM_COULOMB_PAIR_SCORE_H
9 #define IMPATOM_COULOMB_PAIR_SCORE_H
11 #include <IMP/atom/atom_config.h>
18 IMPATOM_BEGIN_NAMESPACE
31 double relative_dielectric_;
32 double multiplication_factor_;
34 void calculate_multiplication_factor();
38 set_relative_dielectric(1.0);
41 void set_relative_dielectric(
double relative_dielectric) {
42 relative_dielectric_ = relative_dielectric;
43 calculate_multiplication_factor();
46 double get_relative_dielectric()
const {
return relative_dielectric_; }
Class for adding derivatives from restraints to the model.
Import IMP/kernel/pair_macros.h in the namespace.
Coulomb (electrostatic) score between a pair of particles.
A smart pointer to a ref-counted Object that is a class member.
#define IMP_OBJECT_METHODS(Name)
Define the basic things needed by any Object.
#define IMP_PAIR_SCORE_METHODS(Name)
virtual double evaluate_index(kernel::Model *m, const kernel::ParticleIndexPair &vt, DerivativeAccumulator *da) const
Compute the score and the derivative if needed.
A class to store an fixed array of same-typed values.
Abstract class for scoring object(s) of type ParticlePair.
virtual ModelObjectsTemp do_get_inputs(kernel::Model *m, const ParticleIndexes &pis) const
Import IMP/kernel/PairScore.h in the namespace.
Classes to smooth nonbonded interactions.
#define IMP_OBJECTS(Name, PluralName)
Define the types for storing sets of objects.
A nullptr-initialized pointer to an IMP Object.
Base class for smoothing nonbonded interactions as a function of distance.
#define IMP_OVERRIDE
Cause a compile error if this method does not override a parent method.
Class for storing model, its restraints, constraints, and particles.
Import IMP/kernel/generic.h in the namespace.