MADNESS 0.10.1
DF Class Reference

Given a molecule and nonrelativistic ground state orbitals, solve the Dirac-Hartree-Fock equations. More...

#include <DF.h>

Collaboration diagram for DF:

Public Member Functions

 DF (World &world, const char *input_file)
 DF (World &world, std::shared_ptr< std::istream > input)
void DF_load_balance (World &world, real_function_3d &Vnuc)
void diagonalize (World &world, real_function_3d &myV, real_convolution_3d &op, std::vector< Fcwf > &Kpsis)
Tensor< double > end_timer (World &world)
void exchange (World &world, real_convolution_3d &op, std::vector< Fcwf > &Kpsis)
Tensor< double > get_times (World &world)
std::tuple< bool, double, real_function_3d > 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, real_function_3d &prev_rho)
void make_component_lineplots (World &world, const char *filename1, const char *filename2, int npt, double endpnt)
void make_component_logplots (World &world, const char *filename1, const char *filename2, int npt, int startpnt, int endpnt)
void make_density_lineplots (World &world, const char *filename, int npt, double endpnt)
void make_fermi_potential (World &world, real_convolution_3d &op, real_function_3d &potential)
void make_fermi_potential (World &world, real_convolution_3d &op, real_function_3d &potential, double &nuclear_repulsion_energy)
void make_gaussian_potential (World &world, real_function_3d &potential)
void make_gaussian_potential (World &world, real_function_3d &potential, double &nuclear_repulsion_energy)
void make_point_potential (World &world, real_function_3d &potential)
void make_point_potential (World &world, real_function_3d &potential, double &nuclear_repulsion_energy)
void orthogonalize_inplace (World &world)
double pop (std::vector< double > &v)
void print_molecule (World &world)
void print_sizes (World &world, bool individual)
double rele (World &world, Fcwf &psi)
void saveDF (World &world)
void solve (World &world)
void solve_occupied (World &world)
void start_timer (World &world)

Static Public Member Functions

static void help ()
static void print_parameters ()

Private Attributes

bool closed_shell
DFParameters DFparams
Tensor< double > energies
InitParameters Init_params
std::vector< Fcwf > occupieds
std::vector< double > sss
double total_energy
std::vector< double > ttt

Detailed Description

Given a molecule and nonrelativistic ground state orbitals, solve the Dirac-Hartree-Fock equations.

Constructor & Destructor Documentation

◆ DF() [1/2]

DF::DF ( World & world,
const char * input_file )

References DF(), and madness::filename.

Referenced by DF().

◆ DF() [2/2]

Member Function Documentation

◆ DF_load_balance()

◆ diagonalize()

◆ end_timer()

Tensor< double > DF::end_timer ( World & world)

◆ exchange()

◆ get_times()

Tensor< double > DF::get_times ( World & world)

References madness::cpu_time(), sss, ttt, and madness::wall_time().

Referenced by iterate(), and saveDF().

◆ help()

void DF::help ( )
inlinestatic

References madness::print(), and madness::print_header2().

Referenced by main().

◆ iterate()

◆ make_component_lineplots()

void DF::make_component_lineplots ( World & world,
const char * filename1,
const char * filename2,
int npt,
double endpnt )

◆ make_component_logplots()

void DF::make_component_logplots ( World & world,
const char * filename1,
const char * filename2,
int npt,
int startpnt,
int endpnt )

◆ make_density_lineplots()

void DF::make_density_lineplots ( World & world,
const char * filename,
int npt,
double endpnt )

◆ make_fermi_potential() [1/2]

void DF::make_fermi_potential ( World & world,
real_convolution_3d & op,
real_function_3d & potential )

References madness::filename, op(), potential(), and V().

Referenced by solve_occupied().

◆ make_fermi_potential() [2/2]

◆ make_gaussian_potential() [1/2]

◆ make_gaussian_potential() [2/2]

◆ make_point_potential() [1/2]

◆ make_point_potential() [2/2]

◆ orthogonalize_inplace()

void DF::orthogonalize_inplace ( World & world)

◆ pop()

double DF::pop ( std::vector< double > & v)

References v.

Referenced by end_timer().

◆ print_molecule()

void DF::print_molecule ( World & world)

◆ print_parameters()

void DF::print_parameters ( )
inlinestatic

References madness::print().

Referenced by main().

◆ print_sizes()

void DF::print_sizes ( World & world,
bool individual = false )

◆ rele()

double DF::rele ( World & world,
Fcwf & psi )

References apply_T(), DFparams, energy, madness::inner(), and psi().

Referenced by iterate().

◆ saveDF()

◆ solve()

◆ solve_occupied()

◆ start_timer()

Member Data Documentation

◆ closed_shell

bool DF::closed_shell
private

◆ DFparams

DFParameters DF::DFparams
private

◆ energies

Tensor<double> DF::energies
private

Referenced by DF(), diagonalize(), iterate(), and saveDF().

◆ Init_params

◆ occupieds

◆ sss

std::vector<double> DF::sss
private

Referenced by end_timer(), get_times(), and start_timer().

◆ total_energy

double DF::total_energy
private

Referenced by DF(), iterate(), saveDF(), and solve_occupied().

◆ ttt

std::vector<double> DF::ttt
private

Referenced by end_timer(), get_times(), and start_timer().


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