MP-Gadget
5.0.1.dev1-76bc7d4726-dirty
|
#include <stdarg.h>
#include <stddef.h>
#include <setjmp.h>
#include <cmocka.h>
#include <math.h>
#include <mpi.h>
#include <stdio.h>
#include <string.h>
#include <time.h>
#include <gsl/gsl_rng.h>
#include <libgadget/fof.h>
#include <libgadget/walltime.h>
#include <libgadget/domain.h>
#include <libgadget/forcetree.h>
#include <libgadget/partmanager.h>
#include "stub.h"
Go to the source code of this file.
Macros | |
#define | qsort_openmp qsort |
#define | NUMPART1 8 |
Functions | |
static int | setup_particles (int NumPart, double BoxSize) |
static int | teardown_particles (void **state) |
static void | test_fof (void **state) |
int | main (void) |
Variables | |
static struct ClockTable | CT |
#define NUMPART1 8 |
Definition at line 25 of file test_fof.c.
#define qsort_openmp qsort |
Definition at line 14 of file test_fof.c.
int main | ( | void | ) |
Definition at line 114 of file test_fof.c.
References test_fof().
|
static |
Definition at line 27 of file test_fof.c.
References part_manager_type::NumPart, P, particle_alloc_memory(), PartManager, PEANO(), and ThisTask.
Referenced by test_fof().
|
static |
Definition at line 62 of file test_fof.c.
Referenced by test_fof().
|
static |
Definition at line 71 of file test_fof.c.
References CT, domain_decompose_full(), DomainParams::DomainOverDecompositionFactor, DomainParams::DomainUseGlobalSorting, fof_finish(), fof_fof(), init_forcetree_params(), NTask, part_manager_type::NumPart, P, PartManager, set_domain_par(), DomainParams::SetAsideFactor, setup_particles(), teardown_particles(), ThisTask, DomainParams::TopNodeAllocFactor, and walltime_init().
Referenced by main().
|
static |
Definition at line 1 of file test_fof.c.
Referenced by test_fof().