MADNESS 0.10.1
Macros | Functions | Variables
test_fd_kfallback_load.cpp File Reference
#include "../Perturbations.hpp"
#include "../ResponseProtocol.hpp"
#include "../solvers/fd_save_load.hpp"
#include <madness/mra/mra.h>
#include <madness/world/MADworld.h>
#include <cmath>
#include <cstdio>
#include <filesystem>
#include <string>
Include dependency graph for test_fd_kfallback_load.cpp:

Macros

#define EXPECT(cond, msg)
 

Functions

static double gauss0 (const coord_3d &r)
 
static double gauss1 (const coord_3d &r)
 
int main (int argc, char **argv)
 

Variables

static int n_fail = 0
 

Macro Definition Documentation

◆ EXPECT

#define EXPECT (   cond,
  msg 
)
Value:
do { \
const bool ok = (cond); \
if (world.rank() == 0) \
std::printf(" %-60s %s\n", msg, ok ? "PASS" : "FAIL"); \
if (!ok) ++n_fail; \
} while (0)
std::string ok(const bool b)
Definition test6.cc:43
static int n_fail
Definition test_fd_kfallback_load.cpp:42

Function Documentation

◆ gauss0()

static double gauss0 ( const coord_3d r)
static

Referenced by main().

◆ gauss1()

static double gauss1 ( const coord_3d r)
static

Referenced by main(), test_arithmetic(), and test_inner().

◆ main()

int main ( int  argc,
char **  argv 
)

Variable Documentation

◆ n_fail

int n_fail = 0
static

Referenced by main().