votca 2026-dev
Loading...
Searching...
No Matches
votca::xtp::InactiveScreeningInput Struct Reference

What GWBSE needs to add the static screening of the inactive region: the mode and the orbitals of the full reference calculation that enter the response (see InactiveScreening::Prepare). More...

#include <inactivescreening.h>

Public Types

enum class  Mode { None , Block , Exact }

Public Member Functions

bool empty () const

Static Public Member Functions

static Mode Parse (const std::string &name)
static std::string Name (Mode mode)

Public Attributes

Mode mode = Mode::None
Eigen::MatrixXd occupied
Eigen::VectorXd occupied_energies
Eigen::MatrixXd virtuals
Eigen::VectorXd virtual_energies
Index n_inactive = 0
double idempotency_error = 0.0
Index n_far = 0
double radius = 0.0
bool complete_g = false
Eigen::MatrixXd inactive_occupied
Eigen::VectorXd inactive_energies

Detailed Description

What GWBSE needs to add the static screening of the inactive region: the mode and the orbitals of the full reference calculation that enter the response (see InactiveScreening::Prepare).

  • block: the semicanonical inactive occupied orbitals (InactiveSpace); Y = X_B. Misses the terms of first order in the Fock coupling between active and inactive occupied orbitals; cost proportional to the number of inactive orbitals.
  • exact: all canonical occupied orbitals of the full calculation; Y = X_full - X_A, with X_A from the embedded active orbitals. Gives the static screened interaction of the full calculation exactly; cost proportional to all occupied orbitals.

Definition at line 77 of file inactivescreening.h.

Member Enumeration Documentation

◆ Mode

Enumerator
None 
Block 
Exact 

Definition at line 78 of file inactivescreening.h.

Member Function Documentation

◆ empty()

bool votca::xtp::InactiveScreeningInput::empty ( ) const
inline

Definition at line 96 of file inactivescreening.h.

◆ Name()

std::string votca::xtp::InactiveScreeningInput::Name ( Mode mode)
static

Definition at line 157 of file inactivescreening.cc.

◆ Parse()

InactiveScreeningInput::Mode votca::xtp::InactiveScreeningInput::Parse ( const std::string & name)
static

Definition at line 144 of file inactivescreening.cc.

Member Data Documentation

◆ complete_g

bool votca::xtp::InactiveScreeningInput::complete_g = false

Definition at line 92 of file inactivescreening.h.

◆ idempotency_error

double votca::xtp::InactiveScreeningInput::idempotency_error = 0.0

Definition at line 85 of file inactivescreening.h.

◆ inactive_energies

Eigen::VectorXd votca::xtp::InactiveScreeningInput::inactive_energies

Definition at line 94 of file inactivescreening.h.

◆ inactive_occupied

Eigen::MatrixXd votca::xtp::InactiveScreeningInput::inactive_occupied

Definition at line 93 of file inactivescreening.h.

◆ mode

Mode votca::xtp::InactiveScreeningInput::mode = Mode::None

Definition at line 79 of file inactivescreening.h.

◆ n_far

Index votca::xtp::InactiveScreeningInput::n_far = 0

Definition at line 87 of file inactivescreening.h.

◆ n_inactive

Index votca::xtp::InactiveScreeningInput::n_inactive = 0

Definition at line 84 of file inactivescreening.h.

◆ occupied

Eigen::MatrixXd votca::xtp::InactiveScreeningInput::occupied

Definition at line 80 of file inactivescreening.h.

◆ occupied_energies

Eigen::VectorXd votca::xtp::InactiveScreeningInput::occupied_energies

Definition at line 81 of file inactivescreening.h.

◆ radius

double votca::xtp::InactiveScreeningInput::radius = 0.0

Definition at line 88 of file inactivescreening.h.

◆ virtual_energies

Eigen::VectorXd votca::xtp::InactiveScreeningInput::virtual_energies

Definition at line 83 of file inactivescreening.h.

◆ virtuals

Eigen::MatrixXd votca::xtp::InactiveScreeningInput::virtuals

Definition at line 82 of file inactivescreening.h.


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