QMCPACK
GamesAsciiParser.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: Miguel Morales, moralessilva2@llnl.gov, Lawrence Livermore National Laboratory
8 // Jeremy McMinnis, jmcminis@gmail.com, University of Illinois at Urbana-Champaign
9 // Ye Luo, yeluo@anl.gov, Argonne National Laboratory
10 // Mark A. Berrill, berrillma@ornl.gov, Oak Ridge National Laboratory
11 //
12 // File created by: Miguel Morales, moralessilva2@llnl.gov, Lawrence Livermore National Laboratory
13 //////////////////////////////////////////////////////////////////////////////////////
14 
15 
16 #ifndef QMCPLUSPLUS_TOOLS_GAMESS_OUT_H
17 #define QMCPLUSPLUS_TOOLS_GAMESS_OUT_H
19 #include <iostream>
20 #include <sstream>
21 #include <iomanip>
22 #include <vector>
23 #include "OhmmsPETE/TinyVector.h"
25 #include "OhmmsPETE/OhmmsMatrix.h"
26 
28 {
29 public:
31 
32  GamesAsciiParser(int argc, char** argv);
33 
34  std::streampos pivot_begin;
35  std::vector<std::string> tags;
36  bool usingECP;
37  std::string MOtype;
38  //int nCartMO;
39  int readtype;
40  int NFZC, NEXT, NTOT, NAC;
41 
42  void parse(const std::string& fname) override;
43 
44  void getGeometry(std::istream& is);
45 
46  void getGaussianCenters(std::istream& is);
47 
48  void getMO(std::istream& is);
49 
50  void getMO_single_set(std::istream& is, Matrix<double>& CartMat, std::vector<value_type>& EigVal_alpha);
51 
52  void getCI(std::istream& is);
53 
54  void getORMAS(std::istream& is);
55 
56  void getCSF(std::istream& is);
57 
58  double getCSFSign(std::vector<int>&);
59 };
60 #endif
void getCI(std::istream &is)
void getCSF(std::istream &is)
void getMO(std::istream &is)
void getMO_single_set(std::istream &is, Matrix< double > &CartMat, std::vector< value_type > &EigVal_alpha)
std::streampos pivot_begin
Declaration of OhmmsElementBase and define xml-related macros.
std::vector< value_type > EigVal_alpha
double getCSFSign(std::vector< int > &)
std::vector< std::string > tags
void getGaussianCenters(std::istream &is)
void getORMAS(std::istream &is)
void getGeometry(std::istream &is)
void parse(const std::string &fname) override
std::string MOtype