Question about domain_Decomposition() and force_update_len()

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

Hello,

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 *
All.TreeDomainUpdateFrequency)

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

if(All.NumForcesSinceLastDomainDecomp < All.TotNumPart
*All.TreeDomainUpdateFrequency)

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.

Sincerely,
Ali
Received on 2014-02-23 20:38:58

This archive was generated by hypermail 2.3.0 : 2022-09-01 14:03:42 CEST