MADNESS  0.10.1
Classes | Typedefs | Functions | Variables
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< rfunctionTrvecfuncT
 

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()

void compute_madelung_energy ( World world,
MolecularEntity  mentity,
double  alpha = 1.5,
double  rmax = 200.0,
double  gmax = 200.0 
)

◆ compute_madelung_energy_PWSCF()

void compute_madelung_energy_PWSCF ( World world,
MolecularEntity  mentity,
double  alpha = 8.5,
double  rmax = 100.0,
double  gmax = 100.0 
)

◆ compute_volume()

double 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, madness::print(), and T().

Referenced by test_gence().

◆ generate_G_vectors()

std::vector< Vector<double,3> > generate_G_vectors ( World world,
double  maxGlen = 15.0 
)

◆ generate_R_vectors()

std::vector< Vector<double,3> > generate_R_vectors ( World world,
double  maxRlen = 50.0 
)

◆ main()

int main ( int  argc,
char **  argv 
)

◆ make_nuclear_charge_density()

rfunctionT make_nuclear_charge_density ( World world,
const MolecularEntity mentity,
double  thresh = 1e-6 
)

◆ make_nuclear_charge_density_individual()

rvecfuncT make_nuclear_charge_density_individual ( World world,
const MolecularEntity mentity,
double  thresh 
)

◆ nuclear_potential()

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

◆ test_G_R_vectors()

void test_G_R_vectors ( int  argc,
char **  argv 
)

◆ test_gaussian_num_coeffs()

void test_gaussian_num_coeffs ( int  argc,
char **  argv 
)

◆ test_gence()

void test_gence ( int  argc,
char **  argv 
)

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

◆ test_gence2()

void test_gence2 ( int  argc,
char **  argv 
)

◆ test_nuclear_energy()

void test_nuclear_energy ( int  argc,
char **  argv 
)

◆ test_nuclear_potential()

void test_nuclear_potential ( int  argc,
char **  argv 
)

◆ test_nuclear_potential2()

void test_nuclear_potential2 ( int  argc,
char **  argv 
)

◆ test_nuclear_potential3()

void test_nuclear_potential3 ( int  argc,
char **  argv 
)

◆ test_nuclear_potential_big_unit_cell()

void test_nuclear_potential_big_unit_cell ( int  argc,
char **  argv 
)

Variable Documentation

◆ L

double L = 6.5
static