MADNESS
0.10.1
|
#include <madness/world/world.h>
#include <madness/world/thread.h>
#include <iostream>
#include <pthread.h>
#include <unistd.h>
#include <stdlib.h>
#include <madness/world/atomicint.h>
Classes | |
class | Adder |
class | Greet |
Macros | |
#define | MAX_NUM_THREADS 1000 |
Functions | |
void * | doit (void *args) |
int | get_nthread () |
int | main (int argc, char **argv) |
Variables | |
const int | NDO = 10000000 |
AtomicInt | ndone |
AtomicInt | sum |
#define MAX_NUM_THREADS 1000 |
void* doit | ( | void * | args | ) |
References ndone, and madness::sum().
Referenced by main().
int get_nthread | ( | ) |
References MADNESS_EXCEPTION.
Referenced by main().
int main | ( | int | argc, |
char ** | argv | ||
) |
References madness::ThreadPool::add(), doit(), e(), madness::finalize(), get_nthread(), madness::initialize(), MADNESS_EXCEPTION, MAX_NUM_THREADS, NDO, ndone, smalltest, and madness::sum().
const int NDO = 10000000 |
Referenced by main(), and Adder::run().
AtomicInt ndone |
AtomicInt sum |
Referenced by a_fit(), apbar_fit(), bshrel_fit(), PointGroup::cart_ir(), do_test_random(), AtomicBasisSet::eval_guess_density(), AtomicBasis::eval_guess_density(), ContractedGaussianShell::eval_radial(), DF::exchange(), f1(), fit(), LSQ(), main(), makedata(), ContractedGaussianShell::normalize(), opt(), pbar_fit(), periodic_sum(), periodic_sum_partial(), Worker::run(), series(), tbar_fit(), test(), test_random(), test_thread(), and transform3d().