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