Class Scine::Sparrow::DFTBStatesHandler

class DFTBStatesHandler : public StatesHandler

Public Functions

DFTBStatesHandler(DFTBMethodWrapper &methodWrapper)

Constructor, it takes the embedding method wrapper as argument in order to read the state from it.

Parameters
  • methodWrapper: The embedding method wrapper.

void store(Utils::StateSize size)

The implementation of the store function.

It stores a state with the specified size.

Parameters
  • size: The desired Utils::StateSize of the state to store.

void load(std::shared_ptr<Utils::State> state)

Loads a state in the embedding NDDOMethodWrapper.

Parameters

std::shared_ptr<Utils::State> getCurrentState(Utils::StateSize size) const

Returns the current state of the DFTB method.

Parameters
  • The: desired Utils::StateSize of the state to store. This method does not need to store the current state in the stateHandler, it is a const method and therefore suited to be used in a copy-constructor.