PROFASI  Version 1.5
Public Member Functions | List of all members
prf::PowerLawRestraint Class Reference

Generic power law potential. More...

#include <RestraintFunction.hh>

Inheritance diagram for prf::PowerLawRestraint:
Inheritance graph

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.
- Public Member Functions inherited from prf::RestraintFunction
 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.

Detailed Description

Just like the quadratic or harmonic restraint term (prf::RestraintFunction ), but with a general power law shape. There is one additional parameter called exponent .

Member Function Documentation

int PowerLawRestraint::set_pars ( prf_xml::XML_Node pars)

Parameters are mean, weight and exponent.

Reimplemented from prf::RestraintFunction.

The documentation for this class was generated from the following files:

PROFASI: Protein Folding and Aggregation Simulator, Version 1.5
© (2005-2016) Anders Irbäck and Sandipan Mohanty
Documentation generated on Mon Jul 18 2016 using Doxygen version 1.8.2