![]() |
QMCPACK
|
Inheritance diagram for CenterGrid:
Collaboration diagram for CenterGrid:Public Member Functions | |
| GridType | Type () override |
| Returns the type of the grid (i.e. linear, optimal, etc) More... | |
| int | ReverseMap (double x) override |
| Returns the index of the nearest point below r. More... | |
| void | Write (IOSectionClass &out) override |
| void | Read (IOSectionClass &in) override |
| void | Init (double start, double end, double ratio, int numPoints) |
Public Member Functions inherited from Grid | |
| double | operator() (int i) const |
| The i'th point in the grid. More... | |
| double * | data () |
| Array< double, 1 > & | Points () |
| virtual | ~Grid () |
Private Attributes | |
| double | a |
| double | aInv |
| double | b |
| double | bInv |
| double | center |
| int | HalfPoints |
| bool | Odd |
| double | EvenHalf |
| int | OddOne |
Additional Inherited Members | |
Public Attributes inherited from Grid | |
| double | Start |
| First and last grid points. More... | |
| double | End |
| int | NumPoints |
| Number of points in the grid. More... | |
Protected Attributes inherited from Grid | |
| Array< double, 1 > | grid |
| Contains the grid points. More... | |
|
inline |
Definition at line 464 of file Grid.h.
References a, qmcplusplus::abs(), aInv, b, bInv, center, Grid::End, EvenHalf, Grid::grid, HalfPoints, qmcplusplus::log(), Grid::NumPoints, Odd, OddOne, Array< T, D, ALLOC >::resize(), sign(), and Grid::Start.
|
inlineoverridevirtual |
|
inlineoverridevirtual |
Returns the index of the nearest point below r.
Implements Grid.
Definition at line 456 of file Grid.h.
References qmcplusplus::abs(), aInv, bInv, center, EvenHalf, qmcplusplus::floor(), and HalfPoints.
|
inlineoverridevirtual |
|
inlineoverridevirtual |
|
private |
Definition at line 445 of file Grid.h.
Referenced by Init(), and ReverseMap().
|
private |
Definition at line 445 of file Grid.h.
Referenced by Init(), and ReverseMap().
|
private |
Definition at line 445 of file Grid.h.
Referenced by Init(), and ReverseMap().
|
private |
Definition at line 448 of file Grid.h.
Referenced by Init(), and ReverseMap().
|
private |
Definition at line 446 of file Grid.h.
Referenced by Init(), and ReverseMap().