votca 2024.2-dev
Loading...
Searching...
No Matches
votca::xtp::StateFilter_base Class Referenceabstract

Base Class for statefilter. More...

#include <statefilter_base.h>

Inheritance diagram for votca::xtp::StateFilter_base:

Public Member Functions

 StateFilter_base ()=default
 
virtual ~StateFilter_base ()=default
 
virtual std::string Identify () const =0
 
virtual void Initialize (const tools::Property &)=0
 
virtual void Info (Logger &) const =0
 
virtual bool NeedsInitialState () const =0
 
virtual void UpdateHist (const Orbitals &, QMState)=0
 
virtual std::vector< IndexCalcIndeces (const Orbitals &, QMStateType) const =0
 
virtual void WriteToCpt (CheckpointWriter &)=0
 
virtual void ReadFromCpt (CheckpointReader &)=0
 

Protected Member Functions

std::vector< IndexReduceAndSortIndecesUp (const Eigen::VectorXd &overlap, Index offset, double threshold) const
 
std::vector< IndexReduceAndSortIndecesDown (const Eigen::VectorXd &overlap, Index offset, double threshold) const
 

Private Member Functions

template<bool larger>
std::vector< IndexReduceAndSortIndeces (const Eigen::VectorXd &overlap, Index offset, double threshold) const
 

Detailed Description

Base Class for statefilter.

Definition at line 44 of file statefilter_base.h.

Constructor & Destructor Documentation

◆ StateFilter_base()

votca::xtp::StateFilter_base::StateFilter_base ( )
default

◆ ~StateFilter_base()

virtual votca::xtp::StateFilter_base::~StateFilter_base ( )
virtualdefault

Member Function Documentation

◆ CalcIndeces()

virtual std::vector< Index > votca::xtp::StateFilter_base::CalcIndeces ( const Orbitals & ,
QMStateType  ) const
pure virtual

◆ Identify()

virtual std::string votca::xtp::StateFilter_base::Identify ( ) const
pure virtual

◆ Info()

virtual void votca::xtp::StateFilter_base::Info ( Logger & ) const
pure virtual

◆ Initialize()

virtual void votca::xtp::StateFilter_base::Initialize ( const tools::Property & )
pure virtual

◆ NeedsInitialState()

virtual bool votca::xtp::StateFilter_base::NeedsInitialState ( ) const
pure virtual

◆ ReadFromCpt()

◆ ReduceAndSortIndeces()

template<bool larger>
std::vector< Index > votca::xtp::StateFilter_base::ReduceAndSortIndeces ( const Eigen::VectorXd & overlap,
Index offset,
double threshold ) const
private

Definition at line 27 of file statefilter_base.cc.

◆ ReduceAndSortIndecesDown()

std::vector< Index > votca::xtp::StateFilter_base::ReduceAndSortIndecesDown ( const Eigen::VectorXd & overlap,
Index offset,
double threshold ) const
protected

Definition at line 54 of file statefilter_base.cc.

◆ ReduceAndSortIndecesUp()

std::vector< Index > votca::xtp::StateFilter_base::ReduceAndSortIndecesUp ( const Eigen::VectorXd & overlap,
Index offset,
double threshold ) const
protected

Definition at line 50 of file statefilter_base.cc.

◆ UpdateHist()

virtual void votca::xtp::StateFilter_base::UpdateHist ( const Orbitals & ,
QMState  )
pure virtual

◆ WriteToCpt()


The documentation for this class was generated from the following files: