MADNESS  version 0.9
Public Member Functions | Public Attributes | List of all members
root Struct Reference

POD holding excitation energy and response vector for a single excitation. More...

#include <tdhf_CIS.h>

Collaboration diagram for root:
Collaboration graph
[legend]

Public Member Functions

 root (World &world)
 
 root (World &world, vecfuncT &x, double omega)
 
 root (World &world, const vecfuncT &x1)
 
 root (const root &other)
 
 root (World &world, double omega, double expv, double delta, double error, bool converged, int iter, int number)
 
rootoperator= (const root &other)
 
root operator- (const root &b) const
 
root operator+= (const root &b)
 
root operator* (double a)
 
bool operator< (const root &other) const
 
bool operator> (const root &other) const
 

Public Attributes

Worldworld
 
vecfuncT x
 
double omega
 
double expv
 
bool converged
 
double err
 
double delta
 
int iter
 
int number
 
std::vector< double > amplitudes_
 

Detailed Description

POD holding excitation energy and response vector for a single excitation.

Constructor & Destructor Documentation

root::root ( World world)
inline
root::root ( World world,
vecfuncT x,
double  omega 
)
inline
root::root ( World world,
const vecfuncT x1 
)
inline
root::root ( const root other)
inline
root::root ( World world,
double  omega,
double  expv,
double  delta,
double  error,
bool  converged,
int  iter,
int  number 
)
inline

Member Function Documentation

root root::operator* ( double  a)
inline

References madness::scale().

root root::operator+= ( const root b)
inline

References madness::add(), and x.

root root::operator- ( const root b) const
inline

References mpfr::root(), madness::sub(), and x.

bool root::operator< ( const root other) const
inline

References omega.

root& root::operator= ( const root other)
inline

References amplitudes_, converged, delta, err, expv, iter, number, omega, and x.

bool root::operator> ( const root other) const
inline

References omega.

Member Data Documentation

std::vector<double> root::amplitudes_

Referenced by operator=().

bool root::converged
double root::delta
double root::err
double root::expv
int root::iter
int root::number
double root::omega
World& root::world
vecfuncT root::x

Referenced by operator+=(), operator-(), and operator=().


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