votca 2024.2-dev
Loading...
Searching...
No Matches
gyration.h
Go to the documentation of this file.
1/*
2 * Copyright 2016 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_GYRATION_H
22#define VOTCA_XTP_GYRATION_H
23
24// Standard includes
25#include <cstdio>
26
27// Local VOTCA includes
28#include "density_integration.h"
29#include "logger.h"
30#include "orbitals.h"
31
32namespace votca {
33namespace xtp {
34
36 public:
37 Density2Gyration(Logger& log) : log_(log) {};
38
39 std::string Identify() { return "density2gyration"; }
40
41 void Initialize(tools::Property& options);
42
43 void AnalyzeDensity(const Orbitals& orbitals);
44
45 private:
46 void ReportAnalysis(std::string label, const Gyrationtensor& gyro,
47 const Eigen::SelfAdjointEigenSolver<Eigen::Matrix3d>& es);
48 void AnalyzeGeometry(const QMMolecule& atoms);
49
52 std::string integrationmethod_;
53 std::string gridsize_;
55};
56
57} // namespace xtp
58} // namespace votca
59
60#endif // VOTCA_XTP_GYRATION_H
class to manage program options with xml serialization functionality
Definition property.h:55
void AnalyzeGeometry(const QMMolecule &atoms)
Definition gyration.cc:94
void ReportAnalysis(std::string label, const Gyrationtensor &gyro, const Eigen::SelfAdjointEigenSolver< Eigen::Matrix3d > &es)
Definition gyration.cc:119
void Initialize(tools::Property &options)
Definition gyration.cc:35
std::string integrationmethod_
Definition gyration.h:52
void AnalyzeDensity(const Orbitals &orbitals)
Definition gyration.cc:44
Density2Gyration(Logger &log)
Definition gyration.h:37
Logger is used for thread-safe output of messages.
Definition logger.h:164
container for molecular orbitals
Definition orbitals.h:46
Identifier for QMstates. Strings like S1 are converted into enum +zero indexed int.
Definition qmstate.h:132
base class for all analysis tools
Definition basebead.h:33