mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-01-14 10:40:34 +05:00
0022195: EDF SMESH: Mesh using existing elements.
In Compute() call assure the source mesh is loaded: _sourceHyp->GetGroups(/*loaded=*/true); In getMaps(), do not clear n2n map to assure sharing nodes on EDGEs for adjacent FACEs
This commit is contained in:
parent
3010de27c3
commit
9b739aaa01
@ -621,7 +621,7 @@ bool StdMeshers_Import_1D::Compute(SMESH_Mesh & theMesh, const TopoDS_Shape & th
|
|||||||
{
|
{
|
||||||
if ( !_sourceHyp ) return false;
|
if ( !_sourceHyp ) return false;
|
||||||
|
|
||||||
const vector<SMESH_Group*>& srcGroups = _sourceHyp->GetGroups();
|
const vector<SMESH_Group*>& srcGroups = _sourceHyp->GetGroups(/*loaded=*/true);
|
||||||
if ( srcGroups.empty() )
|
if ( srcGroups.empty() )
|
||||||
return error("Invalid source groups");
|
return error("Invalid source groups");
|
||||||
|
|
||||||
@ -1044,7 +1044,7 @@ void StdMeshers_Import_1D::getMaps(const SMESH_Mesh* srcMesh,
|
|||||||
e2e = &iData->_e2e;
|
e2e = &iData->_e2e;
|
||||||
if ( iData->_copyMeshSubM.empty() )
|
if ( iData->_copyMeshSubM.empty() )
|
||||||
{
|
{
|
||||||
n2n->clear();
|
// n2n->clear(); -- for sharing nodes on EDGEs
|
||||||
e2e->clear();
|
e2e->clear();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user