QMCPACK
LatticeIO.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 OHMMS_PARTICLELAYOUT_INPUTOUTPUT_UTILITY_H
16 #define OHMMS_PARTICLELAYOUT_INPUTOUTPUT_UTILITY_H
17 
19 #include "Configuration.h"
20 
21 namespace qmcplusplus
22 {
24 {
27 
28 public:
30  bool put(xmlNodePtr cur);
31 };
32 
33 
35 {
38 
39 public:
40  LatticeXMLWriter(const ParticleLayout& lat) : ref_(lat) {}
41  bool get(std::ostream&) const;
42  xmlNodePtr createNode();
43 };
44 
45 
46 } // namespace qmcplusplus
47 #endif
a class that defines a supercell in D-dimensional Euclean space.
const ParticleLayout & ref_
Definition: LatticeIO.h:37
ParticleLayout & ref_
Definition: LatticeIO.h:26
helper functions for EinsplineSetBuilder
Definition: Configuration.h:43
LatticeParser(ParticleLayout &lat)
Definition: LatticeIO.h:29
CrystalLattice< OHMMS_PRECISION, OHMMS_DIM > ParticleLayout
Definition: Configuration.h:79
bool put(xmlNodePtr cur)
Definition: LatticeIO.cpp:32
Declaration of OhmmsElementBase and define xml-related macros.
LatticeXMLWriter(const ParticleLayout &lat)
Definition: LatticeIO.h:40