MADNESS 0.10.1
Macros | Functions | Variables
molecularsurface.cc File Reference
#include <madness/mra/mra.h>
#include <madness/mra/sdf_shape_3D.h>
#include <madness/mra/funcplot.h>
#include "molecularmask.h"
#include <madness/constants.h>
#include <vector>
Include dependency graph for molecularsurface.cc:

Macros

#define TIME(MSG, X)
 

Functions

double area_two_spheres (double r1, double r2, double d)
 
int main (int argc, char **argv)
 
double volume_two_spheres (double r1, double r2, double d)
 

Variables

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 molecularsurface.cc:12
void print(const T &t, const Ts &... ts)
Print items to std::cout (items separated by spaces) and terminate with a new line.
Definition print.h:225
double wall_time()
Returns the wall time in seconds relative to an arbitrary origin.
Definition timers.cc:48
Definition timing_utilities.h:9

Function Documentation

◆ area_two_spheres()

double area_two_spheres ( double  r1,
double  r2,
double  d 
)

References d, madness::constants::pi, and madness::r2().

Referenced by main().

◆ main()

int main ( int  argc,
char **  argv 
)

◆ volume_two_spheres()

double volume_two_spheres ( double  r1,
double  r2,
double  d 
)

References d, madness::constants::pi, and madness::r2().

Referenced by main().

Variable Documentation

◆ XXstart

double XXstart