Question about domain_Decomposition() and force_update_len()

From: Ali Snedden <>
Date: Sun, 23 Feb 2014 14:38:51 -0500


At every timestep the a domain Decomposition occurs (calling
domain_decompose()) or the Nodes[*].len gets updated in force_update_len().
 This occurs domain_decompose() is controlled by the conditional

if(All.NumForcesSinceLastDomainDecomp > All.TotNumPart *

force_update_len() is controlled by the conditional (see predict.c)

if(All.NumForcesSinceLastDomainDecomp < All.TotNumPart

However if All.NumForcesSinceLastDomainDecomp = All.TotNumPart
*All.TreeDomainUpdateFrequency, neither the domain_decompose() is run nor
are the Nodes[*].len updated in force_update_len(). Is this the expected
behavior? I recently encountered such a situation when the values were

All.NumForcesSinceLastDomainDecomp = 11000
All.TotNumPart = 110000
All.TreeDomainUpdateFrequency = 0.1

Thank you for your time.

Received on 2014-02-23 20:38:58

This archive was generated by hypermail 2.3.0 : 2023-01-10 10:01:32 CET