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 nullptr-initialized pointer to an IMP Object.
virtual double evaluate_index(kernel::Model *m, const ParticleIndexPair &vt, DerivativeAccumulator *da) const
Compute the score and the derivative if needed.
A smart pointer to a ref-counted Object that is a class memeber.
#define IMP_PAIR_SCORE_METHODS(Name)
A class to store an fixed array of same-typed values.
virtual ModelObjectsTemp do_get_inputs(kernel::Model *m, const ParticleIndexes &pis) const
Import IMP/kernel/PairScore.h in the namespace.
#define IMP_OBJECT_METHODS(Name)
Define the basic things needed by any Object.
#define IMP_OBJECTS(Name, PluralName)
Define the types for storing sets of objects.
Classes to smooth nonbonded interactions.
Base class for smoothing nonbonded interactions as a function of distance.
Class for storing model, its restraints, constraints, and particles.
Import IMP/kernel/generic.h in the namespace.