votca 2024.2-dev
Loading...
Searching...
No Matches
ianalyze.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_IANALYZE_H
22#define VOTCA_XTP_IANALYZE_H
23
24// Local VOTCA includes
26#include "votca/xtp/qmpair.h"
27#include "votca/xtp/qmstate.h"
28
29namespace votca {
30namespace xtp {
31
32class IAnalyze final : public QMCalculator {
33 public:
34 std::string Identify() const { return "ianalyze"; }
35 bool WriteToStateFile() const { return false; }
36
37 protected:
38 void ParseOptions(const tools::Property &user_options);
39 bool Evaluate(Topology &top);
40
41 private:
42 void IHist(Topology &top, QMStateType state);
43 void IRdependence(Topology &top, QMStateType state);
44
46 std::vector<QMStateType> states_;
48 std::vector<QMPair::PairType> pairtype_;
49 bool do_pairtype_ = false;
50 bool do_IRdependence_ = false;
51};
52
53} // namespace xtp
54} // namespace votca
55
56#endif // VOTCA_XTP_IANALYZE_H
class to manage program options with xml serialization functionality
Definition property.h:55
bool WriteToStateFile() const
Definition ianalyze.h:35
double resolution_spatial_
Definition ianalyze.h:47
std::vector< QMPair::PairType > pairtype_
Definition ianalyze.h:48
bool Evaluate(Topology &top)
Definition ianalyze.cc:62
std::string Identify() const
Calculator name.
Definition ianalyze.h:34
std::vector< QMStateType > states_
Definition ianalyze.h:46
void ParseOptions(const tools::Property &user_options)
Definition ianalyze.cc:35
void IHist(Topology &top, QMStateType state)
Definition ianalyze.cc:96
double resolution_logJ2_
Definition ianalyze.h:45
void IRdependence(Topology &top, QMStateType state)
Definition ianalyze.cc:149
Container for segments and box and atoms.
Definition topology.h:41
base class for all analysis tools
Definition basebead.h:33