MADNESS 0.10.1
ewald.cc File Reference
#include <madness/mra/mra.h>
#include "mentity.h"
Include dependency graph for ewald.cc:

Classes

class  EwaldNuclearPotentialFunctor
class  GaussianFunctor
class  MolecularNuclearChargeDensityFunctor
class  MolecularNuclearPotentialFunctor2
class  OnesFunctor
struct  vectorLengthFunctor

Typedefs

typedef Vector< double, 3 > coordT
typedef FunctionFactory< double, 3 > rfactoryT
typedef Function< double, 3 > rfunctionT
typedef std::shared_ptr< FunctionFunctorInterface< double, 3 > > rfunctorT
typedef std::vector< rfunctionT > rvecfuncT

Functions

void compute_madelung_energy (World &world, MolecularEntity mentity, double alpha=1.5, double rmax=200.0, double gmax=200.0)
void compute_madelung_energy_PWSCF (World &world, MolecularEntity mentity, double alpha=8.5, double rmax=100.0, double gmax=100.0)
double compute_volume ()
void gen_ce (double mu, double xlo, double eps, Tensor< double > &c, Tensor< double > &e)
std::vector< Vector< double, 3 > > generate_G_vectors (World &world, double maxGlen=15.0)
std::vector< Vector< double, 3 > > generate_R_vectors (World &world, double maxRlen=50.0)
int main (int argc, char **argv)
rfunctionT make_nuclear_charge_density (World &world, const MolecularEntity &mentity, double thresh=1e-6)
rvecfuncT make_nuclear_charge_density_individual (World &world, const MolecularEntity &mentity, double thresh)
double nuclear_potential (const Tensor< double > &c, const Tensor< double > &e, double r)
void test_G_R_vectors (int argc, char **argv)
void test_gaussian_num_coeffs (int argc, char **argv)
void test_gence (int argc, char **argv)
void test_gence2 (int argc, char **argv)
void test_nuclear_energy (int argc, char **argv)
void test_nuclear_potential (int argc, char **argv)
void test_nuclear_potential2 (int argc, char **argv)
void test_nuclear_potential3 (int argc, char **argv)
void test_nuclear_potential_big_unit_cell (int argc, char **argv)

Variables

static double L = 6.5

Typedef Documentation

◆ coordT

typedef Vector<double,3> coordT

◆ rfactoryT

typedef FunctionFactory<double,3> rfactoryT

◆ rfunctionT

typedef Function<double,3> rfunctionT

◆ rfunctorT

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

◆ rvecfuncT

typedef std::vector<rfunctionT> rvecfuncT

Function Documentation

◆ compute_madelung_energy()

◆ compute_madelung_energy_PWSCF()

◆ compute_volume()

◆ gen_ce()

void gen_ce ( double mu,
double xlo,
double eps,
Tensor< double > & c,
Tensor< double > & e )

References std::abs(), c, e(), h(), mu, madness::constants::pi, and madness::print().

Referenced by test_gence().

◆ generate_G_vectors()

◆ generate_R_vectors()

◆ main()

int main ( int argc,
char ** argv )

◆ make_nuclear_charge_density()

◆ make_nuclear_charge_density_individual()

◆ nuclear_potential()

double nuclear_potential ( const Tensor< double > & c,
const Tensor< double > & e,
double r )

◆ test_G_R_vectors()

◆ test_gaussian_num_coeffs()

◆ test_gence()

void test_gence ( int argc,
char ** argv )

References std::abs(), c, e(), gen_ce(), mu, and npts.

◆ test_gence2()

void test_gence2 ( int argc,
char ** argv )

◆ test_nuclear_energy()

◆ test_nuclear_potential()

◆ test_nuclear_potential2()

◆ test_nuclear_potential3()

◆ test_nuclear_potential_big_unit_cell()

Variable Documentation

◆ L