votca 2026-dev
Loading...
Searching...
No Matches
extended_hueckel.h
Go to the documentation of this file.
1/*
2 * Copyright 2009-2026 The VOTCA Development Team
3 * (http://www.votca.org)
4 *
5 * Licensed under the Apache License, Version 2.0 (the "License")
6 *
7 * You may not use this file except in compliance with the License.
8 * You may obtain a copy of the License at
9 *
10 * http://www.apache.org/licenses/LICENSE-2.0
11 *
12 * Unless required by applicable law or agreed to in writing, software
13 * distributed under the License is distributed on an "AS IS" BASIS,
14 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 * See the License for the specific language governing permissions and
16 * limitations under the License.
17 *
18 */
19
20#pragma once
21#ifndef VOTCA_XTP_EXTENDEDHUCKEL_H
22#define VOTCA_XTP_EXTENDEDHUCKEL_H
23
24// Local VOTCA includes
25
29
30#include <map>
31#include <set>
32#include <stdexcept>
33#include <string>
34#include <tuple>
35
36namespace votca {
37namespace xtp {
38
40 public:
42
43 // Strict lookup, throws if exact parameter is missing
44 double Get(const std::string& element, int l) const;
45
46 // Lookup with fallback for missing higher-l shells
47 double GetWithFallback(const std::string& element, int l,
48 int* used_l = nullptr) const;
49
50 bool Has(const std::string& element, int l) const;
51 bool HasElement(const std::string& element) const;
52
53 private:
54 std::map<std::pair<std::string, int>, double> eps_;
55};
56
57} // namespace xtp
58} // namespace votca
59#endif // VOTCA_XTP_EXTENDEDHUECKEL_H
double Get(const std::string &element, int l) const
std::map< std::pair< std::string, int >, double > eps_
double GetWithFallback(const std::string &element, int l, int *used_l=nullptr) const
bool HasElement(const std::string &element) const
bool Has(const std::string &element, int l) const
Provides a means for comparing floating point numbers.
Definition basebead.h:33