Skip to content

Commit

Permalink
Merged in stable redistribute branch
Browse files Browse the repository at this point in the history
  • Loading branch information
stevenhofmeyr committed Nov 13, 2024
2 parents 8d44996 + 0d6e9ac commit a7967b5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/Utils.H
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ struct TestParams
int nborhood_size = 500;
int workgroup_size = 20;

bool fast = true; /*!< Use the fast implementations for various operations, e.g. binning, at the cost of
bool fast = false; /*!< Use the fast implementations for various operations, e.g. binning, at the cost of
exact reproducibility for a given random seed. */
};

Expand Down
2 changes: 2 additions & 0 deletions src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,8 @@ void runAgent ()
mask_behavior.setVal(1);

AgentContainer pc(geom, dm, ba, params.num_diseases, params.disease_names, params.fast, params.ic_type);
bool stable_redistribute = !params.fast;
pc.setStableRedistribute(stable_redistribute);

{
BL_PROFILE_REGION("Initialization");
Expand Down

0 comments on commit a7967b5

Please sign in to comment.