[cig-commits] commit: Rearrange some sync's so that they happen the same way as in 2D, and
Mercurial
hg at geodynamics.org
Thu Jun 7 13:35:54 PDT 2012
changeset: 269:97e2c13edfe8
user: Walter Landry <wlandry at caltech.edu>
date: Thu May 03 10:41:20 2012 -0700
files: src/StokesFACOps/smooth_Tackley_3D.C
description:
Rearrange some sync's so that they happen the same way as in 2D, and
change theta_momentum from 0.7 to 1.0.
diff -r 606efdc34aca -r 97e2c13edfe8 src/StokesFACOps/smooth_Tackley_3D.C
--- a/src/StokesFACOps/smooth_Tackley_3D.C Thu May 03 10:40:31 2012 -0700
+++ b/src/StokesFACOps/smooth_Tackley_3D.C Thu May 03 10:41:20 2012 -0700
@@ -34,11 +34,11 @@ void SAMRAI::solv::StokesFACOps::smooth_
calculating a new pressure update requires computing in the ghost
region so that the update for the velocity inside the box will be
correct. */
+ p_refine_patch_strategy.setTargetDataId(p_id);
+ v_refine_patch_strategy.setTargetDataId(v_id);
set_boundaries(p_id,v_id,level,true);
xeqScheduleGhostFillNoCoarse(p_rhs_id,v_rhs_id,ln);
- p_refine_patch_strategy.setTargetDataId(p_id);
- v_refine_patch_strategy.setTargetDataId(v_id);
if (ln > d_ln_min) {
/*
* Perform a one-time transfer of data from coarser level,
@@ -48,7 +48,7 @@ void SAMRAI::solv::StokesFACOps::smooth_
xeqScheduleGhostFill(p_id, v_id, ln);
}
- double theta_momentum=0.7;
+ double theta_momentum=1.0;
/*
* Smooth the number of sweeps specified or until
More information about the CIG-COMMITS
mailing list