MADNESS 0.10.1
Classes | Functions | Variables
test_function_hdf5.cpp File Reference
#include "../GroundState.hpp"
#include "../solvers/function_hdf5_io.hpp"
#include <madness/chem/molecule.h>
#include <nlohmann/json.hpp>
#include <madness/misc/info.h>
#include <madness/mra/mra.h>
#include <algorithm>
#include <cmath>
#include <cstdio>
#include <filesystem>
#include <fstream>
#include <string>
#include <utility>
#include <vector>
Include dependency graph for test_function_hdf5.cpp:

Classes

struct  PathResult
 
struct  RunResult
 

Functions

int main (int argc, char **argv)
 
static void print_block (const RunResult &r)
 
static RunResult run_one (World &world, long k, double thresh, double L)
 
static bool run_real_mo (World &world, const std::string &archive_path)
 
static long long sum_sizes (const std::string &stem)
 
static double testfn (const Vector< double, D > &r)
 

Variables

static const double BOXL = 100.0
 
static const std::size_t D = 3
 
static const int GZ_LEVEL = 1
 
static const std::vector< std::pair< long, double > > SWEEP
 

Function Documentation

◆ main()

int main ( int  argc,
char **  argv 
)

◆ print_block()

static void print_block ( const RunResult r)
static

◆ run_one()

static RunResult run_one ( World world,
long  k,
double  thresh,
double  L 
)
static

◆ run_real_mo()

static bool run_real_mo ( World world,
const std::string &  archive_path 
)
static

◆ sum_sizes()

static long long sum_sizes ( const std::string &  stem)
static

References e(), and madness::name().

Referenced by run_one(), and run_real_mo().

◆ testfn()

static double testfn ( const Vector< double, D > &  r)
static

References madness::r2().

Referenced by run_one().

Variable Documentation

◆ BOXL

const double BOXL = 100.0
static

Referenced by main().

◆ D

const std::size_t D = 3
static

◆ GZ_LEVEL

const int GZ_LEVEL = 1
static

Referenced by print_block(), and run_one().

◆ SWEEP

const std::vector<std::pair<long, double> > SWEEP
static
Initial value:
= {
{6, 1e-4}, {8, 1e-6}, {10, 1e-8}}
void e()
Definition test_sig.cc:75

Referenced by main().