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

#include <PolycubicSpline.hh>

Inheritance diagram for numeric::interpolation::spline::PolycubicSpline< 1 >:
Inheritance graph
[legend]

Public Types

typedef PolycubicSplineBase parent
 
- Public Types inherited from numeric::interpolation::spline::PolycubicSplineBase
typedef numeric::Size Size
 

Public Member Functions

 PolycubicSpline ()
 construct generic PolycubicSpline More...
 
 PolycubicSpline (PolycubicSpline const &src)
 copy constructor More...
 
PolycubicSplineBaseOP clone () const override
 Implementation of pure virtual clone() function from base class: returns an owning pointer to a copy of this object. More...
 
MathNTensor< Real, 1 > const & get_deriv (Size n) const
 get the second order derivatives of the spline for 3 dimensions, you would pass 1-8 and get values, z, y, yz, x, xz, xy, xyz More...
 
Size dimensionality () const
 Get the dimensionality. More...
 
utility::fixedsizearray1< Real, 2 > get_all_derivs (utility::fixedsizearray1< Size, 1 > &)
 
Real F (utility::fixedsizearray1< Real, 1 > const &) const
 
Real dFdxi (Size, utility::fixedsizearray1< Real, 1 > const &) const
 
utility::fixedsizearray1< Real, 1 > dFdall (utility::fixedsizearray1< Real, 1 > const &) const
 
void train (utility::fixedsizearray1< BorderFlag, 1 > const &, utility::fixedsizearray1< double, 1 > const &, utility::fixedsizearray1< double, 1 > const &, MathNTensor< Real, 1 > const &, utility::fixedsizearray1< bool, 1 > const &, utility::fixedsizearray1< std::pair< Real, Real >, 1 > const &)
 
- Public Member Functions inherited from numeric::interpolation::spline::PolycubicSplineBase
 PolycubicSplineBase ()
 Construct generic PolycubicSplineBase. More...
 
 PolycubicSplineBase (Size const dimensionality_in)
 Initialization constructor. More...
 
virtual ~PolycubicSplineBase ()
 Virtual destructor needed for polymorphism. More...
 
Size dimensionality () const
 Get the dimensionality of the derived class. More...
 

Private Attributes

utility::fixedsizearray1
< BorderFlag, 1 > 
border_
 controls the behavior at x/y_0 and x/y_dim-1 More...
 
utility::fixedsizearray1< Real, 1 > start_
 
utility::fixedsizearray1< Real, 1 > delta_
 gives the arguments as a sequence of equidistant points More...
 
utility::fixedsizearray1
< MathNTensor< Real, 1 >, 2 > 
n_derivs_
 
utility::fixedsizearray1
< std::pair< Real, Real >, 1 > 
firstbe_
 
utility::fixedsizearray1< bool, 1 > LinCont_
 

Additional Inherited Members

- Protected Member Functions inherited from numeric::interpolation::spline::PolycubicSplineBase
void set_dimensionality (Size const dimensionality_in)
 Allow derived class to set the dimensionality. More...
 

Member Typedef Documentation

Constructor & Destructor Documentation

construct generic PolycubicSpline

copy constructor

Member Function Documentation

PolycubicSplineBaseOP numeric::interpolation::spline::PolycubicSpline< 1 >::clone ( ) const
inlineoverridevirtual

Implementation of pure virtual clone() function from base class: returns an owning pointer to a copy of this object.

Implements numeric::interpolation::spline::PolycubicSplineBase.

Returns
partial derivatives at (x1, x2, ... xn)
Real numeric::interpolation::spline::PolycubicSpline< 1 >::dFdxi ( Size  ,
utility::fixedsizearray1< Real, 1 > const &   
) const
inline
Returns
partial derivative at (x1, x2, ... xn) for var i
Size numeric::interpolation::spline::PolycubicSpline< 1 >::dimensionality ( ) const
inline

Get the dimensionality.

Returns
value at (x1, x2, ... xn)
MathNTensor< Real, 1 > const& numeric::interpolation::spline::PolycubicSpline< 1 >::get_deriv ( Size  n) const
inline

get the second order derivatives of the spline for 3 dimensions, you would pass 1-8 and get values, z, y, yz, x, xz, xy, xyz

References numeric::interpolation::spline::PolycubicSpline< N >::n_derivs_.

void numeric::interpolation::spline::PolycubicSpline< 1 >::train ( utility::fixedsizearray1< BorderFlag, 1 > const &  ,
utility::fixedsizearray1< double, 1 > const &  ,
utility::fixedsizearray1< double, 1 > const &  ,
MathNTensor< Real, 1 > const &  ,
utility::fixedsizearray1< bool, 1 > const &  ,
utility::fixedsizearray1< std::pair< Real, Real >, 1 > const &   
)
inline

Member Data Documentation

controls the behavior at x/y_0 and x/y_dim-1

gives the arguments as a sequence of equidistant points


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