MADNESS 0.10.1
newsolver_lda.cc File Reference
Include dependency graph for newsolver_lda.cc:

Typedefs

typedef Function< std::complex< double >, 3 > complex_functionT
typedef Convolution1D< double_complex > complex_operatorT
typedef Vector< double, 3 > coordT
typedef std::vector< complex_functionT > cvecfuncT
typedef FunctionFactory< double, 3 > factoryT
typedef Function< double, 3 > functionT
typedef std::shared_ptr< FunctionFunctorInterface< double, 3 > > functorT
typedef SeparatedConvolution< double, 3 > operatorT
typedef std::pair< vecfuncT, vecfuncT > pairvecfuncT
typedef std::shared_ptr< WorldDCPmapInterface< Key< 3 > > > pmapT
typedef std::shared_ptr< operatorT> poperatorT
typedef std::vector< pairvecfuncT > subspaceT
typedef Tensor< double > tensorT
typedef std::vector< functionT > vecfuncT

Functions

static double guess (const coord_3d &r)
double iterate_excite (World &world, NonlinearSolver &solver, functionT &V, functionT &psi, functionT &dpsi, double &eps, functionT &ri)
double iterate_ground (World &world, NonlinearSolver &solver, functionT &V, functionT &psi, double &eps)
int main (int argc, char **argv)
double make_dft_energy (World &world, const vecfuncT &vf, int ispin)
functionT make_dft_kernel (World &world, const vecfuncT &vf, int ispin, int what)
functionT make_dft_potential (World &world, const vecfuncT &vf, int ispin, int what)
double rifunction (const coord_3d &r)
static double V (const coord_3d &r)

Variables

std::vector< std::shared_ptr< real_derivative_3d > > gradop
static const long k = 8
static const double L = 50.0
static const int maxiter =10
static const int maxiterp =10
static const double thresh = 1e-5
XCfunctional xc

Typedef Documentation

◆ complex_functionT

typedef Function<std::complex<double>,3> complex_functionT

◆ complex_operatorT

◆ coordT

typedef Vector<double,3> coordT

◆ cvecfuncT

typedef std::vector<complex_functionT> cvecfuncT

◆ factoryT

typedef FunctionFactory<double,3> factoryT

◆ functionT

typedef Function<double,3> functionT

◆ functorT

typedef std::shared_ptr< FunctionFunctorInterface<double,3> > functorT

◆ operatorT

typedef SeparatedConvolution<double,3> operatorT

◆ pairvecfuncT

typedef std::pair<vecfuncT,vecfuncT> pairvecfuncT

◆ pmapT

typedef std::shared_ptr< WorldDCPmapInterface< Key<3> > > pmapT

◆ poperatorT

typedef std::shared_ptr<operatorT> poperatorT

◆ subspaceT

typedef std::vector<pairvecfuncT> subspaceT

◆ tensorT

typedef Tensor<double> tensorT

◆ vecfuncT

typedef std::vector<functionT> vecfuncT

Function Documentation

◆ guess()

double guess ( const coord_3d & r)
static

References e().

◆ iterate_excite()

◆ iterate_ground()

◆ main()

◆ make_dft_energy()

double make_dft_energy ( World & world,
const vecfuncT & vf,
int ispin )

◆ make_dft_kernel()

functionT make_dft_kernel ( World & world,
const vecfuncT & vf,
int ispin,
int what )

References madness::multiop_values(), and xc.

Referenced by iterate_excite().

◆ make_dft_potential()

functionT make_dft_potential ( World & world,
const vecfuncT & vf,
int ispin,
int what )

References madness::multiop_values(), and xc.

Referenced by main().

◆ rifunction()

double rifunction ( const coord_3d & r)

◆ V()

double V ( const coord_3d & r)
static

References e().

Variable Documentation

◆ gradop

std::vector< std::shared_ptr<real_derivative_3d> > gradop

◆ k

const long k = 8
static

◆ L

const double L = 50.0
static

◆ maxiter

const int maxiter =10
static

◆ maxiterp

const int maxiterp =10
static

Referenced by main().

◆ thresh

const double thresh = 1e-5
static

◆ xc