QMCPACK
OneDimGridFactory.h
Go to the documentation of this file.
1 //////////////////////////////////////////////////////////////////////////////////////
2 // This file is distributed under the University of Illinois/NCSA Open Source License.
3 // See LICENSE file in top directory for details.
4 //
5 // Copyright (c) 2016 Jeongnim Kim and QMCPACK developers.
6 //
7 // File developed by: Jeongnim Kim, jeongnim.kim@gmail.com, University of Illinois at Urbana-Champaign
8 // Jeremy McMinnis, jmcminis@gmail.com, University of Illinois at Urbana-Champaign
9 // Mark A. Berrill, berrillma@ornl.gov, Oak Ridge National Laboratory
10 //
11 // File created by: Jeongnim Kim, jeongnim.kim@gmail.com, University of Illinois at Urbana-Champaign
12 //////////////////////////////////////////////////////////////////////////////////////
13 
14 
15 #ifndef QMCPLUSPLUS_ONEDIMGRIDFACTORY_H
16 #define QMCPLUSPLUS_ONEDIMGRIDFACTORY_H
17 #include "Configuration.h"
19 
20 namespace qmcplusplus
21 {
22 /** Factory class using Singleton pattern
23  */
25 {
26  ///typedef of the one-dimensional grid
28 
29  /** return a GridType*
30  * @param cur xmlnode for the grid definition
31  */
32  static std::unique_ptr<GridType> createGrid(xmlNodePtr cur);
33 };
34 } // namespace qmcplusplus
35 #endif
helper functions for EinsplineSetBuilder
Definition: Configuration.h:43
static std::unique_ptr< GridType > createGrid(xmlNodePtr cur)
return a GridType*
An abstract base class to implement a One-Dimensional grid.
Factory class using Singleton pattern.
traits for QMC variables
Definition: Configuration.h:49