votca 2026-dev
Loading...
Searching...
No Matches
networkfit.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_NETWORKFIT_H
22#define VOTCA_XTP_NETWORKFIT_H
23
24// Local VOTCA includes
25#include "votca/xtp/logger.h"
26#include "votca/xtp/qmtool.h"
29
30namespace votca {
31namespace xtp {
32
37class NetworkFit final : public QMTool {
38 public:
39 NetworkFit() = default;
40 ~NetworkFit() override = default;
41
42 std::string Identify() const override { return "networkfit"; }
43
44 protected:
45 void ParseOptions(const tools::Property& options) override;
46 bool Run() override;
47
48 private:
49 std::string statefile_;
51 std::string parameterfile_;
52 std::string statsfile_;
53 std::string energyfile_;
55 Index validate_ = 4; // model networks for the validation
56 bool find_traps_ = true;
58 double temperature_ = 300.0;
60};
61
62} // namespace xtp
63} // namespace votca
64
65#endif // VOTCA_XTP_NETWORKFIT_H
class to manage program options with xml serialization functionality
Definition property.h:55
Logger is used for thread-safe output of messages.
Definition logger.h:164
std::string parameterfile_
Definition networkfit.h:51
~NetworkFit() override=default
TrapFinder::Settings traps_
Definition networkfit.h:57
std::string statefile_
Definition networkfit.h:49
std::string energyfile_
Definition networkfit.h:53
bool Run() override
StochasticNetworkFit::Settings settings_
Definition networkfit.h:54
void ParseOptions(const tools::Property &options) override
std::string Identify() const override
Calculator name.
Definition networkfit.h:42
std::string statsfile_
Definition networkfit.h:52
Provides a means for comparing floating point numbers.
Definition basebead.h:33
Eigen::Index Index
Definition types.h:26