votca 2026-dev
Loading...
Searching...
No Matches
latticegen.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_LATTICEGEN_H
22#define VOTCA_XTP_LATTICEGEN_H
23
24// Local VOTCA includes
26#include "votca/xtp/logger.h"
27#include "votca/xtp/qmtool.h"
28
29namespace votca {
30namespace xtp {
31
36class LatticeGen final : public QMTool {
37 public:
38 LatticeGen() = default;
39 ~LatticeGen() override = default;
40
41 std::string Identify() const override { return "latticegen"; }
42
43 protected:
44 void ParseOptions(const tools::Property& options) override;
45 bool Run() override;
46
47 private:
49 std::string statefile_;
50 std::string energyfile_;
52};
53
54} // namespace xtp
55} // namespace votca
56
57#endif // VOTCA_XTP_LATTICEGEN_H
class to manage program options with xml serialization functionality
Definition property.h:55
std::string Identify() const override
Calculator name.
Definition latticegen.h:41
~LatticeGen() override=default
LatticeModel::Options lattice_
Definition latticegen.h:48
std::string statefile_
Definition latticegen.h:49
std::string energyfile_
Definition latticegen.h:50
void ParseOptions(const tools::Property &options) override
Definition latticegen.cc:38
bool Run() override
Definition latticegen.cc:85
Logger is used for thread-safe output of messages.
Definition logger.h:164
Provides a means for comparing floating point numbers.
Definition basebead.h:33