votca 2024.2-dev
Loading...
Searching...
No Matches
neighborlist.h
Go to the documentation of this file.
1/*
2 * Copyright 2009-2020 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_NEIGHBORLIST_H
22#define VOTCA_XTP_NEIGHBORLIST_H
23
24// VOTCA includes
25#include <votca/tools/globals.h>
26
27// Local VOTCA includes
28#include "votca/xtp/atom.h"
30#include "votca/xtp/qmnblist.h"
31#include "votca/xtp/topology.h"
32
33namespace votca {
34namespace xtp {
35
36class Neighborlist final : public QMCalculator {
37 public:
38 std::string Identify() const { return "neighborlist"; }
39 bool WriteToStateFile() const { return true; }
40
41 protected:
42 void ParseOptions(const tools::Property& user_options);
43 bool Evaluate(Topology& top);
44
45 private:
47
48 std::vector<std::string> included_segments_;
49 std::map<std::string, std::map<std::string, double> > cutoffs_;
54};
55
56} // namespace xtp
57} // namespace votca
58
59#endif // VOTCA_XTP_NEIGHBORLIST_H
class to manage program options with xml serialization functionality
Definition property.h:55
std::vector< std::string > included_segments_
Index DetClassicalPairs(Topology &top)
std::map< std::string, std::map< std::string, double > > cutoffs_
bool Evaluate(Topology &top)
void ParseOptions(const tools::Property &user_options)
std::string Identify() const
Calculator name.
bool WriteToStateFile() const
Container for segments and box and atoms.
Definition topology.h:41
base class for all analysis tools
Definition basebead.h:33
Eigen::Index Index
Definition types.h:26