MADNESS  0.10.1
Classes | Macros | Typedefs | Functions | Variables
gygi_soltion.cc File Reference
#include <madness/mra/mra.h>
#include <madness/constants.h>
#include <ctime>
#include <madness/tensor/solvers.h>
#include <madness/mra/funcplot.h>
#include <madness/mra/nonlinsol.h>
Include dependency graph for gygi_soltion.cc:

Classes

class  GygiPot
 
struct  GygiPot::Pow< T, DIM >
 
struct  GygiPot::Pow_beta_one< T, DIM >
 
struct  GygiPot::Reciprocal< T, DIM >
 

Macros

#define TIME(MSG, X)
 

Typedefs

typedef real_function_3d realfunc
 

Functions

int main (int argc, char **argv)
 
double nuc_func (const coord_3d &r)
 
double rho_func (const coord_3d &r)
 

Variables

const double beta = 1.300
 
const double epsilon = 78.304
 
const double Gamma = 0.07197
 
const int k = 8
 
const double L = 10
 
const int maxiter = 20
 
const double rho_0 = 0.0004
 
const double thresh = 1e-6
 
double XXstart
 

Macro Definition Documentation

◆ TIME

#define TIME (   MSG,
 
)
Value:
X; \
if (world.rank() == 0)print("timer: ", MSG,"used",wall_time() - XXstart) \
double XXstart
Definition: gygi_soltion.cc:70
void print(const tensorT &t)
Definition: mcpfit.cc:140
double wall_time()
Returns the wall time in seconds relative to an arbitrary origin.
Definition: timers.cc:48
Definition: timing_utilities.h:9

Typedef Documentation

◆ realfunc

Function Documentation

◆ main()

int main ( int  argc,
char **  argv 
)

◆ nuc_func()

double nuc_func ( const coord_3d r)

References madness::constants::pi, and pow().

Referenced by main().

◆ rho_func()

double rho_func ( const coord_3d r)

References madness::constants::pi, and R.

Referenced by main().

Variable Documentation

◆ beta

const double beta = 1.300

◆ epsilon

const double epsilon = 78.304

◆ Gamma

const double Gamma = 0.07197

◆ k

const int k = 8

Referenced by main().

◆ L

const double L = 10

Referenced by main().

◆ maxiter

const int maxiter = 20

◆ rho_0

const double rho_0 = 0.0004

◆ thresh

const double thresh = 1e-6

Referenced by main().

◆ XXstart

double XXstart