LIBINT  2.1.0-stable
code.h
1 /*
2  * This file is a part of Libint.
3  * Copyright (C) 2004-2014 Edward F. Valeev
4  *
5  * This program is free software: you can redistribute it and/or modify
6  * it under the terms of the GNU General Public License as published by
7  * the Free Software Foundation, either version 2 of the License, or
8  * (at your option) any later version.
9  *
10  * This program is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13  * GNU General Public License for more details.
14  *
15  * You should have received a copy of the GNU General Public License
16  * along with this program. If not, see http://www.gnu.org/licenses/.
17  *
18  */
19 
20 #include <string>
21 #include <vector>
22 
23 #ifndef _libint2_src_bin_libint_code_h_
24 #define _libint2_src_bin_libint_code_h_
25 
26 using namespace std;
27 
28 namespace libint2 {
29 
33  class CodeSymbols {
34  public:
35  CodeSymbols();
36  ~CodeSymbols();
37 
38  void append_symbol(const std::string& s);
39  unsigned int n() const;
40  const std::string& symbol(unsigned int i) const;
41 
42  private:
43  vector<std::string> symbols_;
44  };
45 
46 };
47 
48 #endif
49 
Defaults definitions for various parameters assumed by Libint.
Definition: algebra.cc:23
Definition: stdarray.h:18
Class CodeSymbols specifies a set of symbols used in a code.
Definition: code.h:33