QMCPACK
SHOSetBuilder.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: Jaron T. Krogel, krogeljt@ornl.gov, Oak Ridge National Laboratory
8 // Mark A. Berrill, berrillma@ornl.gov, Oak Ridge National Laboratory
9 //
10 // File created by: Jaron T. Krogel, krogeljt@ornl.gov, Oak Ridge National Laboratory
11 //////////////////////////////////////////////////////////////////////////////////////
12 
13 
14 #ifndef QMCPLUSPLUS_SHO_BASIS_BUILDER_H
15 #define QMCPLUSPLUS_SHO_BASIS_BUILDER_H
16 
20 
21 namespace qmcplusplus
22 {
24 {
25  //enum{DIM=OHMMS_DIM}
26 
28 
33 
34  int nstates;
35  int nmax;
37 
39 
40  //construction/destruction
42 
43  ~SHOSetBuilder() override;
44 
45  //reset parameters
46  void reset();
47 
48  //SPOSetBuilder interface
49  std::unique_ptr<SPOSet> createSPOSetFromXML(xmlNodePtr cur) override;
50 
51  std::unique_ptr<SPOSet> createSPOSet(xmlNodePtr cur, SPOSetInputInfo& input) override;
52 
53  //local functions
54  void update_basis_states(int smax);
55  void report(const std::string& pad = "");
56 };
57 
58 } // namespace qmcplusplus
59 
60 
61 #endif
helper functions for EinsplineSetBuilder
Definition: Configuration.h:43
class to read state range information from sposet input
QTBase::RealType RealType
Definition: Configuration.h:58
TinyVector< int, DIM > ind_dims
Definition: SHOSetBuilder.h:36
void update_basis_states(int smax)
SPOSetInfoSimple< SHOState > basis_states
Definition: SHOSetBuilder.h:38
void report(const std::string &pad="")
Wrapping information on parallelism.
Definition: Communicate.h:68
std::unique_ptr< SPOSet > createSPOSet(xmlNodePtr cur, SPOSetInputInfo &input) override
create an sposet from a general xml request
Specialized paritlce class for atomistic simulations.
Definition: ParticleSet.h:55
base class for the real SPOSet builder
Definition: SPOSetBuilder.h:47
Declaration of a base class of SPOSet Builders.
SHOSetBuilder(ParticleSet &P, Communicate *comm)
std::unique_ptr< SPOSet > createSPOSetFromXML(xmlNodePtr cur) override
create an sposet from xml (legacy)