![]() |
QMCPACK
|
Inheritance diagram for OneDimQuinticSpline< Td, Tg, CTd, CTg >:
Collaboration diagram for OneDimQuinticSpline< Td, Tg, CTd, CTg >:Public Types | |
| using | base_type = OneDimGridFunctor< Td, Tg, CTd, CTg > |
| using | value_type = typename base_type::value_type |
| using | point_type = typename base_type::point_type |
| using | data_type = typename base_type::data_type |
| using | grid_type = typename base_type::grid_type |
Public Types inherited from OneDimGridFunctor< Td, Tg, CTd, CTg > | |
| using | value_type = Td |
| the type of the value on a grid More... | |
| using | point_type = Tg |
| the type of the grid value More... | |
| using | data_type = CTd |
| the type of the containers Y, dY and d2Y More... | |
| using | grid_type = OneDimGridBase< Tg, CTg > |
| the grid type More... | |
| using | this_type = OneDimGridFunctor< Td, Tg, CTd, CTg > |
| the type of this class More... | |
Public Member Functions | |
| OneDimQuinticSpline (std::unique_ptr< grid_type > gt=std::unique_ptr< grid_type >()) | |
| template<class VV > | |
| OneDimQuinticSpline (std::unique_ptr< grid_type > gt, const VV &nv) | |
| void | set (Vector< Td > &data) |
| OneDimQuinticSpline< Td, Tg, CTd, CTg > * | makeClone () const |
| OneDimQuinticSpline (const OneDimQuinticSpline< Td, Tg, CTd, CTg > &a) | |
| value_type | splint (point_type r) const override |
| value_type | splint (point_type r, value_type &du, value_type &d2u) const override |
| value_type | splint (point_type r, value_type &du, value_type &d2u, value_type &d3u) const |
| void | spline (int imin, value_type yp1, int imax, value_type ypn) override |
| void | spline () override |
Public Member Functions inherited from OneDimGridFunctor< Td, Tg, CTd, CTg > | |
| OneDimGridFunctor (std::unique_ptr< grid_type > gt=std::unique_ptr< grid_type >()) | |
| constructor More... | |
| OneDimGridFunctor (const OneDimGridFunctor &a) | |
| virtual | ~OneDimGridFunctor ()=default |
| template<typename TT > | |
| void | resetParameters (const TT &active) |
| void | setNumOfNodes (int n) |
| set the number of nodes More... | |
| int | getNumOfNodes () const |
| return the number of nodes More... | |
| value_type * | data () |
| return the grid data More... | |
| const value_type * | data () const |
| assign the grid data More... | |
| int | size () const |
| return the number of data points More... | |
| void | resize (int n) |
| resize the number of data points More... | |
| const grid_type & | grid () const |
| return the radial grid More... | |
| grid_type & | grid () |
| assign a radial grid More... | |
| value_type | operator() (int i) const |
| returns a value More... | |
| value_type & | operator() (int i) |
| asign a value at i More... | |
| point_type | dh () const |
| return the address of the values More... | |
| point_type | r (int i) const |
return the grid point at index i More... | |
| point_type | dr (int i) const |
return More... | |
| value_type | f (point_type r) |
| Evaluate the function and its derivatives, store the derivatives. More... | |
| value_type | df (point_type r) |
| Evaluate the function and its derivatives, store the derivatives. More... | |
| value_type | evaluate (point_type r, point_type rinv) |
| Evaluate the function value only. More... | |
| value_type | evaluateAll (point_type r, point_type rinv) |
| Evaluate the function and its derivatives. More... | |
| value_type | evaluate (point_type r, point_type rinv, value_type &du, value_type &d2u) |
| Evaluate the function and its derivatives. More... | |
Public Attributes | |
| data_type | m_Y2 |
| data_type | B |
| data_type | D |
| data_type | E |
| data_type | F |
| point_type | r_min |
| point_type | r_max |
| value_type | first_deriv |
| value_type | last_deriv |
| value_type | ConstValue |
| value_type | d2Y |
| store the second derivative of the function More... | |
| value_type | dY |
| store the derivative of the function More... | |
| std::unique_ptr< grid_type > | m_grid |
| pointer to the radial grid More... | |
| data_type | m_Y |
| data for the function on the grid More... | |
| value_type | Y |
| store the value of the function More... | |
| int | NumNodes |
| the number of nodes More... | |
Public Attributes inherited from OneDimGridFunctor< Td, Tg, CTd, CTg > | |
| std::unique_ptr< grid_type > | m_grid |
| pointer to the radial grid More... | |
| value_type | Y |
| store the value of the function More... | |
| value_type | dY |
| store the derivative of the function More... | |
| value_type | d2Y |
| store the second derivative of the function More... | |
| data_type | m_Y |
| data for the function on the grid More... | |
| int | NumNodes |
| the number of nodes More... | |
Private Member Functions | |
| Td | quinticInterpolate (Td cL, Td a, Td b, Td c, Td d, Td e, Td f) const |
| Td | quinticInterpolateSecondDeriv (Td cL, Td a, Td b, Td c, Td d, Td e, Td f, Td &du, Td &d2u) const |
| Td | quinticInterpolateThirdDeriv (Td cL, Td a, Td b, Td c, Td d, Td e, Td f, Td &du, Td &d2u, Td &d3u) const |
Definition at line 28 of file OneDimQuinticSpline.h.
| using base_type = OneDimGridFunctor<Td, Tg, CTd, CTg> |
Definition at line 31 of file OneDimQuinticSpline.h.
| using data_type = typename base_type::data_type |
Definition at line 34 of file OneDimQuinticSpline.h.
| using grid_type = typename base_type::grid_type |
Definition at line 35 of file OneDimQuinticSpline.h.
| using point_type = typename base_type::point_type |
Definition at line 33 of file OneDimQuinticSpline.h.
| using value_type = typename base_type::value_type |
Definition at line 32 of file OneDimQuinticSpline.h.
|
inline |
Definition at line 57 of file OneDimQuinticSpline.h.
|
inline |
Definition at line 60 of file OneDimQuinticSpline.h.
References OneDimQuinticSpline< Td, Tg, CTd, CTg >::B, copy(), OneDimQuinticSpline< Td, Tg, CTd, CTg >::D, OneDimQuinticSpline< Td, Tg, CTd, CTg >::E, OneDimQuinticSpline< Td, Tg, CTd, CTg >::F, OneDimGridFunctor< Td, Tg, CTd, CTg >::m_Y, OneDimQuinticSpline< Td, Tg, CTd, CTg >::m_Y2, and qmcplusplus::n.
|
inline |
Definition at line 87 of file OneDimQuinticSpline.h.
References OneDimQuinticSpline< Td, Tg, CTd, CTg >::B, OneDimQuinticSpline< Td, Tg, CTd, CTg >::ConstValue, OneDimQuinticSpline< Td, Tg, CTd, CTg >::D, OneDimQuinticSpline< Td, Tg, CTd, CTg >::E, OneDimQuinticSpline< Td, Tg, CTd, CTg >::F, OneDimQuinticSpline< Td, Tg, CTd, CTg >::first_deriv, OneDimQuinticSpline< Td, Tg, CTd, CTg >::last_deriv, OneDimQuinticSpline< Td, Tg, CTd, CTg >::m_Y2, OneDimQuinticSpline< Td, Tg, CTd, CTg >::r_max, and OneDimQuinticSpline< Td, Tg, CTd, CTg >::r_min.
|
inline |
Definition at line 85 of file OneDimQuinticSpline.h.
|
inlineprivate |
Definition at line 108 of file OneDimQuinticSpline.h.
References qmcplusplus::Units::charge::e, and OneDimGridFunctor< Td, Tg, CTd, CTg >::f().
Referenced by OneDimQuinticSpline< Td, Tg, CTd, CTg >::splint().
|
inlineprivate |
Definition at line 113 of file OneDimQuinticSpline.h.
References qmcplusplus::Units::charge::e, and OneDimGridFunctor< Td, Tg, CTd, CTg >::f().
Referenced by OneDimQuinticSpline< Td, Tg, CTd, CTg >::splint().
|
inlineprivate |
Definition at line 120 of file OneDimQuinticSpline.h.
References qmcplusplus::Units::charge::e, and OneDimGridFunctor< Td, Tg, CTd, CTg >::f().
Referenced by OneDimQuinticSpline< Td, Tg, CTd, CTg >::splint().
|
inline |
Definition at line 73 of file OneDimQuinticSpline.h.
References OneDimQuinticSpline< Td, Tg, CTd, CTg >::B, OneDimQuinticSpline< Td, Tg, CTd, CTg >::D, OneDimGridFunctor< Td, Tg, CTd, CTg >::data(), OneDimQuinticSpline< Td, Tg, CTd, CTg >::E, OneDimQuinticSpline< Td, Tg, CTd, CTg >::F, OneDimGridFunctor< Td, Tg, CTd, CTg >::m_Y, OneDimQuinticSpline< Td, Tg, CTd, CTg >::m_Y2, and qmcplusplus::n.
Referenced by qmcplusplus::TEST_CASE().
|
inlineoverridevirtual |
Reimplemented from OneDimGridFunctor< Td, Tg, CTd, CTg >.
Definition at line 175 of file OneDimQuinticSpline.h.
References OneDimQuinticSpline< Td, Tg, CTd, CTg >::B, OneDimQuinticSpline< Td, Tg, CTd, CTg >::ConstValue, OneDimQuinticSpline< Td, Tg, CTd, CTg >::D, OneDimQuinticSpline< Td, Tg, CTd, CTg >::E, OneDimQuinticSpline< Td, Tg, CTd, CTg >::F, OneDimQuinticSpline< Td, Tg, CTd, CTg >::first_deriv, OneDimQuinticSpline< Td, Tg, CTd, CTg >::last_deriv, OneDimGridFunctor< Td, Tg, CTd, CTg >::m_grid, OneDimGridFunctor< Td, Tg, CTd, CTg >::m_Y, OneDimQuinticSpline< Td, Tg, CTd, CTg >::m_Y2, QuinticSplineSolve(), OneDimQuinticSpline< Td, Tg, CTd, CTg >::r_max, OneDimQuinticSpline< Td, Tg, CTd, CTg >::r_min, and OneDimGridFunctor< Td, Tg, CTd, CTg >::size().
Referenced by qmcplusplus::applyCuspCorrection().
|
inlineoverridevirtual |
Reimplemented from OneDimGridFunctor< Td, Tg, CTd, CTg >.
Definition at line 197 of file OneDimQuinticSpline.h.
References OneDimGridFunctor< Td, Tg, CTd, CTg >::m_grid, and OneDimQuinticSpline< Td, Tg, CTd, CTg >::spline().
Referenced by OneDimQuinticSpline< Td, Tg, CTd, CTg >::spline().
|
inlineoverridevirtual |
Reimplemented from OneDimGridFunctor< Td, Tg, CTd, CTg >.
Definition at line 129 of file OneDimQuinticSpline.h.
References OneDimQuinticSpline< Td, Tg, CTd, CTg >::B, OneDimQuinticSpline< Td, Tg, CTd, CTg >::ConstValue, OneDimQuinticSpline< Td, Tg, CTd, CTg >::D, OneDimQuinticSpline< Td, Tg, CTd, CTg >::E, OneDimQuinticSpline< Td, Tg, CTd, CTg >::F, OneDimQuinticSpline< Td, Tg, CTd, CTg >::first_deriv, OneDimGridFunctor< Td, Tg, CTd, CTg >::m_grid, OneDimGridFunctor< Td, Tg, CTd, CTg >::m_Y, OneDimQuinticSpline< Td, Tg, CTd, CTg >::m_Y2, OneDimQuinticSpline< Td, Tg, CTd, CTg >::quinticInterpolate(), OneDimGridFunctor< Td, Tg, CTd, CTg >::r(), OneDimQuinticSpline< Td, Tg, CTd, CTg >::r_max, and OneDimQuinticSpline< Td, Tg, CTd, CTg >::r_min.
|
inlineoverridevirtual |
Reimplemented from OneDimGridFunctor< Td, Tg, CTd, CTg >.
Definition at line 145 of file OneDimQuinticSpline.h.
References OneDimQuinticSpline< Td, Tg, CTd, CTg >::B, OneDimQuinticSpline< Td, Tg, CTd, CTg >::ConstValue, OneDimQuinticSpline< Td, Tg, CTd, CTg >::D, OneDimQuinticSpline< Td, Tg, CTd, CTg >::E, OneDimQuinticSpline< Td, Tg, CTd, CTg >::F, OneDimQuinticSpline< Td, Tg, CTd, CTg >::first_deriv, OneDimGridFunctor< Td, Tg, CTd, CTg >::m_grid, OneDimGridFunctor< Td, Tg, CTd, CTg >::m_Y, OneDimQuinticSpline< Td, Tg, CTd, CTg >::m_Y2, OneDimQuinticSpline< Td, Tg, CTd, CTg >::quinticInterpolateSecondDeriv(), OneDimGridFunctor< Td, Tg, CTd, CTg >::r(), OneDimQuinticSpline< Td, Tg, CTd, CTg >::r_max, and OneDimQuinticSpline< Td, Tg, CTd, CTg >::r_min.
|
inline |
Definition at line 160 of file OneDimQuinticSpline.h.
References OneDimQuinticSpline< Td, Tg, CTd, CTg >::B, OneDimQuinticSpline< Td, Tg, CTd, CTg >::ConstValue, OneDimQuinticSpline< Td, Tg, CTd, CTg >::D, OneDimQuinticSpline< Td, Tg, CTd, CTg >::E, OneDimQuinticSpline< Td, Tg, CTd, CTg >::F, OneDimQuinticSpline< Td, Tg, CTd, CTg >::first_deriv, OneDimGridFunctor< Td, Tg, CTd, CTg >::m_grid, OneDimGridFunctor< Td, Tg, CTd, CTg >::m_Y, OneDimQuinticSpline< Td, Tg, CTd, CTg >::m_Y2, OneDimQuinticSpline< Td, Tg, CTd, CTg >::quinticInterpolateThirdDeriv(), OneDimGridFunctor< Td, Tg, CTd, CTg >::r(), OneDimQuinticSpline< Td, Tg, CTd, CTg >::r_max, and OneDimQuinticSpline< Td, Tg, CTd, CTg >::r_min.
Definition at line 44 of file OneDimQuinticSpline.h.
Referenced by MultiQuinticSpline1D< T >::add_spline(), OneDimQuinticSpline< Td, Tg, CTd, CTg >::OneDimQuinticSpline(), OneDimQuinticSpline< Td, Tg, CTd, CTg >::set(), OneDimQuinticSpline< Td, Tg, CTd, CTg >::spline(), and OneDimQuinticSpline< Td, Tg, CTd, CTg >::splint().
| value_type ConstValue |
Definition at line 55 of file OneDimQuinticSpline.h.
Referenced by OneDimQuinticSpline< Td, Tg, CTd, CTg >::OneDimQuinticSpline(), OneDimQuinticSpline< Td, Tg, CTd, CTg >::spline(), and OneDimQuinticSpline< Td, Tg, CTd, CTg >::splint().
Definition at line 45 of file OneDimQuinticSpline.h.
Referenced by MultiQuinticSpline1D< T >::add_spline(), OneDimQuinticSpline< Td, Tg, CTd, CTg >::OneDimQuinticSpline(), OneDimQuinticSpline< Td, Tg, CTd, CTg >::set(), OneDimQuinticSpline< Td, Tg, CTd, CTg >::spline(), and OneDimQuinticSpline< Td, Tg, CTd, CTg >::splint().
| value_type d2Y |
store the second derivative of the function
Definition at line 191 of file OneDimGridFunctor.h.
| value_type dY |
store the derivative of the function
Definition at line 189 of file OneDimGridFunctor.h.
Definition at line 46 of file OneDimQuinticSpline.h.
Referenced by MultiQuinticSpline1D< T >::add_spline(), OneDimQuinticSpline< Td, Tg, CTd, CTg >::OneDimQuinticSpline(), OneDimQuinticSpline< Td, Tg, CTd, CTg >::set(), OneDimQuinticSpline< Td, Tg, CTd, CTg >::spline(), and OneDimQuinticSpline< Td, Tg, CTd, CTg >::splint().
Definition at line 47 of file OneDimQuinticSpline.h.
Referenced by MultiQuinticSpline1D< T >::add_spline(), OneDimQuinticSpline< Td, Tg, CTd, CTg >::OneDimQuinticSpline(), OneDimQuinticSpline< Td, Tg, CTd, CTg >::set(), OneDimQuinticSpline< Td, Tg, CTd, CTg >::spline(), and OneDimQuinticSpline< Td, Tg, CTd, CTg >::splint().
| value_type first_deriv |
| value_type last_deriv |
Definition at line 54 of file OneDimQuinticSpline.h.
Referenced by OneDimQuinticSpline< Td, Tg, CTd, CTg >::OneDimQuinticSpline(), and OneDimQuinticSpline< Td, Tg, CTd, CTg >::spline().
| std::unique_ptr<grid_type> m_grid |
pointer to the radial grid
Definition at line 184 of file OneDimGridFunctor.h.
| data_type m_Y |
data for the function on the grid
Definition at line 194 of file OneDimGridFunctor.h.
Referenced by MultiQuinticSpline1D< T >::add_spline().
| data_type m_Y2 |
Definition at line 43 of file OneDimQuinticSpline.h.
Referenced by MultiQuinticSpline1D< T >::add_spline(), OneDimQuinticSpline< Td, Tg, CTd, CTg >::OneDimQuinticSpline(), OneDimQuinticSpline< Td, Tg, CTd, CTg >::set(), OneDimQuinticSpline< Td, Tg, CTd, CTg >::spline(), and OneDimQuinticSpline< Td, Tg, CTd, CTg >::splint().
| int NumNodes |
the number of nodes
Definition at line 197 of file OneDimGridFunctor.h.
| point_type r_max |
Definition at line 52 of file OneDimQuinticSpline.h.
Referenced by OneDimQuinticSpline< Td, Tg, CTd, CTg >::OneDimQuinticSpline(), OneDimQuinticSpline< Td, Tg, CTd, CTg >::spline(), and OneDimQuinticSpline< Td, Tg, CTd, CTg >::splint().
| point_type r_min |
Definition at line 51 of file OneDimQuinticSpline.h.
Referenced by OneDimQuinticSpline< Td, Tg, CTd, CTg >::OneDimQuinticSpline(), OneDimQuinticSpline< Td, Tg, CTd, CTg >::spline(), and OneDimQuinticSpline< Td, Tg, CTd, CTg >::splint().
store the value of the function
Definition at line 187 of file OneDimGridFunctor.h.