OpenMD 3.1
Molecular Dynamics in the Open
Loading...
Searching...
No Matches
OpenMD::CubicSpline Class Reference

Public Member Functions

void addPoint (const RealType xp, const RealType yp)
 
void addPoints (const std::vector< RealType > &xps, const std::vector< RealType > &yps)
 
RealType getValueAt (const RealType &t)
 
std::pair< RealType, RealType > getLimits ()
 
void getValueAt (const RealType &t, RealType &v)
 
void getValueAndDerivativeAt (const RealType &t, RealType &v, RealType &d)
 
RealType getSpacing ()
 

Detailed Description

Definition at line 57 of file CubicSpline.hpp.

Constructor & Destructor Documentation

◆ CubicSpline()

OpenMD::CubicSpline::CubicSpline ( )

Definition at line 55 of file CubicSpline.cpp.

◆ ~CubicSpline()

virtual OpenMD::CubicSpline::~CubicSpline ( )
inlinevirtual

Definition at line 60 of file CubicSpline.hpp.

Member Function Documentation

◆ addPoint()

void OpenMD::CubicSpline::addPoint ( const RealType xp,
const RealType yp )

Definition at line 60 of file CubicSpline.cpp.

◆ addPoints()

void OpenMD::CubicSpline::addPoints ( const std::vector< RealType > & xps,
const std::vector< RealType > & yps )

Definition at line 65 of file CubicSpline.cpp.

◆ getLimits()

pair< RealType, RealType > OpenMD::CubicSpline::getLimits ( )

Definition at line 275 of file CubicSpline.cpp.

◆ getSpacing()

RealType OpenMD::CubicSpline::getSpacing ( )

Definition at line 280 of file CubicSpline.cpp.

◆ getValueAndDerivativeAt()

void OpenMD::CubicSpline::getValueAndDerivativeAt ( const RealType & t,
RealType & v,
RealType & d )

Definition at line 289 of file CubicSpline.cpp.

◆ getValueAt() [1/2]

RealType OpenMD::CubicSpline::getValueAt ( const RealType & t)

Definition at line 203 of file CubicSpline.cpp.

◆ getValueAt() [2/2]

void OpenMD::CubicSpline::getValueAt ( const RealType & t,
RealType & v )

Definition at line 239 of file CubicSpline.cpp.


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