Version: 9.12.0
TNodeDistributor Class Reference

Class computing layers distribution using data of StdMeshers_LayerDistribution hypothesis. More...

Inheritance diagram for TNodeDistributor:

Public Types

enum  EMeshError { MEr_OK = 0 , MEr_HOLES , MEr_BAD_ORI , MEr_EMPTY }
 
enum  Hypothesis_Status {
  HYP_OK = 0 , HYP_MISSING , HYP_CONCURRENT , HYP_BAD_PARAMETER ,
  HYP_HIDDEN_ALGO , HYP_HIDING_ALGO , HYP_UNKNOWN_FATAL , HYP_INCOMPATIBLE ,
  HYP_NOTCONFORM , HYP_ALREADY_EXIST , HYP_BAD_DIM , HYP_BAD_SUBSHAPE ,
  HYP_BAD_GEOMETRY , HYP_NEED_SHAPE , HYP_INCOMPAT_HYPS
}
 
enum  InitWay { BY_MESH , BY_GEOM , BY_AVERAGE_LENGTH }
 
enum  hypothesis_type {
  PARAM_ALGO , ALGO_0D , ALGO_1D , ALGO_2D ,
  ALGO_3D
}
 

Public Member Functions

bool Compute (vector< double > &positions, gp_Pnt pIn, gp_Pnt pOut, SMESH_Mesh &aMesh, const StdMeshers_LayerDistribution *hyp)
 
virtual bool CheckHypothesis (SMESH_Mesh &aMesh, const TopoDS_Shape &aShape, SMESH_Hypothesis::Hypothesis_Status &aStatus)
 Check hypothesis definition to mesh a shape. More...
 
virtual bool Compute (SMESH_Mesh &aMesh, const TopoDS_Shape &aShape)
 Computes mesh on a shape. More...
 
virtual bool Compute (SMESH_Mesh &aMesh, SMESH_MesherHelper *aHelper)
 Computes mesh without geometry. More...
 
virtual bool Evaluate (SMESH_Mesh &aMesh, const TopoDS_Shape &aShape, MapShapeNbElems &aResMap)
 evaluates size of prospective mesh on a shape More...
 
virtual void CancelCompute ()
 Pass CancelCompute() to a child algorithm. More...
 
virtual const std::list< const SMESHDS_Hypothesis * > & GetUsedHypothesis (SMESH_Mesh &aMesh, const TopoDS_Shape &aShape, const bool ignoreAuxiliary=true) const
 Return a list of compatible hypotheses used to mesh a shape. More...
 
virtual void SetEventListener (SMESH_subMesh *subMesh)
 Sets event listener to submeshes if necessary. More...
 
void SubmeshRestored (SMESH_subMesh *subMesh)
 Allow algo to do something after persistent restoration. More...
 
virtual bool IsApplicableToShape (const TopoDS_Shape &shape, bool toCheckAll) const
 Return true if the algorithm can mesh a given shape. More...
 
const FeaturesGetFeatures () const
 
virtual std::ostream & SaveTo (std::ostream &save)
 Saves nothing in a stream. More...
 
virtual std::istream & LoadFrom (std::istream &load)
 Loads nothing from a stream. More...
 
const std::vector< std::string > & GetCompatibleHypothesis ()
 Return all types of compatible hypotheses. More...
 
