File DFTB3MethodWrapper.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 DFTB3MethodWrapper : public Utils::CloneInterface<DFTB3MethodWrapper, DFTBMethodWrapper>
#include <DFTB3MethodWrapper.h>

A method wrapper handling DFTB3 calculations.

Public Functions

DFTB3MethodWrapper()

Default Constructor.

DFTB3MethodWrapper(const DFTB3MethodWrapper &rhs)
DFTB3MethodWrapper &operator=(const DFTB3MethodWrapper &rhs)
DFTB3MethodWrapper(DFTB3MethodWrapper &&rhs)
DFTB3MethodWrapper &operator=(DFTB3MethodWrapper &&rhs)
~DFTB3MethodWrapper()

Default Destructor.

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 = "DFTB3"

Private Functions

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::DFTB3 method_