Salome HOME
projects
/
modules
/
smesh.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
836cce9
)
bos #20650 EDF 22824 - UseExisting1DElements
author
eap
<eap@opencascade.com>
Sat, 6 Feb 2021 18:29:17 +0000
(21:29 +0300)
committer
eap
<eap@opencascade.com>
Sat, 6 Feb 2021 18:29:17 +0000
(21:29 +0300)
src/StdMeshers/StdMeshers_Import_1D.cxx
patch
|
blob
|
history
diff --git
a/src/StdMeshers/StdMeshers_Import_1D.cxx
b/src/StdMeshers/StdMeshers_Import_1D.cxx
index 1aec701b4570ecd58a029b0fd36f99f1c46e884d..726bd23e57ba949f069cf044e2948b3dae831ae6 100644
(file)
--- a/
src/StdMeshers/StdMeshers_Import_1D.cxx
+++ b/
src/StdMeshers/StdMeshers_Import_1D.cxx
@@
-945,8
+945,8
@@
bool StdMeshers_Import_1D::Compute(SMESH_Mesh & theMesh, const TopoDS_Shape & th
SMESHDS_Mesh* tgtMesh = theMesh.GetMeshDS();
const TopoDS_Edge& geomEdge = TopoDS::Edge( theShape );
SMESHDS_Mesh* tgtMesh = theMesh.GetMeshDS();
const TopoDS_Edge& geomEdge = TopoDS::Edge( theShape );
- const double
edgeTol = BRep_Tool::
Tolerance( geomEdge );
- const int shapeID = tgtMesh->ShapeToIndex( geomEdge );
+ const double
edgeTol = helper.Max
Tolerance( geomEdge );
+ const int
shapeID = tgtMesh->ShapeToIndex( geomEdge );
double geomTol = Precision::Confusion();
double geomTol = Precision::Confusion();
@@
-1084,7
+1084,7
@@
bool StdMeshers_Import_1D::Compute(SMESH_Mesh & theMesh, const TopoDS_Shape & th
} // loop on groups
if ( n2n->empty())
} // loop on groups
if ( n2n->empty())
- return error("
Empty source groups
");
+ return error("
Source groups are empty or mismatching geometry
");
// check if the whole geom edge is covered by imported segments;
// the check consist in passing by segments from one vetrex node to another
// check if the whole geom edge is covered by imported segments;
// the check consist in passing by segments from one vetrex node to another