8 #ifndef IMPNPCTRANSPORT_EXCLUDE_Z_RANGE_SINGLETON_SCORE_H
9 #define IMPNPCTRANSPORT_EXCLUDE_Z_RANGE_SINGLETON_SCORE_H
11 #include "npctransport_config.h"
15 IMPNPCTRANSPORT_BEGIN_NAMESPACE
38 double get_k()
const {
return k_; }
49 IMPNPCTRANSPORT_END_NAMESPACE
#define IMP_OBJECT_METHODS(Name)
Define the basic things needed by any Object.
double get_bottom_z() const
Macros for various classes.
A more IMP-like version of the std::vector.
Class for storing model, its restraints, constraints, and particles.
Exclude particles from the given range of z coordinates.
Abstract class for scoring object(s) of type ParticleIndex.
#define IMP_SINGLETON_SCORE_METHODS(Name)
virtual ModelObjectsTemp do_get_inputs(Model *m, const ParticleIndexes &pis) const =0
Overload this method to specify the inputs.
virtual double evaluate_index(Model *m, ParticleIndex vt, DerivativeAccumulator *da) const =0
Compute the score and the derivative if needed.
Class for adding derivatives from restraints to the model.