virtual double GetProgress () const
 If possible, returns progress of computation [0.,1. More...
 
virtual const std::list< TopoDS_Shape > & GetAssignedShapes () const
 Return sub-shape to which hypotheses returned by GetUsedHypothesis() are assigned. More...
 
const SMESH_HypoFilterGetCompatibleHypoFilter (const bool ignoreAuxiliary) const
 Return the filter recognizing only compatible hypotheses. More...
 
virtual bool SetParametersByMesh (const SMESH_Mesh *theMesh, const TopoDS_Shape &theShape)
 Just return false as the algorithm does not hold parameters values. More...
 
virtual bool SetParametersByDefaults (const TDefaults &dflts, const SMESH_Mesh *theMesh=0)
 Initialize my parameter values by default parameters. More...
 
SMESH_ComputeErrorPtr GetComputeError () const
 return compute error More...
 
void InitComputeError ()
 initialize compute error etc. More...
 
double GetProgressByTic () const
 Return compute progress by nb of calls of this method. More...
 
std::vector< SMESH_subMesh * > & SubMeshesToCompute ()
 Return a vector of sub-meshes to Compute() More...
 
bool OnlyUnaryInput () const
 
bool NeedDiscreteBoundary () const
 
bool NeedShape () const
 
bool SupportSubmeshes () const
 
bool NeedLowerHyps (int dim) const
 
virtual void setSubMeshesToCompute (SMESH_subMesh *aSubMesh)
 
smIdType NumberOfPoints (SMESH_Mesh &aMesh, const TopoDS_Wire &W)
 
virtual int GetDim () const
 
SMESH_GenGetGen () const
 
virtual int GetShapeType () const
 
virtual const char * GetLibName () const
 
virtual void NotifySubMeshesHypothesisModification ()
 
void SetLibName (const char *theLibName)
 
virtual bool DataDependOnParams () const
 The returned value is used by NotifySubMeshesHypothesisModification() to decide to call subMesh->AlgoStateEngine( MODIF_HYP, hyp ) or not if subMesh is ready to be computed (algo+hyp==OK) but not yet computed. More...
 
virtual bool IsAuxiliary () const
 Return true if me is an auxiliary hypothesis. More...
 
SMESH_MeshGetMeshByPersistentID (int id) const
 Find a mesh with given persistent ID. More...
 
const char * GetName () const
 
int GetID () const
 
int GetType () const
 
bool IsSameName (const SMESHDS_Hypothesis &other) const
 Compare types of hypotheses. More...
 
virtual bool operator== (const SMESHDS_Hypothesis &other) const
 Equality. More...
 
bool operator!= (const SMESHDS_Hypothesis &other) const
 

Static Public Member Functions

static TNodeDistributorGetDistributor (SMESH_Mesh &aMesh)
 
static const FeaturesGetFeatures (const std::string &algoType)
 Return a structure describing algorithm features. More...
 
static bool GetNodeParamOnEdge (const SMESHDS_Mesh *theMesh, const TopoDS_Edge &theEdge, std::vector< double > &theParams)
 Fill vector of node parameters on geometrical edge, including vertex nodes. More...
 
static bool GetSortedNodesOnEdge (const SMESHDS_Mesh *theMesh, const TopoDS_Edge &theEdge, const bool ignoreMediumNodes, std::map< double, const SMDS_MeshNode * > &theNodes, const SMDSAbs_ElementType typeToCheck=SMDSAbs_All)
 Fill map of node parameter on geometrical edge to node it-self. More...
 
static double EdgeLength (const TopoDS_Edge &E)
 Compute length of an edge. More...
 
static GeomAbs_Shape Continuity (const TopoDS_Edge &E1, const TopoDS_Edge &E2)
 Return continuity of two edges. More...
 
static bool IsContinuous (const TopoDS_Edge &E1, const TopoDS_Edge &E2)
 Return true if an edge can be considered as a continuation of another. More...
 
static bool IsStraight (const TopoDS_Edge &E, const bool degenResult=false)
 Return true if an edge can be considered straight. More...
 
static bool isDegenerated (const TopoDS_Edge &E, const bool checkLength=false)
 Return true if an edge has no 3D curve. More...
 
static const SMDS_MeshNodeVertexNode (const TopoDS_Vertex &V, const SMESHDS_Mesh *meshDS)
 Return the node built on a vertex. More...
 
static const SMDS_MeshNodeVertexNode (const TopoDS_Vertex &V, const SMESH_Mesh *mesh)
 Return the node built on a vertex. More...
 
static const SMDS_MeshNodeVertexNode (const TopoDS_Vertex &V, const SMESHDS_SubMesh *edgeSM, const SMESH_Mesh *mesh, const bool checkV=true)
 Return the node built on a vertex. More...
 
static EMeshError GetMeshError (SMESH_subMesh *subMesh)
 Finds topological errors of a sub-mesh. More...
 
static bool IsStatusFatal (Hypothesis_Status theStatus)
 
static void SaveStringToStream (std::ostream &save, const std::string &txt)
 Save a string to a stream. More...
 
static bool LoadStringFromStream (std::istream &load, std::string &txt)
 Load a string from a stream. More...
 

Protected Types

enum  HypothesisType {
  LOCAL_LENGTH , MAX_LENGTH , NB_SEGMENTS , BEG_END_LENGTH ,
  DEFLECTION , ARITHMETIC_1D , FIXED_POINTS_1D , ADAPTIVE ,
  GEOMETRIC_1D , DISTRIB_PROPAGATION , NONE
}
 
enum  ValueIndex {
  SCALE_FACTOR_IND = 0 , BEG_LENGTH_IND = 0 , END_LENGTH_IND = 1 , DEFLECTION_IND = 0 ,
  PRECISION_IND = 1
}
 
enum  IValueIndex { NB_SEGMENTS_IND = 0 , DISTR_TYPE_IND = 1 , CONV_MODE_IND = 2 }
 
enum  VValueIndex { TAB_FUNC_IND = 0 }
 
enum  SValueIndex { EXPR_FUNC_IND = 0 }
 

Protected Member Functions

 TNodeDistributor (int hypId, SMESH_Gen *gen)
 
virtual const list< const SMESHDS_Hypothesis * > & GetUsedHypothesis (SMESH_Mesh &, const TopoDS_Shape &, const bool)
 See comments in SMESH_Algo.cxx. More...
 
virtual bool computeInternalParameters (SMESH_Mesh &theMesh, Adaptor3d_Curve &theC3d, double theLength, double theFirstU, double theLastU, std::list< double > &theParameters, const bool theReverse, bool theConsiderPropagation=false)
 
virtual void redistributeNearVertices (SMESH_Mesh &theMesh, Adaptor3d_Curve &theC3d, double theLength, std::list< double > &theParameters, const TopoDS_Vertex &theVf, const TopoDS_Vertex &thieve)
 Tune parameters to fit "SegmentLengthAroundVertex" hypothesis. More...
 
bool divideIntoEqualSegments (SMESH_Mesh &theMesh, Adaptor3d_Curve &theC3d, smIdType theNbPoints, double theTol, double theLength, double theFirstU, double theLastU, std::list< double > &theParameters)
 Divide a curve into equal segments. More...
 
bool error (int error, const SMESH_Comment &comment="")
 store error and comment and then return ( error == COMPERR_OK ) More...
 
bool error (const SMESH_Comment &comment="")
 store COMPERR_ALGO_FAILED error and comment and then return false More...
 
bool error (SMESH_ComputeErrorPtr error)
 store error and return error->IsOK() More...
 
void addBadInputElement (const SMDS_MeshElement *elem)
 store a bad input element preventing computation, which may be a temporary one i.e. More...
 
void addBadInputElements (const SMESHDS_SubMesh *sm, const bool addNodes=false)
 

Static Protected Member Functions

static const StdMeshers_SegmentLengthAroundVertexgetVertexHyp (SMESH_Mesh &theMesh, const TopoDS_Vertex &theV)
 Return StdMeshers_SegmentLengthAroundVertex assigned to vertex. More...
 

Protected Attributes

HypothesisType _hypType
 
const StdMeshers_FixedPoints1D_fpHyp
 
const StdMeshers_Adaptive1D_adaptiveHyp
 
double _value [2]
 
smIdType _ivalue [3]
 
std::vector< double > _vvalue [1]
 
std::string _svalue [1]
 
std::vector< int > _revEdgesIDs
 
TopoDS_Shape _mainEdge
 
const SMESH_HypoFilter_compatibleAllHypFilter
 
const SMESH_HypoFilter_compatibleNoAuxHypFilter
 
std::vector< std::string > _compatibleHypothesis
 
std::list< const SMESHDS_Hypothesis * > _usedHypList
 
std::list< TopoDS_Shape > _assigedShapeList
 
bool _onlyUnaryInput
 
bool _requireDiscreteBoundary
 
bool _requireShape
 
bool _supportSubmeshes
 
bool _neededLowerHyps [4]
 
bool _quadraticMesh
 
int _error
 SMESH_ComputeErrorName or anything algo specific. More...
 
std::string _comment
 any text explaining what is wrong in Compute() More...
 
std::list< const SMDS_MeshElement * > _badInputElements
 to explain COMPERR_BAD_INPUT_MESH More...
 
const SMDS_Mesh_mesh
 mesh being computed, needed to create SMESH_BadInputElements More...
 
volatile bool _computeCanceled
 is set to True while computing to stop it More...
 
double _progress
 
int _progressTic
 
std::vector< SMESH_subMesh * > _smToCompute
 
SMESH_Gen_gen
 
int _shapeType
 
int _param_algo_dim
 
std::string _name
 
int _hypId
 
hypothesis_type _type
 

Private Attributes

list< const SMESHDS_Hypothesis * > myUsedHyps
 
std::string _libName
 

Detailed Description

Class computing layers distribution using data of StdMeshers_LayerDistribution hypothesis.

Member Enumeration Documentation

◆ EMeshError

enum SMESH_Algo::EMeshError
inherited
Enumerator
MEr_OK 
MEr_HOLES 
MEr_BAD_ORI 
MEr_EMPTY 

◆ Hypothesis_Status

Enumerator
HYP_OK 
HYP_MISSING 
HYP_CONCURRENT 
HYP_BAD_PARAMETER 
HYP_HIDDEN_ALGO 
HYP_HIDING_ALGO 
HYP_UNKNOWN_FATAL 
HYP_INCOMPATIBLE 
HYP_NOTCONFORM 
HYP_ALREADY_EXIST 
HYP_BAD_DIM 
HYP_BAD_SUBSHAPE 
HYP_BAD_GEOMETRY 
HYP_NEED_SHAPE 
HYP_INCOMPAT_HYPS 

◆ hypothesis_type

Enumerator
PARAM_ALGO 
ALGO_0D 
ALGO_1D 
ALGO_2D 
ALGO_3D 

◆ HypothesisType

enum StdMeshers_Regular_1D::HypothesisType
protectedinherited
Enumerator
LOCAL_LENGTH 
MAX_LENGTH 
NB_SEGMENTS 
BEG_END_LENGTH 
DEFLECTION 
ARITHMETIC_1D 
FIXED_POINTS_1D 
ADAPTIVE 
GEOMETRIC_1D 
DISTRIB_PROPAGATION 
NONE 

◆ InitWay

enum SMESH_Hypothesis::InitWay
inherited
Enumerator
BY_MESH 
BY_GEOM 
BY_AVERAGE_LENGTH 

◆ IValueIndex

enum StdMeshers_Regular_1D::IValueIndex
protectedinherited
Enumerator
NB_SEGMENTS_IND 
DISTR_TYPE_IND 
CONV_MODE_IND 

◆ SValueIndex

enum StdMeshers_Regular_1D::SValueIndex
protectedinherited
Enumerator
EXPR_FUNC_IND 

◆ ValueIndex

enum StdMeshers_Regular_1D::ValueIndex
protectedinherited
Enumerator
SCALE_FACTOR_IND 
BEG_LENGTH_IND 
END_LENGTH_IND 
DEFLECTION_IND 
PRECISION_IND 

◆ VValueIndex

enum StdMeshers_Regular_1D::VValueIndex
protectedinherited
Enumerator
TAB_FUNC_IND 

Constructor & Destructor Documentation

◆ TNodeDistributor()

TNodeDistributor::TNodeDistributor ( int  hypId,
SMESH_Gen gen 
)
protected

Referenced by GetDistributor().

Member Function Documentation

◆ addBadInputElement()

void SMESH_Algo::addBadInputElement ( const SMDS_MeshElement elem)
protectedinherited

store a bad input element preventing computation, which may be a temporary one i.e.

not residing the mesh, then it will be deleted by InitComputeError()

References SMESH_Algo::_badInputElements.

Referenced by SMESH_Algo::addBadInputElements(), and StdMeshers_Projection_2D::Compute().

◆ addBadInputElements()

void SMESH_Algo::addBadInputElements ( const SMESHDS_SubMesh sm,
const bool  addNodes = false 
)
protectedinherited

◆ CancelCompute()

void StdMeshers_Regular_1D::CancelCompute ( )
virtualinherited

Pass CancelCompute() to a child algorithm.

Reimplemented from SMESH_Algo.

References SMESH_Algo::CancelCompute().

◆ CheckHypothesis()

bool StdMeshers_Regular_1D::CheckHypothesis ( SMESH_Mesh aMesh,
const TopoDS_Shape &  aShape,
SMESH_Hypothesis::Hypothesis_Status aStatus 
)
virtualinherited

Check hypothesis definition to mesh a shape.

Parameters
aMesh- the mesh
aShape- the shape
aStatus- check result
Return values
bool- true if hypothesis is well defined

Textual description of a problem can be stored in _comment field.

Implements SMESH_Algo.

Reimplemented in StdMeshers_QuadFromMedialAxis_1D2D::Algo1D.

References StdMeshers::StdMeshers_NumberOfSegments::ConversionMode(), StdMeshers_NumberOfSegments::DT_ExprFunc, StdMeshers_NumberOfSegments::DT_Regular, StdMeshers_NumberOfSegments::DT_Scale, StdMeshers_NumberOfSegments::DT_TabFunc, SMESH_Gen::GetBoundaryBoxSegmentation(), StdMeshers::StdMeshers_Geometric1D::GetCommonRatio(), StdMeshers::StdMeshers_Deflection1D::GetDeflection(), StdMeshers::StdMeshers_NumberOfSegments::GetDistrType(), StdMeshers::StdMeshers_NumberOfSegments::GetExpressionFunction(), StdMeshers_Propagation::GetFilter(), SMESH_Mesh::GetGen(), SMESH_Mesh::GetHypotheses(), StdMeshers::StdMeshers_LocalLength::GetLength(), StdMeshers::StdMeshers_MaxLength::GetLength(), StdMeshers::StdMeshers_Arithmetic1D::GetLength(), StdMeshers::StdMeshers_StartEndLength::GetLength(), SMESH::SMESH_Hypothesis::GetName(), SMESHDS_Hypothesis::GetName(), StdMeshers::StdMeshers_NumberOfSegments::GetNumberOfSegments(), StdMeshers::StdMeshers_LocalLength::GetPrecision(), StdMeshers::Reversible1D::GetReversedEdges(), StdMeshers::StdMeshers_NumberOfSegments::GetScaleFactor(), SMESH_Mesh::GetShapeDiagonalSize(), StdMeshers::StdMeshers_Geometric1D::GetStartLength(), StdMeshers::StdMeshers_NumberOfSegments::GetTableFunction(), StdMeshers::StdMeshers_MaxLength::GetUsePreestimatedLength(), SMESH::HYP_INCOMPAT_HYPS, SMESH_Hypothesis::HYP_INCOMPATIBLE, SMESH_Hypothesis::HYP_MISSING, SMESH::HYP_OK, SMESH_Hypothesis::HYP_OK, SMESH_Hypothesis::IsAuxiliary(), SMESH_HypoFilter::IsOk(), and SMESHDS_Hypothesis::IsSameName().

Referenced by StdMeshers_QuadFromMedialAxis_1D2D::Algo1D::CheckHypothesis(), and Compute().

◆ Compute() [1/3]

bool StdMeshers_Regular_1D::Compute ( SMESH_Mesh aMesh,
const TopoDS_Shape &  aShape 
)
virtualinherited

◆ Compute() [2/3]

bool SMESH_Algo::Compute ( SMESH_Mesh aMesh,
SMESH_MesherHelper aHelper 
)
virtualinherited

Computes mesh without geometry.

Parameters
aMesh- the mesh
aHelper- helper that must be used for adding elements to \aaMesh
Return values
bool- is a success

The method is called if ( !aMesh->HasShapeToMesh() )

Parameters
aMesh- the mesh
aHelper- helper that must be used for adding elements to \aaMesh
Return values
bool- is a success

Reimplemented in StdMeshers_HexaFromSkin_3D, and StdMeshers_Hexa_3D.

References COMPERR_BAD_INPUT_MESH, and SMESH_Algo::error().

◆ Compute() [3/3]

bool TNodeDistributor::Compute ( vector< double > &  positions,
gp_Pnt  pIn,
gp_Pnt  pOut,
SMESH_Mesh aMesh,
const StdMeshers_LayerDistribution hyp 
)

◆ computeInternalParameters()

◆ Continuity()

GeomAbs_Shape SMESH_Algo::Continuity ( const TopoDS_Edge &  theE1,
const TopoDS_Edge &  theE2 
)
staticinherited

Return continuity of two edges.

Parameters
E1- the 1st edge
E2- the 2nd edge
Return values
GeomAbs_Shape- regularity at the junction between E1 and E2

References OCC_CATCH_SIGNALS.

◆ DataDependOnParams()

virtual bool SMESH_Hypothesis::DataDependOnParams ( ) const
virtualinherited

The returned value is used by NotifySubMeshesHypothesisModification() to decide to call subMesh->AlgoStateEngine( MODIF_HYP, hyp ) or not if subMesh is ready to be computed (algo+hyp==OK) but not yet computed.

True result is reasonable for example if EventListeners depend on parameters of hypothesis.

Reimplemented in StdMeshers_ImportSource1D.

Referenced by SMESH_Mesh::NotifySubMeshesHypothesisModification().

◆ divideIntoEqualSegments()

bool StdMeshers_Regular_1D::divideIntoEqualSegments ( SMESH_Mesh theMesh,
Adaptor3d_Curve theC3d,
smIdType  theNbPoints,
double  theTol,
double  theLength,
double  theFirstU,
double  theLastU,
std::list< double > &  theParameters 
)
protectedinherited

◆ EdgeLength()

◆ error() [1/3]

bool SMESH_Algo::error ( const SMESH_Comment comment = "")
protectedinherited

store COMPERR_ALGO_FAILED error and comment and then return false

References COMPERR_ALGO_FAILED.

◆ error() [2/3]

bool SMESH_Algo::error ( int  error,
const SMESH_Comment comment = "" 
)
protectedinherited

store error and comment and then return ( error == COMPERR_OK )

References SMESH_Algo::_comment, SMESH_Algo::_error, and COMPERR_OK.

Referenced by StdMeshers_Quadrangle_2D::addEnforcedNodes(), StdMeshers_Prism_3D::assocOrProjBottom2Top(), StdMeshers_Quadrangle_2D::CheckHypothesis(), StdMeshers_Hexa_3D::CheckHypothesis(), StdMeshers_PolyhedronPerSolid_3D::CheckHypothesis(), StdMeshers_Projection_2D::CheckHypothesis(), StdMeshers_Quadrangle_2D::CheckNbEdges(), StdMeshers_Quadrangle_2D::checkNbEdgesForEvaluate(), StdMeshers_Prism_3D::compute(), StdMeshers_Cartesian_3D::Compute(), StdMeshers_CompositeHexa_3D::Compute(), StdMeshers_CompositeSegment_1D::Compute(), StdMeshers_Hexa_3D::Compute(), StdMeshers_Import_1D::Compute(), StdMeshers_Import_1D2D::Compute(), StdMeshers_PolygonPerFace_2D::Compute(), StdMeshers_Prism_3D::Compute(), StdMeshers_Projection_1D::Compute(), StdMeshers_Projection_1D2D::Compute(), StdMeshers_Projection_2D::Compute(), StdMeshers_Projection_3D::Compute(), StdMeshers_QuadFromMedialAxis_1D2D::Compute(), StdMeshers_Quadrangle_2D::Compute(), StdMeshers_RadialPrism_3D::Compute(), StdMeshers_RadialQuadrangle_1D2D::Compute(), SMESH_Algo::Compute(), StdMeshers_HexaFromSkin_3D::Compute(), Compute(), StdMeshers_Prism_3D::computeBase(), StdMeshers_RadialPrism_3D::computeLayerPositions(), StdMeshers_RadialQuadrangle_1D2D::computeLayerPositions(), StdMeshers_Quadrangle_2D::computeQuadDominant(), StdMeshers_Quadrangle_2D::computeQuadPref(), StdMeshers_Quadrangle_2D::computeReduced(), StdMeshers_Prism_3D::computeWalls(), SMESH_Algo::error(), StdMeshers_HexaFromSkin_3D::Evaluate(), StdMeshers_Import_1D::Evaluate(), StdMeshers_Import_1D2D::Evaluate(), StdMeshers_PolygonPerFace_2D::Evaluate(), StdMeshers_Prism_3D::Evaluate(), StdMeshers_Projection_1D::Evaluate(), StdMeshers_Projection_1D2D::Evaluate(), StdMeshers_Projection_2D::Evaluate(), StdMeshers_Projection_3D::Evaluate(), StdMeshers_CompositeHexa_3D::findBoxFaces(), StdMeshers_Quadrangle_2D::getCorners(), StdMeshers_Quadrangle_2D::getEnforcedUV(), StdMeshers_ViscousLayerBuilder::GetShrinkGeometry(), StdMeshers_Prism_3D::getWallFaces(), StdMeshers_Prism_3D::initPrism(), StdMeshers_Prism_3D::projectBottomToTop(), and StdMeshers_Quadrangle_2D::setNormalizedGrid().

◆ error() [3/3]

bool SMESH_Algo::error ( SMESH_ComputeErrorPtr  error)
protectedinherited

◆ Evaluate()

bool StdMeshers_Regular_1D::Evaluate ( SMESH_Mesh aMesh,
const TopoDS_Shape &  aShape,
MapShapeNbElems aResMap 
)
virtualinherited

evaluates size of prospective mesh on a shape

Parameters
aMesh- the mesh
aShape- the shape
aResMap- prospective number of elements by SMDSAbs_ElementType by a sub-mesh
Return values
bool- is a success

Implements SMESH_Algo.

References COMPERR_ALGO_FAILED, Edge, SMESH_subMesh::GetComputeError(), SMESH_Mesh::GetSubMesh(), Handle(), SMDSEntity_Edge, SMDSEntity_Last, SMDSEntity_Node, and SMDSEntity_Quad_Edge.

Referenced by StdMeshers_PolyhedronPerSolid_3D::Evaluate().

◆ GetAssignedShapes()

const std::list< TopoDS_Shape > & SMESH_Algo::GetAssignedShapes ( ) const
virtualinherited

Return sub-shape to which hypotheses returned by GetUsedHypothesis() are assigned.

References SMESH_Algo::_assigedShapeList.

Referenced by SMESH_subMesh::getCollection().

◆ GetCompatibleHypoFilter()

const SMESH_HypoFilter * SMESH_Algo::GetCompatibleHypoFilter ( const bool  ignoreAuxiliary) const
inherited

Return the filter recognizing only compatible hypotheses.

Returns the filter recognizing only compatible hypotheses.

Parameters
ignoreAuxiliary- make filter ignore compatible auxiliary hypotheses
Return values
SMESH_HypoFilter*- the filter that can be NULL
Parameters
ignoreAuxiliary- make filter ignore auxiliary hypotheses
Return values
SMESH_HypoFilter*- the filter that can be NULL

References SMESH_Algo::_compatibleAllHypFilter, SMESH_Algo::_compatibleHypothesis, SMESH_Algo::_compatibleNoAuxHypFilter, SMESH_HypoFilter::AndNot(), SMESH_HypoFilter::HasName(), SMESH_HypoFilter::Init(), SMESH_HypoFilter::IsAuxiliary(), and SMESH_HypoFilter::Or().

Referenced by SMESH_Algo::GetUsedHypothesis(), SMESH_Mesh::IsUsedHypothesis(), and SMESH_Mesh::NotifySubMeshesHypothesisModification().

◆ GetCompatibleHypothesis()

const vector< string > & SMESH_Algo::GetCompatibleHypothesis ( )
inherited

Return all types of compatible hypotheses.

References SMESH_Algo::_compatibleHypothesis.

◆ GetComputeError()

◆ GetDim()

◆ GetDistributor()

◆ GetFeatures() [1/2]

const Features& SMESH_Algo::GetFeatures ( ) const
inherited

◆ GetFeatures() [2/2]

const SMESH_Algo::Features & SMESH_Algo::GetFeatures ( const std::string &  algoType)
staticinherited

◆ GetGen()

SMESH_Gen* SMESH_Hypothesis::GetGen ( ) const
inherited

Referenced by SMESH_subMesh::GetAlgo().

◆ GetID()

◆ GetLibName()

const char * SMESH_Hypothesis::GetLibName ( ) const
virtualinherited

◆ GetMeshByPersistentID()

SMESH_Mesh * SMESH_Hypothesis::GetMeshByPersistentID ( int  id) const
inherited

◆ GetMeshError()

◆ GetName()

◆ GetNodeParamOnEdge()

bool SMESH_Algo::GetNodeParamOnEdge ( const SMESHDS_Mesh theMesh,
const TopoDS_Edge &  theEdge,
std::vector< double > &  theParams 
)
staticinherited

Fill vector of node parameters on geometrical edge, including vertex nodes.

Parameters
theMesh- The mesh containing nodes
theEdge- The geometrical edge of interest
theParams- The resulting vector of sorted node parameters
Return values
bool- false if not all parameters are OK
Warning
Nodes moved to other geometry by MergeNodes() are NOT returned.
Parameters
theMesh- The mesh containing nodes
theEdge- The geometrical edge of interest
theParams- The resulting vector of sorted node parameters
Return values
bool- false if not all parameters are OK

References SMESHDS_SubMesh::GetElements(), SMESHDS_SubMesh::GetNodes(), SMESHDS_Mesh::MeshElements(), and SMESH_Algo::VertexNode().

Referenced by StdMeshers_Projection_1D::Compute(), StdMeshers_Projection_1D::Evaluate(), StdMeshers_Arithmetic1D::SetParametersByMesh(), StdMeshers_Deflection1D::SetParametersByMesh(), StdMeshers_Geometric1D::SetParametersByMesh(), StdMeshers_LocalLength::SetParametersByMesh(), StdMeshers_MaxLength::SetParametersByMesh(), and StdMeshers_StartEndLength::SetParametersByMesh().

◆ GetProgress()

double SMESH_Algo::GetProgress ( ) const
virtualinherited

If possible, returns progress of computation [0.,1.

]

References SMESH_Algo::_progress.

◆ GetProgressByTic()

double SMESH_Algo::GetProgressByTic ( ) const
inherited

Return compute progress by nb of calls of this method.

References SMESH_Algo::_progressTic, and SMESH_Algo::_smToCompute.

◆ GetShapeType()

int SMESH_Hypothesis::GetShapeType ( ) const
virtualinherited

◆ GetSortedNodesOnEdge()

bool SMESH_Algo::GetSortedNodesOnEdge ( const SMESHDS_Mesh theMesh,
const TopoDS_Edge &  theEdge,
const bool  ignoreMediumNodes,
std::map< double, const SMDS_MeshNode * > &  theNodes,
const SMDSAbs_ElementType  typeToCheck = SMDSAbs_All 
)
staticinherited

Fill map of node parameter on geometrical edge to node it-self.

Fill vector of node parameters on geometrical edge, including vertex nodes.

Parameters
theMesh- The mesh containing nodes
theEdge- The geometrical edge of interest
theNodes- The resulting map
ignoreMediumNodes- to store medium nodes of quadratic elements or not
typeToCheck- type of elements to check for medium nodes
Return values
bool- false if not all parameters are OK
Warning
Nodes moved to other geometry by MergeNodes() are NOT returned.
Parameters
theMesh- The mesh containing nodes
theEdge- The geometrical edge of interest
theParams- The resulting vector of sorted node parameters
Return values
bool- false if not all parameters are OK

References SMESHDS_SubMesh::GetNodes(), SMDS_MeshNode::GetPosition(), SMESH_MesherHelper::IsMedium(), SMESHDS_Mesh::MeshElements(), SMESHDS_SubMesh::NbElements(), SMESHDS_SubMesh::NbNodes(), and SMESH_Algo::VertexNode().

Referenced by VISCOUS_3D::_ViscousBuilder::addBoundaryElements(), StdMeshers_Regular_1D::computeInternalParameters(), SMESH_Pattern::findExistingNodes(), SMESH_MesherHelper::IsStructured(), SMESH_MesherHelper::LoadNodeColumns(), VISCOUS_3D::_ViscousBuilder::shrink(), and _FaceSide::StoreNodes().

◆ GetType()

◆ GetUsedHypothesis() [1/2]

virtual const list<const SMESHDS_Hypothesis *>& TNodeDistributor::GetUsedHypothesis ( SMESH_Mesh aMesh,
const TopoDS_Shape &  aShape,
const bool  ignoreAuxiliary 
)
protectedvirtual

See comments in SMESH_Algo.cxx.

Reimplemented from StdMeshers_Regular_1D.

References myUsedHyps.

◆ GetUsedHypothesis() [2/2]

const list< const SMESHDS_Hypothesis * > & SMESH_Algo::GetUsedHypothesis ( SMESH_Mesh aMesh,
const TopoDS_Shape &  aShape,
const bool  ignoreAuxiliary = true 
) const
virtualinherited

Return a list of compatible hypotheses used to mesh a shape.

List the hypothesis used by the algorithm associated to the shape.

Parameters
aMesh- the mesh
aShape- the shape
ignoreAuxiliary- do not include auxiliary hypotheses in the list
Return values
conststd::list <const SMESHDS_Hypothesis*> - hypotheses list

List the hypothesis used by the algorithm associated to the shape. Hypothesis associated to father shape -are- taken into account (see GetAppliedHypothesis). Relevant hypothesis have a name (type) listed in the algorithm. This method could be surcharged by specific algorithms, in case of several hypothesis simultaneously applicable.

Hypothesis associated to father shape -are- taken into account (see GetAppliedHypothesis). Relevant hypothesis have a name (type) listed in the algorithm. This method could be surcharged by specific algorithms, in case of several hypothesis simultaneously applicable.

References SMESH_Algo::_assigedShapeList, SMESH_Algo::_usedHypList, SMESH_Algo::GetCompatibleHypoFilter(), and SMESH_Mesh::GetHypotheses().

Referenced by StdMeshers_Cartesian_3D::CheckHypothesis(), StdMeshers_QuadFromMedialAxis_1D2D::CheckHypothesis(), StdMeshers_Quadrangle_2D::CheckHypothesis(), StdMeshers_Hexa_3D::CheckHypothesis(), StdMeshers_Import_1D::CheckHypothesis(), StdMeshers_Import_1D2D::CheckHypothesis(), StdMeshers_PolyhedronPerSolid_3D::CheckHypothesis(), StdMeshers_Projection_1D::CheckHypothesis(), StdMeshers_Projection_2D::CheckHypothesis(), StdMeshers_Projection_3D::CheckHypothesis(), StdMeshers_RadialPrism_3D::CheckHypothesis(), StdMeshers_RadialQuadrangle_1D2D::CheckHypothesis(), StdMeshers_SegmentAroundVertex_0D::CheckHypothesis(), VISCOUS_2D::_ViscousBuilder2D::findEdgesWithLayers(), VISCOUS_3D::_ViscousBuilder::findSolidsWithLayers(), SMESH_subMesh::getCollection(), StdMeshers_CompositeSegment_1D::GetFaceSide(), StdMeshers_Regular_1D::GetUsedHypothesis(), StdMeshers_Regular_1D::getVertexHyp(), and StdMeshers_ProjectionUtils::MakeComputed().

◆ getVertexHyp()

const StdMeshers_SegmentLengthAroundVertex * StdMeshers_Regular_1D::getVertexHyp ( SMESH_Mesh theMesh,
const TopoDS_Vertex &  theV 
)
staticprotectedinherited

◆ InitComputeError()

◆ IsApplicableToShape()

bool SMESH_1D_Algo::IsApplicableToShape ( const TopoDS_Shape &  shape,
bool  toCheckAll 
) const
virtualinherited

Return true if the algorithm can mesh a given shape.

Parameters
[in]aShape- shape to check
[in]toCheckAll- if true, this check returns OK if all shapes are OK, else, returns OK if at least one shape is OK
Return values
bool- true by default

Reimplemented from SMESH_Algo.

◆ IsAuxiliary()

virtual bool SMESH_Hypothesis::IsAuxiliary ( ) const
virtualinherited

Return true if me is an auxiliary hypothesis.

Return values
bool- auxiliary or not

An auxiliary hypothesis is optional, i.e. an algorithm can work without it and another hypothesis of the same dimension can be assigned to the shape

References SMESHDS_Hypothesis::GetType().

Referenced by SMESH_subMesh::AlgoStateEngine(), StdMeshers_Regular_1D::CheckHypothesis(), SMESH_Mesh::GetHypotheses(), SMESH_subMesh::getSimilarAttached(), SMESH_HypoFilter::IsAuxiliaryPredicate::IsOk(), SMESH_Mesh::IsUsedHypothesis(), and SMESH_Mesh::NotifySubMeshesHypothesisModification().

◆ IsContinuous()

static bool SMESH_Algo::IsContinuous ( const TopoDS_Edge &  E1,
const TopoDS_Edge &  E2 
)
staticinherited

Return true if an edge can be considered as a continuation of another.

Referenced by StdMeshers_Prism_3D::allVerticalEdgesStraight(), and StdMeshers_Quadrangle_2D::checkNbEdgesForEvaluate().

◆ isDegenerated()

◆ IsSameName()

bool SMESHDS_Hypothesis::IsSameName ( const SMESHDS_Hypothesis other) const
inherited

Compare types of hypotheses.

References SMESHDS_Hypothesis::_name.

Referenced by StdMeshers_Regular_1D::CheckHypothesis(), and SMESH_subMesh::getCollection().

◆ IsStatusFatal()

◆ IsStraight()

bool SMESH_Algo::IsStraight ( const TopoDS_Edge &  E,
const bool  degenResult = false 
)
staticinherited

Return true if an edge can be considered straight.

Referenced by StdMeshers_Prism_3D::allVerticalEdgesStraight(), Handle(), and VISCOUS_3D::_ViscousBuilder::limitMaxLenByCurvature().

◆ LoadFrom()

istream & SMESH_Algo::LoadFrom ( std::istream &  load)
virtualinherited

Loads nothing from a stream.

Parameters
load- the stream
Return values
std::ostream& - the stream

Implements SMESHDS_Hypothesis.

◆ LoadStringFromStream()

bool SMESHDS_Hypothesis::LoadStringFromStream ( std::istream &  load,
std::string &  txt 
)
staticinherited

Load a string from a stream.

◆ NeedDiscreteBoundary()

◆ NeedLowerHyps()

bool SMESH_Algo::NeedLowerHyps ( int  dim) const
inherited

◆ NeedShape()

bool SMESH_Algo::NeedShape ( ) const
inherited

◆ NotifySubMeshesHypothesisModification()

void SMESH_Hypothesis::NotifySubMeshesHypothesisModification ( )
virtualinherited

References SMESH_Hypothesis::_gen, SMESH_Gen::GetStudyContext(), studyContextStruct::mapMesh, and SMESH_Mesh::NotifySubMeshesHypothesisModification().

Referenced by SMESH_Hypothesis_i::LoadFrom(), StdMeshers_CartesianParameters3D::SetAxisDirs(), StdMeshers_BlockRenumber::SetBlocksOrientation(), StdMeshers_ViscousLayers::SetBndShapes(), StdMeshers_Geometric1D::SetCommonRatio(), StdMeshers_ImportSource1D::SetCopySourceMesh(), StdMeshers_Adaptive1D::SetDeflection(), StdMeshers_Deflection1D::SetDeflection(), StdMeshers_QuadrangleParams::SetEnforcedNodes(), StdMeshers_AutomaticLength::SetFineness(), StdMeshers_CartesianParameters3D::SetFixedPoint(), StdMeshers_CartesianParameters3D::SetGrid(), StdMeshers_CartesianParameters3D::SetGridSpacing(), StdMeshers_ViscousLayers::SetGroupName(), StdMeshers_ImportSource1D::SetGroups(), StdMeshers_LayerDistribution::SetLayerDistribution(), StdMeshers_LocalLength::SetLength(), StdMeshers_MaxLength::SetLength(), StdMeshers_SegmentLengthAroundVertex::SetLength(), StdMeshers_Arithmetic1D::SetLength(), StdMeshers_StartEndLength::SetLength(), StdMeshers_MaxElementArea::SetMaxArea(), StdMeshers_Adaptive1D::SetMaxSize(), StdMeshers_MaxElementVolume::SetMaxVolume(), StdMeshers_ViscousLayers::SetMethod(), StdMeshers_Adaptive1D::SetMinSize(), StdMeshers_LengthFromEdges::SetMode(), StdMeshers_FixedPoints1D::SetNbSegments(), StdMeshers_ViscousLayers::SetNumberLayers(), StdMeshers_NumberOfLayers::SetNumberOfLayers(), StdMeshers_FixedPoints1D::SetPoints(), StdMeshers_LocalLength::SetPrecision(), StdMeshers_QuadrangleParams::SetQuadType(), StdMeshers_Reversible1D::SetReversedEdges(), StdMeshers_CartesianParameters3D::SetSizeThreshold(), StdMeshers_ProjectionSource3D::SetSource3DShape(), StdMeshers_ProjectionSource1D::SetSourceEdge(), StdMeshers_ProjectionSource2D::SetSourceFace(), StdMeshers_ProjectionSource1D::SetSourceMesh(), StdMeshers_ProjectionSource2D::SetSourceMesh(), StdMeshers_ProjectionSource3D::SetSourceMesh(), StdMeshers_Geometric1D::SetStartLength(), StdMeshers_ViscousLayers::SetStretchFactor(), StdMeshers_CartesianParameters3D::SetToAddEdges(), StdMeshers_CartesianParameters3D::SetToConsiderInternalFaces(), StdMeshers_CartesianParameters3D::SetToCreateFaces(), StdMeshers_ViscousLayers::SetTotalThickness(), StdMeshers_CartesianParameters3D::SetToUseThresholdForInternalFaces(), StdMeshers_QuadrangleParams::SetTriaVertex(), StdMeshers_ProjectionSource1D::SetVertexAssociation(), StdMeshers_ProjectionSource2D::SetVertexAssociation(), and StdMeshers_ProjectionSource3D::SetVertexAssociation().

◆ NumberOfPoints()

smIdType SMESH_Algo::NumberOfPoints ( SMESH_Mesh aMesh,
const TopoDS_Wire &  W 
)
inherited

◆ OnlyUnaryInput()

bool SMESH_Algo::OnlyUnaryInput ( ) const
inherited

◆ operator!=()

bool SMESHDS_Hypothesis::operator!= ( const SMESHDS_Hypothesis other) const
inherited

◆ operator==()

bool SMESHDS_Hypothesis::operator== ( const SMESHDS_Hypothesis other) const
virtualinherited

Equality.

References SMESHDS_Hypothesis::_name.

◆ redistributeNearVertices()

void StdMeshers_Regular_1D::redistributeNearVertices ( SMESH_Mesh theMesh,
Adaptor3d_Curve theC3d,
double  theLength,
std::list< double > &  theParameters,
const TopoDS_Vertex &  theVf,
const TopoDS_Vertex &  theVl 
)
protectedvirtualinherited

Tune parameters to fit "SegmentLengthAroundVertex" hypothesis.

Parameters
theC3d- wire curve
theLength- curve length
theParameters- internal nodes parameters to modify
theVf- 1st vertex
theVl- 2nd vertex

References compensateError(), and StdMeshers::StdMeshers_SegmentLengthAroundVertex::GetLength().

Referenced by StdMeshers_CompositeSegment_1D::Compute().

◆ SaveStringToStream()

void SMESHDS_Hypothesis::SaveStringToStream ( std::ostream &  save,
const std::string &  txt 
)
staticinherited

Save a string to a stream.

◆ SaveTo()

ostream & SMESH_Algo::SaveTo ( std::ostream &  save)
virtualinherited

Saves nothing in a stream.

Usually an algorithm has nothing to save.

Parameters
save- the stream
Return values
std::ostream& - the stream

Implements SMESHDS_Hypothesis.

◆ SetEventListener()

void StdMeshers_Regular_1D::SetEventListener ( SMESH_subMesh subMesh)
virtualinherited

Sets event listener to submeshes if necessary.

Class used to clean mesh on edges when 0D hyp modified.

Parameters
subMesh- submesh where algo is set

This method is called when a submesh gets HYP_OK algo_state. After being set, event listener is notified on each event of a submesh.

Common approach doesn't work when 0D algo is missing because the 0D hyp is considered as not participating in computation whereas it is used by 1D algo.

    \brief Clean mesh on edges
    \param event - algo_event or compute_event itself (of SMESH_subMesh)
    \param eventType - ALGO_EVENT or COMPUTE_EVENT (of SMESH_subMesh)
    \param subMesh - the submesh where the event occurs
   &zwj;/

void ProcessEvent(const int event, const int eventType, SMESH_subMesh* subMesh, EventListenerData*, const SMESH_Hypothesis*) { if ( eventType == SMESH_subMesh::ALGO_EVENT) // all algo events { subMesh->ComputeStateEngine( SMESH_subMesh::MODIF_ALGO_STATE ); } } }; // struct VertexEventListener


/*!

Sets event listener to vertex submeshes

Parameters
subMesh- submesh where algo is set

This method is called when a submesh gets HYP_OK algo_state. After being set, event listener is notified on each event of a submesh.

Reimplemented from SMESH_Algo.

Reimplemented in StdMeshers_CompositeSegment_1D.

References StdMeshers_Propagation::SetPropagationMgr().

Referenced by StdMeshers_CompositeSegment_1D::SetEventListener().

◆ SetLibName()

void SMESH_Hypothesis::SetLibName ( const char *  theLibName)
inherited

◆ SetParametersByDefaults()

bool SMESH_Algo::SetParametersByDefaults ( const TDefaults dflts,
const SMESH_Mesh theMesh = 0 
)
virtualinherited

Initialize my parameter values by default parameters.

Return values
bool- true if parameter values have been successfully defined

Implements SMESH_Hypothesis.

◆ SetParametersByMesh()

bool SMESH_Algo::SetParametersByMesh ( const SMESH_Mesh theMesh,
const TopoDS_Shape &  theShape 
)
virtualinherited

Just return false as the algorithm does not hold parameters values.

Implements SMESH_Hypothesis.

◆ setSubMeshesToCompute()

virtual void SMESH_Algo::setSubMeshesToCompute ( SMESH_subMesh aSubMesh)
virtualinherited

◆ SubMeshesToCompute()

std::vector<SMESH_subMesh*>& SMESH_Algo::SubMeshesToCompute ( )
inherited

Return a vector of sub-meshes to Compute()

Referenced by SMESH_subMesh::ComputeStateEngine().

◆ SubmeshRestored()

void StdMeshers_Regular_1D::SubmeshRestored ( SMESH_subMesh subMesh)
virtualinherited

Allow algo to do something after persistent restoration.

Do nothing.

Parameters
subMesh- restored submesh

This method is called only if a submesh has HYP_OK algo_state.

Reimplemented from SMESH_Algo.

◆ SupportSubmeshes()

◆ VertexNode() [1/3]

const SMDS_MeshNode * SMESH_Algo::VertexNode ( const TopoDS_Vertex &  V,
const SMESH_Mesh mesh 
)
staticinherited

Return the node built on a vertex.

A node moved to other geometry by MergeNodes() is also returned.

Parameters
V- the vertex
mesh- mesh
Return values
constSMDS_MeshNode* - found node or NULL

References SMESH_MesherHelper::GetAncestors(), SMESH_Mesh::GetMeshDS(), SMESH_Mesh::HasModificationsToDiscard(), SMESHDS_Mesh::MeshElements(), and SMESH_Algo::VertexNode().

◆ VertexNode() [2/3]

◆ VertexNode() [3/3]

const SMDS_MeshNode * SMESH_Algo::VertexNode ( const TopoDS_Vertex &  V,
const SMESHDS_SubMesh edgeSM,
const SMESH_Mesh mesh,
const bool  checkV = true 
)
staticinherited

Return the node built on a vertex.

A node moved to other geometry by MergeNodes() is also returned.

Parameters
V- the vertex
edgeSM- sub-mesh of a meshed EDGE sharing the vertex
mesh- the mesh
checkV- if true, presence of a node on the vertex is checked
Return values
constSMDS_MeshNode* - found node or NULL

A node moved to other geometry by MergeNodes() is also returned.

Parameters
V- the vertex
edgeSM- sub-mesh of a meshed EDGE sharing the vertex
checkV- if true, presence of a node on the vertex is checked
Return values
constSMDS_MeshNode* - found node or NULL

References SMDS_MeshElement::begin_nodes(), Edge, SMDS_MeshElement::end_nodes(), SMESHDS_SubMesh::GetElements(), SMESHDS_SubMesh::GetID(), SMESH_MesherHelper::GetNodeU(), SMESHDS_SubMesh::GetParent(), SMDS_MeshElement::getshapeId(), SMESH_MesherHelper::GetSubShapeByNode(), SMDS_MeshElement::GetType(), SMESHDS_Mesh::IndexToShape(), SMESH_MesherHelper::IsSubShape(), SMESHDS_SubMesh::NbElements(), SMDSAbs_Edge, and SMESH_Algo::VertexNode().

Field Documentation

◆ _adaptiveHyp

const StdMeshers_Adaptive1D* StdMeshers_Regular_1D::_adaptiveHyp
protectedinherited

◆ _assigedShapeList

std::list<TopoDS_Shape> SMESH_Algo::_assigedShapeList
protectedinherited

◆ _badInputElements

std::list<const SMDS_MeshElement*> SMESH_Algo::_badInputElements
protectedinherited

◆ _comment

std::string SMESH_Algo::_comment
protectedinherited

◆ _compatibleAllHypFilter

const SMESH_HypoFilter* SMESH_Algo::_compatibleAllHypFilter
protectedinherited

◆ _compatibleHypothesis

◆ _compatibleNoAuxHypFilter

const SMESH_HypoFilter* SMESH_Algo::_compatibleNoAuxHypFilter
protectedinherited

◆ _computeCanceled

volatile bool SMESH_Algo::_computeCanceled
protectedinherited

◆ _error

int SMESH_Algo::_error
protectedinherited

◆ _fpHyp

const StdMeshers_FixedPoints1D* StdMeshers_Regular_1D::_fpHyp
protectedinherited

◆ _gen

◆ _hypId

int SMESHDS_Hypothesis::_hypId
protectedinherited

◆ _hypType

HypothesisType StdMeshers_Regular_1D::_hypType
protectedinherited

◆ _ivalue

smIdType StdMeshers_Regular_1D::_ivalue[3]
protectedinherited

◆ _libName

std::string SMESH_Hypothesis::_libName
privateinherited

◆ _mainEdge

TopoDS_Shape StdMeshers_Regular_1D::_mainEdge
protectedinherited

◆ _mesh

const SMDS_Mesh* SMESH_Algo::_mesh
protectedinherited

◆ _name

std::string SMESHDS_Hypothesis::_name
protectedinherited

Referenced by SMESHDS_Hypothesis::IsSameName(), SMESHDS_Hypothesis::operator==(), StdMeshers_Adaptive1D::StdMeshers_Adaptive1D(), StdMeshers_Arithmetic1D::StdMeshers_Arithmetic1D(), StdMeshers_AutomaticLength::StdMeshers_AutomaticLength(), StdMeshers_BlockRenumber::StdMeshers_BlockRenumber(), StdMeshers_Cartesian_3D::StdMeshers_Cartesian_3D(), StdMeshers_CartesianParameters3D::StdMeshers_CartesianParameters3D(), StdMeshers_CompositeHexa_3D::StdMeshers_CompositeHexa_3D(), StdMeshers_CompositeSegment_1D::StdMeshers_CompositeSegment_1D(), StdMeshers_Deflection1D::StdMeshers_Deflection1D(), StdMeshers_FixedPoints1D::StdMeshers_FixedPoints1D(), StdMeshers_Geometric1D::StdMeshers_Geometric1D(), StdMeshers_Hexa_3D::StdMeshers_Hexa_3D(), StdMeshers_HexaFromSkin_3D::StdMeshers_HexaFromSkin_3D(), StdMeshers_Import_1D::StdMeshers_Import_1D(), StdMeshers_Import_1D2D::StdMeshers_Import_1D2D(), StdMeshers_ImportSource1D::StdMeshers_ImportSource1D(), StdMeshers_ImportSource2D::StdMeshers_ImportSource2D(), StdMeshers_LayerDistribution::StdMeshers_LayerDistribution(), StdMeshers_LayerDistribution2D::StdMeshers_LayerDistribution2D(), StdMeshers_LengthFromEdges::StdMeshers_LengthFromEdges(), StdMeshers_LocalLength::StdMeshers_LocalLength(), StdMeshers_MaxElementArea::StdMeshers_MaxElementArea(), StdMeshers_MaxElementVolume::StdMeshers_MaxElementVolume(), StdMeshers_MaxLength::StdMeshers_MaxLength(), StdMeshers_NotConformAllowed::StdMeshers_NotConformAllowed(), StdMeshers_NumberOfLayers::StdMeshers_NumberOfLayers(), StdMeshers_NumberOfLayers2D::StdMeshers_NumberOfLayers2D(), StdMeshers_NumberOfSegments::StdMeshers_NumberOfSegments(), StdMeshers_PolygonPerFace_2D::StdMeshers_PolygonPerFace_2D(), StdMeshers_PolyhedronPerSolid_3D::StdMeshers_PolyhedronPerSolid_3D(), StdMeshers_Prism_3D::StdMeshers_Prism_3D(), StdMeshers_Projection_1D::StdMeshers_Projection_1D(), StdMeshers_Projection_1D2D::StdMeshers_Projection_1D2D(), StdMeshers_Projection_2D::StdMeshers_Projection_2D(), StdMeshers_Projection_3D::StdMeshers_Projection_3D(), StdMeshers_ProjectionSource1D::StdMeshers_ProjectionSource1D(), StdMeshers_ProjectionSource2D::StdMeshers_ProjectionSource2D(), StdMeshers_ProjectionSource3D::StdMeshers_ProjectionSource3D(), StdMeshers_Propagation::StdMeshers_Propagation(), StdMeshers_PropagOfDistribution::StdMeshers_PropagOfDistribution(), StdMeshers_QuadFromMedialAxis_1D2D::StdMeshers_QuadFromMedialAxis_1D2D(), StdMeshers_Quadrangle_2D::StdMeshers_Quadrangle_2D(), StdMeshers_QuadrangleParams::StdMeshers_QuadrangleParams(), StdMeshers_QuadranglePreference::StdMeshers_QuadranglePreference(), StdMeshers_QuadraticMesh::StdMeshers_QuadraticMesh(), StdMeshers_RadialPrism_3D::StdMeshers_RadialPrism_3D(), StdMeshers_RadialQuadrangle_1D2D::StdMeshers_RadialQuadrangle_1D2D(), StdMeshers_Regular_1D::StdMeshers_Regular_1D(), StdMeshers_SegmentAroundVertex_0D::StdMeshers_SegmentAroundVertex_0D(), StdMeshers_SegmentLengthAroundVertex::StdMeshers_SegmentLengthAroundVertex(), StdMeshers_StartEndLength::StdMeshers_StartEndLength(), StdMeshers_UseExisting_1D::StdMeshers_UseExisting_1D(), StdMeshers_UseExisting_2D::StdMeshers_UseExisting_2D(), StdMeshers_ViscousLayerBuilder::StdMeshers_ViscousLayerBuilder(), StdMeshers_ViscousLayers::StdMeshers_ViscousLayers(), and StdMeshers_ViscousLayers2D::StdMeshers_ViscousLayers2D().

◆ _neededLowerHyps

◆ _onlyUnaryInput

◆ _param_algo_dim

int SMESH_Hypothesis::_param_algo_dim
protectedinherited

Referenced by SMESH_Hypothesis::GetDim(), SMESH_Hypothesis::SMESH_Hypothesis(), StdMeshers_Adaptive1D::StdMeshers_Adaptive1D(), StdMeshers_Arithmetic1D::StdMeshers_Arithmetic1D(), StdMeshers_AutomaticLength::StdMeshers_AutomaticLength(), StdMeshers_BlockRenumber::StdMeshers_BlockRenumber(), StdMeshers_CartesianParameters3D::StdMeshers_CartesianParameters3D(), StdMeshers_Deflection1D::StdMeshers_Deflection1D(), StdMeshers_FixedPoints1D::StdMeshers_FixedPoints1D(), StdMeshers_ImportSource1D::StdMeshers_ImportSource1D(), StdMeshers_ImportSource2D::StdMeshers_ImportSource2D(), StdMeshers_LayerDistribution::StdMeshers_LayerDistribution(), StdMeshers_LayerDistribution2D::StdMeshers_LayerDistribution2D(), StdMeshers_LengthFromEdges::StdMeshers_LengthFromEdges(), StdMeshers_LocalLength::StdMeshers_LocalLength(), StdMeshers_MaxElementArea::StdMeshers_MaxElementArea(), StdMeshers_MaxElementVolume::StdMeshers_MaxElementVolume(), StdMeshers_MaxLength::StdMeshers_MaxLength(), StdMeshers_NotConformAllowed::StdMeshers_NotConformAllowed(), StdMeshers_NumberOfLayers::StdMeshers_NumberOfLayers(), StdMeshers_NumberOfLayers2D::StdMeshers_NumberOfLayers2D(), StdMeshers_NumberOfSegments::StdMeshers_NumberOfSegments(), StdMeshers_ProjectionSource1D::StdMeshers_ProjectionSource1D(), StdMeshers_ProjectionSource2D::StdMeshers_ProjectionSource2D(), StdMeshers_ProjectionSource3D::StdMeshers_ProjectionSource3D(), StdMeshers_Propagation::StdMeshers_Propagation(), StdMeshers_QuadrangleParams::StdMeshers_QuadrangleParams(), StdMeshers_QuadranglePreference::StdMeshers_QuadranglePreference(), StdMeshers_QuadraticMesh::StdMeshers_QuadraticMesh(), StdMeshers_Reversible1D::StdMeshers_Reversible1D(), StdMeshers_SegmentLengthAroundVertex::StdMeshers_SegmentLengthAroundVertex(), StdMeshers_StartEndLength::StdMeshers_StartEndLength(), StdMeshers_ViscousLayers::StdMeshers_ViscousLayers(), and StdMeshers_ViscousLayers2D::StdMeshers_ViscousLayers2D().

◆ _progress

double SMESH_Algo::_progress
protectedinherited

◆ _progressTic

int SMESH_Algo::_progressTic
protectedinherited

◆ _quadraticMesh

◆ _requireDiscreteBoundary

◆ _requireShape

◆ _revEdgesIDs

std::vector<int> StdMeshers_Regular_1D::_revEdgesIDs
protectedinherited

◆ _shapeType

◆ _smToCompute

std::vector<SMESH_subMesh*> SMESH_Algo::_smToCompute
protectedinherited

◆ _supportSubmeshes

◆ _svalue

std::string StdMeshers_Regular_1D::_svalue[1]
protectedinherited

◆ _type

◆ _usedHypList

◆ _value

double StdMeshers_Regular_1D::_value[2]
protectedinherited

◆ _vvalue

std::vector<double> StdMeshers_Regular_1D::_vvalue[1]
protectedinherited

◆ myUsedHyps

list<const SMESHDS_Hypothesis *> TNodeDistributor::myUsedHyps
private

Referenced by Compute(), and GetUsedHypothesis().