General Grid inherets from Grid.
More...
General Grid inherets from Grid.
Definition at line 141 of file Grid.h.
◆ GeneralGrid()
Useless constructor.
Definition at line 196 of file Grid.h.
◆ Init()
void Init |
( |
Array< double, 1 > & |
points | ) |
|
|
inline |
Definition at line 186 of file Grid.h.
References Grid::End, Grid::grid, Grid::NumPoints, Array< T, D, ALLOC >::resize(), Array< T, D, ALLOC >::size(), and Grid::Start.
Array< double, 1 > grid
Contains the grid points.
int NumPoints
Number of points in the grid.
void resize(const std::array< SIZET, D > &dims)
Resize the container.
double Start
First and last grid points.
◆ Read()
◆ ReverseMap()
int ReverseMap |
( |
double |
r | ) |
|
|
inlineoverridevirtual |
◆ Type()
Returns the type of the grid (in this case GENERAL)
Implements Grid.
Definition at line 145 of file Grid.h.
References GENERAL.
◆ Write()
Implements Grid.
Definition at line 172 of file Grid.h.
References Grid::grid, and IOSectionClass::WriteVar().
175 outSection.
WriteVar(
"Type", std::string(
"General"));
Array< double, 1 > grid
Contains the grid points.
bool WriteVar(std::string name, T val)
Writes a variable under the current section.
The documentation for this class was generated from the following file:
- /home/pk7/projects/qmc/for_cron_doxygen/qmcpack/src/QMCTools/ppconvert/src/common/Grid.h