mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-03-26 01:37:54 +05:00
22368: EDF SMESH: Pattern mapping to assign new nodes to sub-shapes
+ mesh.GetSubMesh( shape )->SetIsAlwaysComputed( true );
This commit is contained in:
parent
dc681ba632
commit
0d4d960d4f
@ -25,6 +25,9 @@
|
|||||||
//
|
//
|
||||||
#include "StdMeshers_UseExisting_1D2D.hxx"
|
#include "StdMeshers_UseExisting_1D2D.hxx"
|
||||||
|
|
||||||
|
#include "SMESH_Mesh.hxx"
|
||||||
|
#include "SMESH_subMesh.hxx"
|
||||||
|
|
||||||
//=======================================================================
|
//=======================================================================
|
||||||
//function : StdMeshers_UseExisting_1D
|
//function : StdMeshers_UseExisting_1D
|
||||||
//purpose :
|
//purpose :
|
||||||
@ -56,10 +59,11 @@ bool StdMeshers_UseExisting_1D::CheckHypothesis(SMESH_Mesh& ,
|
|||||||
//purpose :
|
//purpose :
|
||||||
//=======================================================================
|
//=======================================================================
|
||||||
|
|
||||||
bool StdMeshers_UseExisting_1D::Compute(SMESH_Mesh&, const TopoDS_Shape&)
|
bool StdMeshers_UseExisting_1D::Compute(SMESH_Mesh& mesh, const TopoDS_Shape& edge)
|
||||||
{
|
{
|
||||||
// This algorithm exists to allow mesh generation by mesh
|
// This algorithm exists to allow mesh generation by mesh
|
||||||
// edition functions in TUI mode
|
// edition functions in TUI mode
|
||||||
|
mesh.GetSubMesh( edge )->SetIsAlwaysComputed( true );
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -110,10 +114,11 @@ bool StdMeshers_UseExisting_2D::CheckHypothesis(SMESH_Mesh& ,
|
|||||||
//purpose :
|
//purpose :
|
||||||
//=======================================================================
|
//=======================================================================
|
||||||
|
|
||||||
bool StdMeshers_UseExisting_2D::Compute(SMESH_Mesh&, const TopoDS_Shape&)
|
bool StdMeshers_UseExisting_2D::Compute(SMESH_Mesh& mesh, const TopoDS_Shape& face)
|
||||||
{
|
{
|
||||||
// This algorithm exists to allow mesh generation by mesh edition
|
// This algorithm exists to allow mesh generation by mesh edition
|
||||||
// functions in TUI mode
|
// functions in TUI mode
|
||||||
|
mesh.GetSubMesh( face )->SetIsAlwaysComputed( true );
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user