9 #ifndef IMPMULTIFIT_COMPLEMENTARITY_RESTRAINT_H
10 #define IMPMULTIFIT_COMPLEMENTARITY_RESTRAINT_H
12 #include <IMP/multifit/multifit_config.h>
17 IMPMULTIFIT_BEGIN_NAMESPACE
44 std::string name=
"ComplementarityRestraint %1%");
50 maximum_penetration_score_=s;
55 maximum_penetration_=d;
61 maximum_separation_=s;
65 complementarity_thickness_=th;
71 complementarity_value_=th;
75 interior_thickness_=th;
79 void set_penetration_coefficient(
double pc)
81 penetration_coef_ = pc;
84 void set_complementarity_coefficient(
double cc)
86 complementarity_coef_ = cc;
89 void set_boundary_coefficient(
double bc)
93 float get_voxel_size()
const {
return voxel_size_;}
112 double interior_thickness,
118 double interior_thickness,
125 double maximum_separation_, maximum_penetration_score_;
126 double maximum_penetration_;
127 double complementarity_thickness_, complementarity_value_;
128 double penetration_coef_, complementarity_coef_, boundary_coef_;
129 double interior_thickness_, voxel_size_;
132 IMPMULTIFIT_END_NAMESPACE
void set_complementarity_value(double th)
void set_maximum_penetration(double d)
Compute the complementarity between two molecules.
Class for adding derivatives from restraints to the model.
A modifier which variables within a ball.
void set_complementarity_thickness(double th)
algebra::GridD< 3, algebra::DenseGridStorageD< 3, float >, float > get_grid(DensityMap *in_map)
functionality for defining rigid bodies
A restraint is a term in an IMP ScoringFunction.
#define IMP_OBJECT_METHODS(Name)
Define the basic things needed by any Object.
void set_maximum_separation(double s)
virtual ModelObjectsTemp do_get_inputs() const =0
A class to represent a voxel grid.
void set_interior_layer_thickness(double th)
A decorator for a rigid body.
void set_maximum_penetration_score(double s)