votca 2024.2-dev
Loading...
Searching...
No Matches
stateapplication.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_STATEAPPLICATION_H
22#define VOTCA_XTP_STATEAPPLICATION_H
23
24// Local VOTCA includes
25#include "qmcalculator.h"
26#include "topology.h"
27#include "xtpapplication.h"
28
29namespace votca {
30namespace xtp {
31
33 public:
34 StateApplication() = default;
35
36 ~StateApplication() override = default;
37
38 protected:
39 virtual bool savetoStateFile() const = 0;
40
41 virtual void ConfigCalculator() = 0;
42 virtual bool EvaluateFrame(Topology& top) = 0;
43
44 void EvaluateSpecificOptions() final;
45 virtual void CheckOptions() = 0;
46 void execute() final;
47 void AddCommandLineOptions() final;
48 virtual void AddCommandLineOpt() = 0;
49};
50
51} // namespace xtp
52} // namespace votca
53
54#endif // VOTCA_XTP_STATEAPPLICATION_H
virtual bool EvaluateFrame(Topology &top)=0
virtual bool savetoStateFile() const =0
virtual void ConfigCalculator()=0
virtual void AddCommandLineOpt()=0
~StateApplication() override=default
virtual void CheckOptions()=0
Container for segments and box and atoms.
Definition topology.h:41
base class for all analysis tools
Definition basebead.h:33