Rosetta  2021.16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Private Member Functions | Private Attributes | List of all members
core::scoring::OneDDistPotential Class Reference

#include <OneDDistPotential.hh>

Inheritance diagram for core::scoring::OneDDistPotential:
Inheritance graph
[legend]

Public Member Functions

 OneDDistPotential (std::string const &filename)
 
 OneDDistPotential (numeric::MathNTensor< core::Real, 1 > const &tensor, utility::json_spirit::mObject const &json)
 
 ~OneDDistPotential () override
 
core::Real evaluate (core::Real const dist) const
 
core::Real get_derivative (core::Real const dist) const
 
core::Real evaluate (core::Real const dist, bool const compute_deriv, core::Real &deriv) const
 

Private Member Functions

void initialize_from_json (utility::json_spirit::mObject const &json)
 

Private Attributes

numeric::MathNTensor
< core::Real, 1 > 
tensor_
 
utility::fixedsizearray1
< core::Real, 1 > 
minval_
 
utility::fixedsizearray1
< core::Real, 1 > 
binwidth_
 
utility::fixedsizearray1
< numeric::interpolation::CatmullRomSplineBoundaryType, 1 >
const 
boundary_
 

Constructor & Destructor Documentation

core::scoring::OneDDistPotential::OneDDistPotential ( std::string const &  filename)

References initialize_from_json(), and tensor_.

core::scoring::OneDDistPotential::OneDDistPotential ( numeric::MathNTensor< core::Real, 1 > const &  tensor,
utility::json_spirit::mObject const &  json 
)

References initialize_from_json(), and tensor_.

core::scoring::OneDDistPotential::~OneDDistPotential ( )
overridedefault

Member Function Documentation

core::Real core::scoring::OneDDistPotential::evaluate ( core::Real const  dist) const
core::Real core::scoring::OneDDistPotential::evaluate ( core::Real const  dist,
bool const  compute_deriv,
core::Real deriv 
) const
core::Real core::scoring::OneDDistPotential::get_derivative ( core::Real const  dist) const
void core::scoring::OneDDistPotential::initialize_from_json ( utility::json_spirit::mObject const &  json)
private

Member Data Documentation

utility::fixedsizearray1< core::Real, 1 > core::scoring::OneDDistPotential::binwidth_
private

Referenced by evaluate(), and initialize_from_json().

utility::fixedsizearray1< numeric::interpolation::CatmullRomSplineBoundaryType, 1 > const core::scoring::OneDDistPotential::boundary_
private

Referenced by evaluate().

utility::fixedsizearray1< core::Real, 1 > core::scoring::OneDDistPotential::minval_
private

Referenced by evaluate(), and initialize_from_json().

numeric::MathNTensor< core::Real, 1 > core::scoring::OneDDistPotential::tensor_
private

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