MP-Gadget
5.0.1.dev1-76bc7d4726-dirty
|
Go to the source code of this file.
Typedefs | |
typedef int(* | ExchangeLayoutFunc) (int p, const void *userdata) |
Functions | |
int | domain_exchange (ExchangeLayoutFunc, const void *layout_userdata, int do_gc, struct DriftData *drift, struct part_manager_type *pman, struct slots_manager_type *sman, int maxiter, MPI_Comm Comm) |
void | domain_test_id_uniqueness (struct part_manager_type *pman) |
typedef int(* ExchangeLayoutFunc) (int p, const void *userdata) |
Definition at line 8 of file exchange.h.
int domain_exchange | ( | ExchangeLayoutFunc | layoutfunc, |
const void * | layout_userdata, | ||
int | do_gc, | ||
struct DriftData * | drift, | ||
struct part_manager_type * | pman, | ||
struct slots_manager_type * | sman, | ||
int | maxiter, | ||
MPI_Comm | Comm | ||
) |
Definition at line 103 of file exchange.c.
References domain_build_exchange_list(), domain_build_plan(), domain_exchange_once(), domain_find_iter_space(), domain_free_exchangeplan(), domain_init_exchangeplan(), endrun(), ExchangePlan::ExchangeList, ExchangePlan::last, MPI_TYPE_PLAN_ENTRY, MPIU_Any(), myfree, ExchangePlan::nexchange, and walltime_measure.
Referenced by domain_decompose_full(), domain_maintain(), fof_try_particle_exchange(), test_exchange(), test_exchange_uneven(), test_exchange_with_garbage(), and test_exchange_zero_slots().
void domain_test_id_uniqueness | ( | struct part_manager_type * | pman | ) |
Definition at line 570 of file exchange.c.
References part_manager_type::Base, endrun(), particle_data::ID, particle_data::IsGarbage, message(), mp_order_by_id(), mpsort_mpi, myfree, mymalloc, NTask, part_manager_type::NumPart, ta_malloc, and ThisTask.
Referenced by domain_decompose_full(), domain_exchange_once(), init(), test_exchange(), test_exchange_uneven(), test_exchange_with_garbage(), and test_exchange_zero_slots().