![]() |
QMCPACK
|
One-dimensional grid functor that returns a constant. More...
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 |
![]() | |
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 | |
OneDimConstFunctor (grid_type *gt=0) | |
value_type | splint (point_type r) const override |
value_type | splint (point_type r, value_type &du, value_type &d2u) const override |
void | spline (int imin, value_type yp1, int imax, value_type ypn) |
void | spline () |
![]() | |
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 ![]() | |
point_type | dr (int i) const |
return ![]() | |
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 | |
Td | ConstValue |
![]() | |
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... | |
One-dimensional grid functor that returns a constant.
Definition at line 206 of file OneDimGridFunctor.h.
using base_type = OneDimGridFunctor<Td, Tg, CTd, CTg> |
Definition at line 210 of file OneDimGridFunctor.h.
using data_type = typename base_type::data_type |
Definition at line 213 of file OneDimGridFunctor.h.
using grid_type = typename base_type::grid_type |
Definition at line 214 of file OneDimGridFunctor.h.
using point_type = typename base_type::point_type |
Definition at line 212 of file OneDimGridFunctor.h.
using value_type = typename base_type::value_type |
Definition at line 211 of file OneDimGridFunctor.h.
|
inline |
Definition at line 217 of file OneDimGridFunctor.h.
|
inlinevirtual |
Reimplemented from OneDimGridFunctor< Td, Tg, CTd, CTg >.
Definition at line 228 of file OneDimGridFunctor.h.
|
inlinevirtual |
Reimplemented from OneDimGridFunctor< Td, Tg, CTd, CTg >.
Definition at line 230 of file OneDimGridFunctor.h.
|
inlineoverridevirtual |
Reimplemented from OneDimGridFunctor< Td, Tg, CTd, CTg >.
Definition at line 219 of file OneDimGridFunctor.h.
References OneDimConstFunctor< Td, Tg, CTd, CTg >::ConstValue.
|
inlineoverridevirtual |
Reimplemented from OneDimGridFunctor< Td, Tg, CTd, CTg >.
Definition at line 221 of file OneDimGridFunctor.h.
References OneDimConstFunctor< Td, Tg, CTd, CTg >::ConstValue.
Td ConstValue |
Definition at line 209 of file OneDimGridFunctor.h.
Referenced by OneDimConstFunctor< Td, Tg, CTd, CTg >::splint().