File DFTB0MethodWrapper.h

Copyright

This code is licensed under the 3-clause BSD license.

Copyright ETH Zurich, Laboratory for Physical Chemistry, Reiher Group.

See LICENSE.txt for details.

namespace Scine
namespace Sparrow
class DFTB0MethodWrapper : public Utils::CloneInterface<DFTB0MethodWrapper, DFTBMethodWrapper>
#include <DFTB0MethodWrapper.h>

A method wrapper handling DFTB0 calculations.

Public Functions

DFTB0MethodWrapper()

Default Constructor.

DFTB0MethodWrapper(const DFTB0MethodWrapper &rhs)
DFTB0MethodWrapper &operator=(const DFTB0MethodWrapper &rhs)
DFTB0MethodWrapper(DFTB0MethodWrapper &&rhs)
DFTB0MethodWrapper &operator=(DFTB0MethodWrapper &&rhs)
~DFTB0MethodWrapper()
std::string name() const

Getter for the name of the underlying method.

Return

Returns the name of the underlying method.

void applySettings()

Function to apply the settings to the underlying method.

Public Static Attributes

constexpr const char *model = "DFTB0"

Private Functions

void copyInto(DFTB0MethodWrapper &instance, const DFTB0MethodWrapper &classToCopy)
Utils::DensityMatrix getDensityMatrixGuess() const
void initialize()

Initializes a method with the parameter file present in the settings.

void calculateImpl(Utils::derivativeType requiredDerivative)

Calls the underlying method’s calculate() function.

Utils::LCAOMethod &getLCAOMethod()

Get the underlying method as a LCAO method.

const Utils::LCAOMethod &getLCAOMethod() const

Private Members

dftb::DFTB0 method_