10 #ifndef IMPNPCTRANSPORT_PORE_RADIUS_SINGLETON_SCORE_H
11 #define IMPNPCTRANSPORT_PORE_RADIUS_SINGLETON_SCORE_H
13 #include "npctransport_config.h"
19 IMPNPCTRANSPORT_BEGIN_NAMESPACE
23 class IMPNPCTRANSPORTEXPORT
34 P(new core::Harmonic(mean, k),
44 P::get_unary_function()->set_k(k);
54 IMPNPCTRANSPORT_END_NAMESPACE
void set_k(double k)
set the coefficient of the score harmonic to k
virtual ModelObjectsTemp do_get_inputs(Model *m, const ParticleIndexes &pis) const override
Overload this method to specify the inputs.
#define IMP_OBJECT_METHODS(Name)
Define the basic things needed by any Object.
A more IMP-like version of the std::vector.
Class for storing model, its restraints, constraints, and particles.
#define IMP_SINGLETON_SCORE_METHODS(Name)
A score based on the unmodified value of an attribute.
A harmonic score on the negative directed distance between a pair of particles. The score equals zero...
double Float
Basic floating-point value (could be float, double...)
A decorator for a particle that's a slab with a cylindrical pore.
Apply a function to an attribute.
PoreRadiusSingletonScore(Float mean, Float k)