MADNESS  version 0.9
Classes | Typedefs | Functions
ewald.cc File Reference
#include <madness/mra/mra.h>
#include "mentity.h"
Include dependency graph for ewald.cc:

Classes

class  MolecularNuclearChargeDensityFunctor
 

Typedefs

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

Functions

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

Typedef Documentation

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

Function Documentation

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 
)

References mpfr::exp(), and mu.

Referenced by test_gence2().

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 
)

References c, mpfr::exp(), gen_ce(), and mu.

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 
)