PROFASI
Version 1.5
|
Generic power law potential. More...
#include <RestraintFunction.hh>
Public Member Functions | |
int | set_pars (prf_xml::XML_Node *pars) |
Set parameters from an XML node. | |
double | operator() (double x) |
Evaluate the function for a given value of the coordinate. | |
![]() | |
RestraintFunction () | |
Default constructor. | |
virtual double | estimate_max (double scale_large) |
Estimate a maximum based on some "large" scale. | |
virtual double | estimate_min () |
Estimate a minimum. | |
Just like the quadratic or harmonic restraint term (prf::RestraintFunction ), but with a general power law shape. There is one additional parameter called exponent
.
|
virtual |
Parameters are mean, weight and exponent.
Reimplemented from prf::RestraintFunction.