[cig-commits] commit: Make v not have an associated weight so we can use RMSNorm

Mercurial hg at geodynamics.org
Fri Feb 25 14:14:31 PST 2011


changeset:   42:7f0753960d0b
user:        Walter Landry <wlandry at caltech.edu>
date:        Sat Jan 08 10:08:40 2011 -0800
files:       StokesFACSolver/createVectorWrappers.C
description:
Make v not have an associated weight so we can use RMSNorm


diff -r a482b1517f7a -r 7f0753960d0b StokesFACSolver/createVectorWrappers.C
--- a/StokesFACSolver/createVectorWrappers.C	Sat Jan 08 10:07:19 2011 -0800
+++ b/StokesFACSolver/createVectorWrappers.C	Sat Jan 08 10:08:40 2011 -0800
@@ -55,7 +55,7 @@ void SAMRAI::solv::StokesFACSolver::crea
                  << " is not a side-double variable.\n");
     }
 #endif
-    d_uv->addComponent(variable, v, s_weight_id[d_dim.getValue() - 2]);
+    d_uv->addComponent(variable, v);
   }
 
   if (!d_fv || d_fv->getComponentDescriptorIndex(0) != p_rhs) {
@@ -92,6 +92,6 @@ void SAMRAI::solv::StokesFACSolver::crea
                  << " is not a cell-double variable.\n");
     }
 #endif
-    d_fv->addComponent(variable, v_rhs, s_weight_id[d_dim.getValue() - 2]);
+    d_fv->addComponent(variable, v_rhs);
   }
 }



More information about the CIG-COMMITS mailing list