MADNESS  version 0.9
Classes | Macros | Typedefs | Functions
wfSlice.cc File Reference
#include <fstream>
#include <iomanip>
#include <string>
#include <sstream>
#include <vector>
#include <stdio.h>
#include <stdlib.h>
#include <time.h>
#include <math.h>
#include "wavef.h"
Include dependency graph for wfSlice.cc:

Classes

struct  WF
 

Macros

#define PRINT(str)   if(world.rank()==0) std::cout << str
 
#define PRINTLINE(str)   if(world.rank()==0) std::cout << str << std::endl
 

Typedefs

typedef std::complex< double > complexd
 
typedef Vector< double, NDIMvector3D
 
typedef Function< complexd, NDIMcomplex_functionT
 
typedef Function< double, NDIMfunctionT
 
typedef FunctionFactory
< complexd, NDIM
complex_factoryT
 
typedef FunctionFactory
< double, NDIM
factoryT
 
typedef std::shared_ptr
< WorldDCPmapInterface< Key< 3 > > > 
pmapT
 

Functions

const char * wave_function_filename (int step)
 
bool wave_function_exists (World &world, int step)
 
void wave_function_store (World &world, int step, const complex_functionT &psi)
 
complex_functionT wave_function_load (World &world, int step)
 
void loadParameters2 (World &world, int &nGrid, double &th, double &phi, int &wf, double &kMomentum, int &lMAX, int &nPhoton)
 
void loadParameters (World &world, double &thresh, int &kMAD, double &L, double &Z, int &nPhoton, double &cutoff, double &Llarge)
 
string toString (int &i)
 
void doplot (World &world, int step, const complex_functionT &psi, double Lplot, long numpt, const char *fname)
 
int main (int argc, char **argv)
 

Macro Definition Documentation

#define PRINT (   str)    if(world.rank()==0) std::cout << str
#define PRINTLINE (   str)    if(world.rank()==0) std::cout << str << std::endl

Typedef Documentation

typedef std::complex<double> complexd
typedef FunctionFactory<double,NDIM> factoryT
typedef Function<double,NDIM> functionT
typedef Vector<double,NDIM> vector3D

Function Documentation

void doplot ( World world,
int  step,
const complex_functionT psi,
double  Lplot,
long  numpt,
const char *  fname 
)
void loadParameters ( World world,
double &  thresh,
int &  kMAD,
double &  L,
double &  Z,
int &  nPhoton,
double &  cutoff,
double &  Llarge 
)

Atomic Units: m = hbar = e = 1 E_n = n hbar omega I_p = Z^2 / 2 KE = E_n - I_p 0.5 v^2 = n omega - Z^2/2 v = sqrt(2 n omega - Z^2) dMAX = v tMAX

References madness::f, PRINTLINE, and sqrt().

Referenced by main().

void loadParameters2 ( World world,
int &  nGrid,
double &  th,
double &  phi,
int &  wf,
double &  kMomentum,
int &  lMAX,
int &  nPhoton 
)

References madness::f, and PRINTLINE.

Referenced by main().

int main ( int  argc,
char **  argv 
)
string toString ( int &  i)
bool wave_function_exists ( World world,
int  step 
)
const char* wave_function_filename ( int  step)
complex_functionT wave_function_load ( World world,
int  step 
)

References psi(), and wave_function_filename().

Referenced by main().

void wave_function_store ( World world,
int  step,
const complex_functionT psi 
)