1#ifndef MADNESS_APPS_DF_H_INCLUDED
2#define MADNESS_APPS_DF_H_INCLUDED
57 double pop(std::vector<double> &
v);
67 const char* input_file);
71 std::shared_ptr<std::istream> input);
75 print(
"The DIRAC code computes Dirac-Fock energies");
79 print(
"no parameter help is available for the dirac code");
80 print(
"\nYou need a dft-block and a DiracFock-block in an input file named 'input'");
117 bool iterate(
World& world,
real_function_3d&
V,
real_convolution_3d&
op,
real_function_3d& JandV, std::vector<Fcwf>& Kpsis,
XNonlinearSolver<std::vector<Fcwf>, std::complex<double>,
Fcwf_vector_allocator>& kainsolver,
double& tolerance,
int& iteration_number,
double& nuclear_repulsion_energy);
double potential(const coord_3d &r)
Definition 3dharmonic.cc:132
Given a molecule and nonrelativistic ground state orbitals, solve the Dirac-Hartree-Fock equations.
Definition DF.h:25
Tensor< double > energies
Definition DF.h:40
Tensor< double > get_times(World &world)
Definition DF.cc:75
void solve_occupied(World &world)
Definition DF.cc:1767
void DF_load_balance(World &world, real_function_3d &Vnuc)
Definition DF.cc:1231
void print_molecule(World &world)
Definition DF.cc:1125
void make_component_logplots(World &world, const char *filename1, const char *filename2, int npt, int startpnt, int endpnt)
Definition DF.cc:1316
void make_gaussian_potential(World &world, real_function_3d &potential)
Definition DF.cc:1204
Tensor< double > end_timer(World &world)
Definition DF.cc:66
void solve(World &world)
Definition DF.cc:1889
DFParameters DFparams
Definition DF.h:30
void make_fermi_potential(World &world, real_convolution_3d &op, real_function_3d &potential)
bool closed_shell
Definition DF.h:49
void exchange(World &world, real_convolution_3d &op, std::vector< Fcwf > &Kpsis)
Definition DF.cc:506
void diagonalize(World &world, real_function_3d &myV, real_convolution_3d &op, std::vector< Fcwf > &Kpsis)
Definition DF.cc:716
void orthogonalize_inplace(World &world)
Definition DF.cc:997
void print_sizes(World &world, bool individual)
Definition DF.cc:1934
bool iterate(World &world, real_function_3d &V, real_convolution_3d &op, real_function_3d &JandV, std::vector< Fcwf > &Kpsis, XNonlinearSolver< std::vector< Fcwf >, std::complex< double >, Fcwf_vector_allocator > &kainsolver, double &tolerance, int &iteration_number, double &nuclear_repulsion_energy)
Definition DF.cc:1424
static void print_parameters()
Definition DF.h:78
std::vector< double > sss
Definition DF.h:37
std::vector< Fcwf > occupieds
Definition DF.h:43
void saveDF(World &world)
Definition DF.cc:1158
InitParameters Init_params
Definition DF.h:34
double rele(World &world, Fcwf &psi)
Definition DF.cc:499
void start_timer(World &world)
Definition DF.cc:50
static void help()
Definition DF.h:73
void make_component_lineplots(World &world, const char *filename1, const char *filename2, int npt, double endpnt)
Definition DF.cc:1257
double pop(std::vector< double > &v)
Definition DF.cc:58
double total_energy
Definition DF.h:46
std::vector< double > ttt
Definition DF.h:37
void make_density_lineplots(World &world, const char *filename, int npt, double endpnt)
Definition DF.cc:1375
A tensor is a multidimension array.
Definition tensor.h:317
A parallel world class.
Definition world.h:132
Generalized version of NonlinearSolver not limited to a single madness function.
Definition nonlinsol.h:202
Defines common mathematical and physical constants.
double psi(const Vector< double, 3 > &r)
Definition hatom_energy.cc:78
static const double v
Definition hatom_sf_dirac.cc:20
Tensor< double > op(const Tensor< double > &x)
Definition kain.cc:508
Main include file for MADNESS and defines Function interface.
Namespace for all elements and tools of MADNESS.
Definition DFParameters.h:10
static const char * filename
Definition legendre.cc:96
void print_header2(const std::string &s)
medium section heading
Definition print.cc:54
void print(const T &t, const Ts &... ts)
Print items to std::cout (items separated by spaces) and terminate with a new line.
Definition print.h:225
Implementation of Krylov-subspace nonlinear equation solver.
Implements most functionality of separated operators.
Definition DFParameters.h:12
Definition InitParameters.h:19
static double V(const coordT &r)
Definition tdse.cc:288