MADNESS  version 0.9
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 "nonlinsol.h"
Include dependency graph for gygi_soltion.cc:

Macros

#define TIME(MSG, X)
 

Typedefs

typedef real_function_3d realfunc
 

Functions

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

Variables

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

Macro Definition Documentation

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

Referenced by main().

Typedef Documentation

Function Documentation

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

References mpfr::exp(), and madness::constants::pi.

Referenced by main().

double rho_func ( const coord_3d r)

References mpfr::exp(), madness::constants::pi, R, and sqrt().

Referenced by main().

Variable Documentation

const double beta = 1.300
const double epsilon = 78.304

Referenced by cfrac(), jacobi(), main(), opt(), series(), and test().

const double Gamma = 0.07197
const int k = 8

Referenced by main().

const double L = 10

Referenced by main().

const int maxiter = 20
const double rho_0 = 0.0004
const double thresh = 1e-6

Referenced by main().

double XXstart