[cig-commits] r14080 - cs/cigma/trunk/src
luis at geodynamics.org
luis at geodynamics.org
Wed Feb 18 08:14:31 PST 2009
Author: luis
Date: 2009-02-18 08:14:31 -0800 (Wed, 18 Feb 2009)
New Revision: 14080
Modified:
cs/cigma/trunk/src/fe_hex8.cpp
cs/cigma/trunk/src/fe_quad4.cpp
cs/cigma/trunk/src/fe_tet10.cpp
cs/cigma/trunk/src/fe_tet4.cpp
cs/cigma/trunk/src/fe_tri3.cpp
cs/cigma/trunk/src/fe_tri6.cpp
Log:
Lower tolerance value to 1e-8
Modified: cs/cigma/trunk/src/fe_hex8.cpp
===================================================================
--- cs/cigma/trunk/src/fe_hex8.cpp 2009-02-18 16:14:28 UTC (rev 14079)
+++ cs/cigma/trunk/src/fe_hex8.cpp 2009-02-18 16:14:31 UTC (rev 14080)
@@ -120,7 +120,7 @@
/*
*
*/
-#define ZERO (-1.0e-6)
+#define ZERO (-1.0e-8)
#define ONE (1-ZERO)
bool hex8::interior(double u, double v, double w)
@@ -221,7 +221,7 @@
// */
- //*
+ /*
#define X(n) (globverts[3*(n) + i])
#define TRIPLE (A[0] * B[1] * C[2] - A[0] * C[1] * B[2] - A[1] * B[0] * C[2] + A[1] * C[0] * B[2] + A[2] * B[0] * C[1] - A[2] * C[0] * B[1])
@@ -255,7 +255,7 @@
// */
- /*
+ //*
//
// Permutation of vertices: (2 3)(6 7)
//
Modified: cs/cigma/trunk/src/fe_quad4.cpp
===================================================================
--- cs/cigma/trunk/src/fe_quad4.cpp 2009-02-18 16:14:28 UTC (rev 14079)
+++ cs/cigma/trunk/src/fe_quad4.cpp 2009-02-18 16:14:31 UTC (rev 14080)
@@ -90,7 +90,7 @@
*
*
*/
-#define ZERO (-1.0e-6)
+#define ZERO (-1.0e-8)
#define ONE (1-ZERO)
bool quad4::interior(double u, double v, double w)
Modified: cs/cigma/trunk/src/fe_tet10.cpp
===================================================================
--- cs/cigma/trunk/src/fe_tet10.cpp 2009-02-18 16:14:28 UTC (rev 14079)
+++ cs/cigma/trunk/src/fe_tet10.cpp 2009-02-18 16:14:31 UTC (rev 14080)
@@ -169,7 +169,7 @@
bool tet10::interior(double u, double v, double w)
{
- #define ZERO (-1.0e-6)
+ #define ZERO (-1.0e-8)
#define ONE (1 - ZERO)
if ((u < ZERO) || (v < ZERO) || (w < ZERO) || (u > (ONE - v - w)))
Modified: cs/cigma/trunk/src/fe_tet4.cpp
===================================================================
--- cs/cigma/trunk/src/fe_tet4.cpp 2009-02-18 16:14:28 UTC (rev 14079)
+++ cs/cigma/trunk/src/fe_tet4.cpp 2009-02-18 16:14:31 UTC (rev 14080)
@@ -133,7 +133,7 @@
bool tet4::interior(double u, double v, double w)
{
- #define ZERO (-1.0e-6)
+ #define ZERO (-1.0e-8)
#define ONE (1 - ZERO)
if ((u < ZERO) || (v < ZERO) || (w < ZERO) || (u > (ONE - v - w)))
Modified: cs/cigma/trunk/src/fe_tri3.cpp
===================================================================
--- cs/cigma/trunk/src/fe_tri3.cpp 2009-02-18 16:14:28 UTC (rev 14079)
+++ cs/cigma/trunk/src/fe_tri3.cpp 2009-02-18 16:14:31 UTC (rev 14080)
@@ -74,7 +74,7 @@
//void tri3::xyz2uvw(double xyz[3], double uvw[3]) {}
-#define ZERO (-1.0e-6)
+#define ZERO (-1.0e-8)
#define ONE (1 - ZERO)
bool tri3::interior(double u, double v, double w)
Modified: cs/cigma/trunk/src/fe_tri6.cpp
===================================================================
--- cs/cigma/trunk/src/fe_tri6.cpp 2009-02-18 16:14:28 UTC (rev 14079)
+++ cs/cigma/trunk/src/fe_tri6.cpp 2009-02-18 16:14:31 UTC (rev 14080)
@@ -89,7 +89,7 @@
//void tri6::xyz2uvw(double xyz[3], double uvw[3]) {}
-#define ZERO (-1.0e-6)
+#define ZERO (-1.0e-8)
#define ONE (1 - ZERO)
bool tri6::interior(double u, double v, double w)
More information about the CIG-COMMITS
mailing list