7 #ifndef SPARROW_DFTBMETHODWRAPPER_H
8 #define SPARROW_DFTBMETHODWRAPPER_H
18 :
public Utils::CloneInterface<Utils::Abstract<DFTBMethodWrapper>, GenericMethodWrapper, Core::Calculator> {
42 void assembleResults(
const std::string& description)
final;
45 virtual TDDFTBData getTDDFTBDataImpl()
const = 0;
48 template<
class DFTBMethod>
49 void copyInto(DFTBMethod& instance,
const DFTBMethod& classToCopy) {
50 auto results = classToCopy.results();
51 instance.settings() = classToCopy.settings();
54 instance.setStructure(*classToCopy.getStructure());
55 instance.results() = std::move(results);
56 instance.loadState(classToCopy.getState());
57 instance.setLog(classToCopy.getLog());
59 bool getZPVEInclusion() const final;
65 #endif // SPARROW_DFTBMETHODWRAPPER_H
Definition: DFTBMethodWrapper.h:17
bool allowsPythonGILRelease() const override
Whether the calculator has no underlying Python code and can therefore release the global interpreter...
Definition: DFTBMethodWrapper.h:37
DFTBMethodWrapper()
Constructor. It plays with the befriended states handler by giving it a *this reference.
This class contains the infos needed to perform a TD-DFTB calculation. This way excited states proper...
Definition: TDDFTBData.h:27
Utils::PropertyList possibleProperties() const final
Get the list of the possible properties to calculate analytically. Since it is the same for all DFTB...
Definition: DFTBMethodWrapper.cpp:20