[cig-commits] commit: Clarify some comments

Mercurial hg at geodynamics.org
Tue Apr 26 15:49:52 PDT 2011


changeset:   209:2b63b6e79790
user:        Walter Landry <wlandry at caltech.edu>
date:        Tue Apr 26 15:47:11 2011 -0700
files:       src/StokesFACOps/smooth_V_2D.C src/StokesFACOps/smooth_V_3D.C
description:
Clarify some comments


diff -r a35f7f2ecdd3 -r 2b63b6e79790 src/StokesFACOps/smooth_V_2D.C
--- a/src/StokesFACOps/smooth_V_2D.C	Tue Apr 26 15:46:35 2011 -0700
+++ b/src/StokesFACOps/smooth_V_2D.C	Tue Apr 26 15:47:11 2011 -0700
@@ -30,7 +30,7 @@ void SAMRAI::solv::StokesFACOps::smooth_
     y(center,off_axis,pdat::SideIndex::Lower);
   const pdat::NodeIndex edge(center,pdat::NodeIndex::LowerLeft);
     
-  /* If at the 'x' boundaries, leave vx as is */
+  /* If at a Dirichlet 'x' boundary, leave vx as is */
   if(!((center[axis]==pbox.lower(axis) && v(x-ip)==boundary_value)
        || (center[axis]==pbox.upper(axis)+1 && v(x+ip)==boundary_value)))
     {
diff -r a35f7f2ecdd3 -r 2b63b6e79790 src/StokesFACOps/smooth_V_3D.C
--- a/src/StokesFACOps/smooth_V_3D.C	Tue Apr 26 15:46:35 2011 -0700
+++ b/src/StokesFACOps/smooth_V_3D.C	Tue Apr 26 15:47:11 2011 -0700
@@ -29,7 +29,7 @@ void SAMRAI::solv::StokesFACOps::smooth_
   const pdat::EdgeIndex edge_y(center,iy,pdat::EdgeIndex::LowerLeft),
     edge_z(center,iz,pdat::EdgeIndex::LowerLeft);
     
-  /* If at the 'x' boundaries, leave vx as is */
+  /* If at a Dirichlet 'x' boundary, leave vx as is */
   if(!((center[ix]==pbox.lower(ix) && v(x-pp[ix])==boundary_value)
        || (center[ix]==pbox.upper(ix)+1 && v(x+pp[ix])==boundary_value)))
     {



More information about the CIG-COMMITS mailing list