Rosetta  2020.37
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Private Attributes | List of all members
numeric::interpolation::spline::CompoundInterpolator Class Reference

#include <CompoundInterpolator.hh>

Inheritance diagram for numeric::interpolation::spline::CompoundInterpolator:
Inheritance graph
[legend]

Public Member Functions

 CompoundInterpolator ()=default
 
 CompoundInterpolator (CompoundInterpolator const &other)
 
InterpolatorOP clone () const override
 
void add_range (InterpolatorOP interp, Real lb, Real ub)
 
void interpolate (Real x, Real &y, Real &dy) const override
 
utility::json_spirit::Value serialize () const override
 serialize the Interpolator to a json_spirit object More...
 
void deserialize (utility::json_spirit::mObject data) override
 deserialize a json_spirit object to a Interpolator More...
 
bool operator== (Interpolator const &other) const override
 
bool same_type_as_me (Interpolator const &other) const override
 
- Public Member Functions inherited from numeric::interpolation::spline::Interpolator
 ~Interpolator () override
 Automatically generated virtual destructor for class deriving directly from VirtualBase. More...
 
 Interpolator ()
 
void set_lb_function (numeric::Real const &lb, numeric::Real const &slope, numeric::Real const &intercept)
 set a linear function describing the behavior of the interpolator after a given lower bound. This lower bound can be distinct from the lb of the spline More...
 
void set_ub_function (numeric::Real const &ub, numeric::Real const &slope, numeric::Real const &intercept)
 set a linear function describing the behavior of the interpolator after a given upper bound. This upper bound can be distinct from the ub of the spline More...
 
bool has_lb_function () const
 return true if the interpolator has a defined lower bound function More...
 
bool has_ub_function () const
 return false if the interpolator has a defined upper bound function More...
 
numeric::Real get_lb_function_cutoff () const
 get the lower bound cutoff More...
 
numeric::Real get_ub_function_cutoff () const
 get the upper bound cutoff More...
 
void compute_lb_function_solution (numeric::Real x, numeric::Real &y) const
 compute the y value of the lower bound function given an x value More...
 
void compute_ub_function_solution (numeric::Real x, numeric::Real &y) const
 compute the y value of the lower bound function given an x value More...
 
- Public Member Functions inherited from utility::VirtualBase
 VirtualBase ()=default
 Default constructor. More...
 
virtual ~VirtualBase ()=default
 The virtual destructor is one of the main reasons for the VirtualBase class. More...
 
 VirtualBase (VirtualBase const &)=default
 
 VirtualBase (VirtualBase &&)=default
 
VirtualBaseoperator= (VirtualBase const &)=default
 
VirtualBaseoperator= (VirtualBase &&)=default
 

Private Attributes

utility::vector1< interp_rangeinterpolators_
 

Constructor & Destructor Documentation

numeric::interpolation::spline::CompoundInterpolator::CompoundInterpolator ( )
default
numeric::interpolation::spline::CompoundInterpolator::CompoundInterpolator ( CompoundInterpolator const &  other)

Member Function Documentation

void numeric::interpolation::spline::CompoundInterpolator::add_range ( InterpolatorOP  interp,
Real  lb,
Real  ub 
)
InterpolatorOP numeric::interpolation::spline::CompoundInterpolator::clone ( ) const
overridevirtual
void numeric::interpolation::spline::CompoundInterpolator::deserialize ( utility::json_spirit::mObject  data)
overridevirtual
void numeric::interpolation::spline::CompoundInterpolator::interpolate ( Real  x,
Real y,
Real dy 
) const
overridevirtual
bool numeric::interpolation::spline::CompoundInterpolator::operator== ( Interpolator const &  other) const
overridevirtual
bool numeric::interpolation::spline::CompoundInterpolator::same_type_as_me ( Interpolator const &  other) const
overridevirtual
utility::json_spirit::Value numeric::interpolation::spline::CompoundInterpolator::serialize ( ) const
overridevirtual

Member Data Documentation

utility::vector1< interp_range > numeric::interpolation::spline::CompoundInterpolator::interpolators_
private

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