File SparrowState.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 IncompatibleStateException : public exception

Public Functions

const char *what() const
struct SparrowState : public State
#include <SparrowState.h>

Definition of a calculation state for methods implemented in Sparrow.

The calculation state is defined as the density matrix and the coefficient matrix at some point. If the density matrix is empty, an exception is thrown at loading time.

Public Functions

SparrowState(Utils::DensityMatrix densityMatrix)
~SparrowState()
const Utils::DensityMatrix &getDensityMatrix() const

Private Members

Utils::DensityMatrix densityMatrix_