X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FMEDCoupling%2FMEDCouplingUMesh_intersection.cxx;h=e7cbaf8f3630fd274e28a1b5bda1f501c88987d6;hb=b8616069f6667dcec3f90574a05bfc9e66d87fa5;hp=d1a9a974c0199350143827d9cbcfedf0a7e1424e;hpb=dcc261ea8b9015285a05b5f7bc2960d883815c9a;p=tools%2Fmedcoupling.git diff --git a/src/MEDCoupling/MEDCouplingUMesh_intersection.cxx b/src/MEDCoupling/MEDCouplingUMesh_intersection.cxx index d1a9a974c..e7cbaf8f3 100644 --- a/src/MEDCoupling/MEDCouplingUMesh_intersection.cxx +++ b/src/MEDCoupling/MEDCouplingUMesh_intersection.cxx @@ -1,4 +1,4 @@ -// Copyright (C) 2007-2020 CEA/DEN, EDF R&D +// Copyright (C) 2007-2021 CEA/DEN, EDF R&D // // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public @@ -2336,6 +2336,9 @@ void MEDCouplingUMesh::ReplaceEdgeInFace(const mcIdType * sIdxConn, const mcIdTy * This method expects that all nodes in \a this are not closer than \a eps. * If it is not the case you can invoke MEDCouplingUMesh::mergeNodes before calling this method. * + * \b WARNING this method only works for 'partition-like' non-conformities. When joining adjacent faces, the set of all small faces must fit exactly into the + * neighboring bigger face. No real face intersection is actually computed. + * * \param [in] eps the relative error to detect merged edges. * \return DataArrayIdType * - The list of cellIds in \a this that have been subdivided. If empty, nothing changed in \a this (as if it were a const method). The array is a newly allocated array * that the user is expected to deal with. @@ -2343,6 +2346,7 @@ void MEDCouplingUMesh::ReplaceEdgeInFace(const mcIdType * sIdxConn, const mcIdTy * \throw If \a this is not coherent. * \throw If \a this has not spaceDim equal to 3. * \throw If \a this has not meshDim equal to 3. + * \throw If the 'partition-like' condition described above is not respected. * \sa MEDCouplingUMesh::mergeNodes, MEDCouplingUMesh::conformize2D, MEDCouplingUMesh::convertAllToPoly() */ DataArrayIdType *MEDCouplingUMesh::conformize3D(double eps)