![]() |
QMCPACK
|
ClusterGrid is a function whose gridpoints are clustered tightly around the origin. More...
Inheritance diagram for ClusterGrid:
Collaboration diagram for ClusterGrid:Public Member Functions | |
| GridType | Type () override |
| Returns the type of the grid (i.e. linear, optimal, etc) More... | |
| int | ReverseMap (double r) override |
| Returns the index of the nearest point below r. More... | |
| void | Init (double start, double end, double cluster, int numpoints) |
| void | Write (IOSectionClass &outSection) override |
| void | Read (IOSectionClass &inSection) override |
| ClusterGrid (double start, double end, double cluster, int numpoints) | |
| ClusterGrid () | |
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 () |
Public Attributes | |
| double | Start |
| double | End |
| double | Cluster |
Public Attributes inherited from Grid | |
| double | Start |
| First and last grid points. More... | |
| double | End |
| int | NumPoints |
| Number of points in the grid. More... | |
Private Attributes | |
| double | x0 |
| double | dri |
| double | rr |
Additional Inherited Members | |
Protected Attributes inherited from Grid | |
| Array< double, 1 > | grid |
| Contains the grid points. More... | |
ClusterGrid is a function whose gridpoints are clustered tightly around the origin.
|
inline |
Definition at line 626 of file Grid.h.
References Init().
|
inline |
|
inline |
Definition at line 590 of file Grid.h.
References Cluster, dri, End, Grid::grid, Grid::NumPoints, Array< T, D, ALLOC >::resize(), rr, Start, and x0.
Referenced by ClusterGrid(), and Read().
|
inlineoverridevirtual |
Implements Grid.
Definition at line 615 of file Grid.h.
References Init(), and IOSectionClass::ReadVar().
|
inlineoverridevirtual |
Returns the index of the nearest point below r.
Implements Grid.
Definition at line 588 of file Grid.h.
References dri, qmcplusplus::floor(), rr, and x0.
|
inlineoverridevirtual |
|
inlineoverridevirtual |
Implements Grid.
Definition at line 605 of file Grid.h.
References Cluster, End, Grid::grid, Grid::NumPoints, Start, and IOSectionClass::WriteVar().
|
private |
Definition at line 581 of file Grid.h.
Referenced by Init(), and ReverseMap().
|
private |
Definition at line 581 of file Grid.h.
Referenced by Init(), and ReverseMap().
|
private |
Definition at line 581 of file Grid.h.
Referenced by Init(), and ReverseMap().