[MOAB-dev] r4216 - MOAB/trunk/tools/mbcoupler
smithrm at mcs.anl.gov
smithrm at mcs.anl.gov
Wed Oct 13 15:51:18 CDT 2010
Author: smithrm
Date: 2010-10-13 15:51:18 -0500 (Wed, 13 Oct 2010)
New Revision: 4216
Modified:
MOAB/trunk/tools/mbcoupler/ElemUtil.cpp
Log:
o Small cleanup of unused variable.
o Fixed LinearHex::gauss initialization.
Modified: MOAB/trunk/tools/mbcoupler/ElemUtil.cpp
===================================================================
--- MOAB/trunk/tools/mbcoupler/ElemUtil.cpp 2010-10-13 15:46:52 UTC (rev 4215)
+++ MOAB/trunk/tools/mbcoupler/ElemUtil.cpp 2010-10-13 20:51:18 UTC (rev 4216)
@@ -448,7 +448,6 @@
// Calculate the "real" space point given the "normal" point
CartVect normal_pt(xi_i, eta_j, zeta_k);
- CartVect real_pt = hex.evaluate(normal_pt);
// Calculate the value of F(x(xi,eta,zeta),y(xi,eta,zeta),z(xi,eta,zeta)
double field = hex.evaluate_scalar_field(normal_pt, corner_fields);
@@ -526,7 +525,7 @@
Hence, the inner dimension is 2, the outer dimension is gauss_count.
We use a one-point Gaussian quadrature, since it integrates linear functions exactly.
*/
- static const double gauss[1][2] = { { 2.0, 0.0 } };
+ const double LinearHex::gauss[1][2] = { { 2.0, 0.0 } };
CartVect LinearHex::evaluate( const CartVect& xi ) const {
CartVect x(0.0);
More information about the moab-dev
mailing list