From: vbd Date: Fri, 14 Sep 2007 11:48:14 +0000 (+0000) Subject: staffan : X-Git-Tag: trio_trio_coupling~28 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=99f1a2fef9838b77a981e8c4db87338bb09ca7dc;p=tools%2Fmedcoupling.git staffan : * doc update --- diff --git a/src/INTERP_KERNEL/MeshElement.cxx b/src/INTERP_KERNEL/MeshElement.cxx index 89d4bb7ca..862266fbe 100644 --- a/src/INTERP_KERNEL/MeshElement.cxx +++ b/src/INTERP_KERNEL/MeshElement.cxx @@ -15,7 +15,6 @@ namespace INTERP_UTILS * * @param index global number of element in the mesh * @param mesh mesh that the element belongs to - * @param type geometric type of the element */ MeshElement::MeshElement(const int index, const MEDMEM::MESH& mesh) : _index(index), _box(0), _type(mesh.getElementType(MED_EN::MED_CELL, index)) diff --git a/src/INTERP_KERNEL/Test/CppUnitTest.hxx b/src/INTERP_KERNEL/Test/CppUnitTest.hxx index f2ea8d868..c06aa239a 100644 --- a/src/INTERP_KERNEL/Test/CppUnitTest.hxx +++ b/src/INTERP_KERNEL/Test/CppUnitTest.hxx @@ -3,6 +3,9 @@ #include +/** + * \brief Class tested by TestBogusClass : not very useful + */ class BogusClass { friend class TestBogusClass; @@ -16,7 +19,7 @@ private: }; /** - * \brief Class to test CppUnit : not very useful + * \brief Class used to figure out CppUnit : not very useful * */ class TestBogusClass : public CppUnit::TestFixture diff --git a/src/INTERP_KERNEL/Test/MeshTestToolkit.cxx b/src/INTERP_KERNEL/Test/MeshTestToolkit.cxx index 5fcee5f96..5f4aca218 100644 --- a/src/INTERP_KERNEL/Test/MeshTestToolkit.cxx +++ b/src/INTERP_KERNEL/Test/MeshTestToolkit.cxx @@ -58,7 +58,7 @@ namespace INTERP_TEST * Calculates the sum of a column of an intersection matrix * * @param m an intersection matrix - * @param i the index of the column (0 <= i <= #rows - 1) + * @param i the index of the column (0 <= i <= no. rows - 1) * @return the sum of the values of column i * */ @@ -102,7 +102,6 @@ namespace INTERP_TEST for(map::const_iterator iter2 = iter->begin() ; iter2 != iter->end() ; ++iter2) { volumes.push_back(iter2->second); - // vol += std::abs(iter2->second); } } @@ -250,7 +249,7 @@ namespace INTERP_TEST /** * Tests if an intersection matrix is diagonal. * - * @param the intersection matrix + * @param m the intersection matrix * @return true if m is diagonal; false if not * */ diff --git a/src/INTERP_KERNEL/TransformedTriangle.hxx b/src/INTERP_KERNEL/TransformedTriangle.hxx index 6e2b9d599..428540d06 100644 --- a/src/INTERP_KERNEL/TransformedTriangle.hxx +++ b/src/INTERP_KERNEL/TransformedTriangle.hxx @@ -115,7 +115,6 @@ namespace INTERP_UTILS enum IntersectionPolygon{ A = 0, B, NO_INTERSECTION_POLYGONS }; /// Double products - /// /// NB : order corresponds to TetraEdges (Grandy, table III) enum DoubleProduct { C_YZ = 0, C_ZX, C_XY, C_ZH, C_XH, C_YH, C_01, C_10, NO_DP }; diff --git a/src/INTERP_KERNEL/TransformedTriangle_intersect.cxx b/src/INTERP_KERNEL/TransformedTriangle_intersect.cxx index 780fa652d..adf15368a 100644 --- a/src/INTERP_KERNEL/TransformedTriangle_intersect.cxx +++ b/src/INTERP_KERNEL/TransformedTriangle_intersect.cxx @@ -12,7 +12,8 @@ namespace INTERP_UTILS // Correspondance tables describing all the variations of formulas. // ---------------------------------------------------------------------------------- - /// Correspondance between facets and double products. + /// \brief Correspondance between facets and double products. + /// /// This table encodes Grandy, table IV. Use 3*facet + {0,1,2} as index const TransformedTriangle::DoubleProduct TransformedTriangle::DP_FOR_SEG_FACET_INTERSECTION[12] = { @@ -22,7 +23,8 @@ namespace INTERP_UTILS C_XH, C_YH, C_ZH // XYZ }; - /// Signs associated with entries in DP_FOR_SEGMENT_FACET_INTERSECTION + /// \brief Signs associated with entries in DP_FOR_SEGMENT_FACET_INTERSECTION. + /// /// This table encodes Grandy, table IV. Use 3*facet + {0,1,2} as index const double TransformedTriangle::SIGN_FOR_SEG_FACET_INTERSECTION[12] = { @@ -32,7 +34,8 @@ namespace INTERP_UTILS 1.0, 1.0, 1.0 }; - /// Coordinates of corners of tetrahedron. + /// \brief Coordinates of corners of tetrahedron. + /// /// Use 3*Corner + coordinate as index const double TransformedTriangle::COORDS_TET_CORNER[12] = { @@ -42,9 +45,10 @@ namespace INTERP_UTILS 0.0, 0.0, 1.0 }; - /// Indices to use in tables DP_FOR_SEG_FACET_INTERSECTION and SIGN_FOR_SEG_FACET_INTERSECTION + /// \brief Indices to use in tables DP_FOR_SEG_FACET_INTERSECTION and SIGN_FOR_SEG_FACET_INTERSECTION /// for the calculation of the coordinates (x,y,z) of the intersection points /// for Segment-Facet and Segment-Edge intersections. + /// /// Use 3*facet + coordinate as index. -1 indicates that the coordinate is 0. const int TransformedTriangle::DP_INDEX[12] = { @@ -55,7 +59,8 @@ namespace INTERP_UTILS 9, 10, 11 // XYZ }; - /// Correspondance edge - corners + /// \brief Correspondance edge - corners. + /// /// Gives the two corners associated with each edge /// Use 2*edge + {0, 1} as index const TransformedTriangle::TetraCorner TransformedTriangle::CORNERS_FOR_EDGE[12] = @@ -68,7 +73,8 @@ namespace INTERP_UTILS Z, X // ZX }; - /// Correspondance edge - facets. + /// \brief Correspondance edge - facets. + /// /// Gives the two facets shared by and edge. Use 2*facet + {0, 1} as index const TransformedTriangle::TetraFacet TransformedTriangle::FACET_FOR_EDGE[12] = { @@ -80,7 +86,8 @@ namespace INTERP_UTILS OZX, XYZ // ZX }; - /// Correspondance corners - edges + /// \brief Correspondance corners - edges. + /// /// Gives edges meeting at a given corner. Use 3*corner + {0,1,2} as index const TransformedTriangle::TetraEdge TransformedTriangle::EDGES_FOR_CORNER[12] = { @@ -90,7 +97,8 @@ namespace INTERP_UTILS OZ, ZX, YZ // Z }; - /// Double products to use in halfstrip intersection tests + /// \brief Double products to use in halfstrip intersection tests. + /// /// Use 4*(offset_edge) + {0,1,2,3} as index. offset_edge = edge - 3 (so that XY -> 0, YZ -> 1, ZX -> 2) /// Entries with offset 0 and 1 are for the first condition (positive product) /// and those with offset 2 and 3 are for the second condition (negative product). @@ -101,7 +109,8 @@ namespace INTERP_UTILS C_XY, C_10, C_YH, C_XY // ZX }; - /// Double products to use in segment-ray test + /// \brief Double products to use in segment-ray test. + /// /// Use 7*corner_offset + {0,1,2,3,4,5,6} as index. corner_offset = corner - 1 (so that X -> 0, Y-> 1, Z->2) /// Entries with offset 0 are for first condition (zero double product) and the rest are for condition 3 (in the same /// order as in the article)