MP-Gadget  5.0.1.dev1-76bc7d4726-dirty
Public Attributes | List of all members
DomainDecompositionPolicy Struct Reference
Collaboration diagram for DomainDecompositionPolicy:
[legend]

Public Attributes

double TopNodeAllocFactor
 
int UseGlobalSort
 
MPI_Comm GlobalSortComm
 
int SubSampleDistance
 
int PreSort
 
int NTopLeaves
 

Detailed Description

Policy for domain decomposition.

Several policies will be attempted before we give up and die.

Definition at line 49 of file domain.c.

Member Data Documentation

◆ GlobalSortComm

MPI_Comm DomainDecompositionPolicy::GlobalSortComm

Apply a global sorting on the subsamples before building the top level tree.

Definition at line 52 of file domain.c.

Referenced by domain_check_for_local_refine_subsample(), and domain_policies_init().

◆ NTopLeaves

int DomainDecompositionPolicy::NTopLeaves

PreSort the local particles before subsampling, creating a fair subsample

Definition at line 55 of file domain.c.

Referenced by domain_attempt_decompose(), domain_determine_global_toptree(), and domain_policies_init().

◆ PreSort

int DomainDecompositionPolicy::PreSort

Frequency of subsampling

Definition at line 54 of file domain.c.

Referenced by domain_check_for_local_refine_subsample(), and domain_policies_init().

◆ SubSampleDistance

int DomainDecompositionPolicy::SubSampleDistance

Communicator to use for the global sort. By default MPI_COMM_WORLD.

Definition at line 53 of file domain.c.

Referenced by domain_check_for_local_refine_subsample(), and domain_policies_init().

◆ TopNodeAllocFactor

double DomainDecompositionPolicy::TopNodeAllocFactor

Definition at line 50 of file domain.c.

Referenced by domain_allocate(), and domain_policies_init().

◆ UseGlobalSort

int DomainDecompositionPolicy::UseGlobalSort

number of Top level tree nodes as a fraction of particles

Definition at line 51 of file domain.c.

Referenced by domain_check_for_local_refine_subsample(), and domain_policies_init().


The documentation for this struct was generated from the following file: