Algo building prisms on a prism shape. More...
#include <StdMeshers_Prism_3D.hxx>
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 | |
StdMeshers_Prism_3D (int hypId, SMESH_Gen *gen) | |
virtual | ~StdMeshers_Prism_3D () |
Destructor. More... | |
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 | Evaluate (SMESH_Mesh &aMesh, const TopoDS_Shape &aShape, MapShapeNbElems &aResMap) |
evaluates size of prospective mesh on a shape More... | |
void | ProjectTriangles () |
Enable removal of quadrangles from the bottom face and triangles creation there by projection from the top (sole face meshed with triangles is considered to be a bottom one). More... | |
virtual bool | IsApplicableToShape (const TopoDS_Shape &shape, bool toCheckAll) const |
Return true if the algorithm can mesh a given shape. More... | |
const Features & | GetFeatures () 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 bool | Compute (SMESH_Mesh &aMesh, SMESH_MesherHelper *aHelper) |
Computes mesh without geometry. More... | |
virtual void | CancelCompute () |
Sets _computeCanceled to true. More... | |
virtual double | GetProgress () const |
If possible, returns progress of computation [0.,1. 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 const std::list< TopoDS_Shape > & | GetAssignedShapes () const |
Return sub-shape to which hypotheses returned by GetUsedHypothesis() are assigned. More... | |
const SMESH_HypoFilter * | GetCompatibleHypoFilter (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) |
virtual void | SetEventListener (SMESH_subMesh *subMesh) |
Sets event listener to submeshes if necessary. More... | |
virtual void | SubmeshRestored (SMESH_subMesh *subMesh) |
Allow algo to do something after persistent restoration. More... | |
smIdType | NumberOfPoints (SMESH_Mesh &aMesh, const TopoDS_Wire &W) |
virtual int | GetDim () const |
SMESH_Gen * | GetGen () 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_Mesh * | GetMeshByPersistentID (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 bool | AddPrisms (std::vector< const TNodeColumn * > &nodeColumns, SMESH_MesherHelper *helper) |
Create prisms. More... | |
static bool | IsApplicable (const TopoDS_Shape &aShape, bool toCheckAll) |
Return true if the algorithm can mesh this shape. More... | |
static const Features & | GetFeatures (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_MeshNode * | VertexNode (const TopoDS_Vertex &V, const SMESHDS_Mesh *meshDS) |
Return the node built on a vertex. More... | |
static const SMDS_MeshNode * | VertexNode (const TopoDS_Vertex &V, const SMESH_Mesh *mesh) |
Return the node built on a vertex. More... | |
static const SMDS_MeshNode * | VertexNode (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 Member Functions | |
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) |
Private Member Functions | |
bool | initPrism (Prism_3D::TPrismTopo &thePrism, const TopoDS_Shape &theSolid, const bool selectBottom=true) |
Analyse shape geometry and mesh. More... | |
bool | getWallFaces (Prism_3D::TPrismTopo &thePrism, const int totalNbFaces) |
Fill thePrism.myWallQuads and thePrism.myTopEdges. More... | |
bool | compute (const Prism_3D::TPrismTopo &thePrism) |
Compute mesh on a SOLID. More... | |
bool | computeBase (const Prism_3D::TPrismTopo &thePrism) |
Compute the base face of a prism. More... | |
bool | computeWalls (const Prism_3D::TPrismTopo &thePrism) |
Compute 2D mesh on walls FACEs of a prism. More... | |
void | makeQuadsForOutInProjection (const Prism_3D::TPrismTopo &thePrism, std::multimap< int, int > &wgt2quad, std::map< int, FaceQuadStruct > &iW2oiQuads) |
Create artificial wall quads for vertical projection between the outer and inner walls. More... | |
TopoDS_Edge | findPropagationSource (const TopoDS_Edge &E) |
Returns a source EDGE of propagation to a given EDGE. More... | |
bool | assocOrProjBottom2Top (const gp_Trsf &bottomToTopTrsf, const Prism_3D::TPrismTopo &thePrism) |
Find correspondence between bottom and top nodes. More... | |
bool | projectBottomToTop (const gp_Trsf &bottomToTopTrsf, const Prism_3D::TPrismTopo &thePrism) |
Remove quadrangles from the top face and create triangles there by projection from the bottom. More... | |
double | getSweepTolerance (const Prism_3D::TPrismTopo &thePrism) |
Compute tolerance to pass to StdMeshers_Sweeper. More... | |
bool | isSimpleBottom (const Prism_3D::TPrismTopo &thePrism) |
Defines if it's safe to use the block approach. More... | |
bool | allVerticalEdgesStraight (const Prism_3D::TPrismTopo &thePrism) |
Defines if all "vertical" EDGEs are straight. More... | |
bool | project2dMesh (const TopoDS_Face &source, const TopoDS_Face &target) |
Project mesh faces from a source FACE of one prism to a source FACE of another prism. More... | |
bool | setFaceAndEdgesXYZ (const int faceID, const gp_XYZ ¶ms, int z) |
Set projection coordinates of a node to a face and it's sub-shapes. More... | |
bool | toSM (bool isOK) |
If (!isOK), sets the error to a sub-mesh of a current SOLID. More... | |
int | shapeID (const TopoDS_Shape &S) |
Return index of a shape. More... | |
Private Attributes | |
bool | myProjectTriangles |
bool | mySetErrorToSM |
bool | myUseBlock |
StdMeshers_PrismAsBlock | myBlock |
SMESH_MesherHelper * | myHelper |
SMESH_subMesh * | myPrevBottomSM |
std::vector< gp_XYZ > | myShapeXYZ |
TNode2ColumnMap | myBotToColumnMap |
TopTools_IndexedMapOfShape * | myPropagChains |
std::string | _libName |
Algo building prisms on a prism shape.
|
inherited |
|
inherited |
|
inherited |
|
inherited |
StdMeshers_Prism_3D::StdMeshers_Prism_3D | ( | int | hypId, |
SMESH_Gen * | gen | ||
) |
|
virtual |
Destructor.
|
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().
|
protectedinherited |
References SMESH_Algo::_mesh, SMESH_Algo::addBadInputElement(), SMESHDS_SubMesh::GetElements(), SMESHDS_SubMesh::GetNodes(), and SMESHDS_SubMesh::GetParent().
Referenced by StdMeshers_Projection_2D::Compute(), and computeWalls().
|
static |
Create prisms.
nodeColumns | - columns of nodes generated from nodes of a mesh face |
helper | - helper initialized by mesh and shape to add prisms to |
columns | - columns of nodes generated from nodes of a mesh face |
helper | - helper initialized by mesh and shape to add prisms to |
References SMESH_MesherHelper::AddPolyhedralVolume(), SMESH_MesherHelper::AddVolume(), SMDS_VolumeTool::IsForward(), SMDS_VolumeTool::Set(), and SMESH_MesherHelper::SetElementsOnShape().
Referenced by compute(), and StdMeshers_RadialPrism_3D::Compute().
|
private |
Defines if all "vertical" EDGEs are straight.
References SMESH_Algo::IsContinuous(), SMESH_Algo::IsStraight(), Prism_3D::TPrismTopo::myWallQuads, and QUAD_RIGHT_SIDE.
Referenced by compute().
|
private |
Find correspondence between bottom and top nodes.
Find correspondence between bottom and top nodes If elements on the bottom and top faces are topologically different, and projection is possible and allowed, perform the projection.
If elements on the bottom and top faces are topologically different, and projection is possible and allowed, perform the projection
bool | - is a success or not |
bool | - is a success or not |
RETURN_BAD_RESULT("Need to project but not allowed");
References SMESH_Hypothesis::_gen, SMESH_Gen::Compute(), SMESH_Algo::error(), StdMeshers_ProjectionUtils::FindMatchingNodesOnFaces(), StdMeshers_ProjectionUtils::FindSubShapeAssociation(), SMESH_subMesh::GetId(), SMESH_MesherHelper::GetMesh(), SMDS_MeshNode::GetPosition(), SMESH_Mesh::GetSubMesh(), SMESH_subMesh::GetSubMeshDS(), SMESH_subMesh::GetSubShape(), StdMeshers_PrismAsBlock::HasNodeColumn(), StdMeshers_ProjectionUtils::InsertAssociation(), SMESH_subMesh::IsMeshComputed(), SMESH_MesherHelper::IthVertex(), MESSAGE, myBlock, myBotToColumnMap, Prism_3D::TPrismTopo::myBottom, myHelper, Prism_3D::TPrismTopo::myTop, Prism_3D::TPrismTopo::myWallQuads, SMESHDS_SubMesh::NbElements(), SMESHDS_SubMesh::NbNodes(), projectBottomToTop(), QUAD_BOTTOM_SIDE, QUAD_LEFT_SIDE, QUAD_RIGHT_SIDE, QUAD_TOP_SIDE, SMDS_TOP_FACE, toSM(), and StdMeshers_PrismAsBlock::VerticalSize().
Referenced by compute().
|
virtualinherited |
Sets _computeCanceled to true.
It's usage depends on implementation of a particular mesher.
Reimplemented in StdMeshers_Regular_1D.
References SMESH_Algo::_computeCanceled, SMESH_Algo::_error, and COMPERR_CANCELED.
Referenced by StdMeshers_Regular_1D::CancelCompute(), and SMESH_subMesh::ComputeStateEngine().
|
virtual |
Check hypothesis definition to mesh a shape.
aMesh | - the mesh |
aShape | - the shape |
aStatus | - check result |
bool | - true if hypothesis is well defined |
Textual description of a problem can be stored in _comment field.
Implements SMESH_Algo.
References SMESH_Hypothesis::HYP_OK.
Referenced by ComputePentahedralMesh(), and EvaluatePentahedralMesh().
|
private |
Compute mesh on a SOLID.
References SMESH_Algo::_computeCanceled, SMESHDS_Mesh::AddNode(), AddPrisms(), allVerticalEdgesStraight(), assocOrProjBottom2Top(), Prism_3D::TNode::ChangeParams(), SMESH_subMesh::CHECK_COMPUTE_STATE, StdMeshers_Sweeper::CheckSameZ(), StdMeshers_PrismAsBlock::Clear(), COMPERR_BAD_INPUT_MESH, COMPERR_CANCELED, computeBase(), StdMeshers_Sweeper::ComputeNodesByTrsf(), StdMeshers_Sweeper::ComputeNodesOnStraight(), StdMeshers_Sweeper::ComputeNodesOnStraightSameZ(), SMESH_Block::ComputeParameters(), SMESH_subMesh::ComputeStateEngine(), computeWalls(), SMESH_Algo::error(), SMESH_subMesh::GetComputeError(), Prism_3D::TNode::GetCoords(), SMESH_subMesh::getDependsOnIterator(), SMESHDS_SubMesh::GetElements(), StdMeshers_PrismAsBlock::GetError(), SMDS_MeshElement::GetID(), SMESH_subMesh::GetId(), SMESH_MesherHelper::GetMesh(), SMESH_MesherHelper::GetMeshDS(), SMDS_MeshElement::GetNode(), StdMeshers_PrismAsBlock::GetNodeColumn(), StdMeshers_PrismAsBlock::GetParam2ColumnMap(), Prism_3D::TNode::GetParams(), SMDS_MeshNode::GetPosition(), Prism_3D::TNode::GetPositionType(), SMESH_Mesh::GetSubMesh(), getSweepTolerance(), SMDS_MeshElement::GetType(), gpXYZ, StdMeshers_PrismAsBlock::HasNodeColumn(), Prism_3D::TNode::HasParams(), ID_BOT_FACE, SMESH_Block::ID_F0yz, SMESH_Block::ID_F1yz, SMESH_Block::ID_FirstE, SMESH_Block::ID_FirstV, SMESH_Block::ID_Fx0z, SMESH_Block::ID_Fx1z, ID_TOP_FACE, StdMeshers_PrismAsBlock::Init(), Prism_3D::TNode::IsNeighbor(), SMESH_MesherHelper::IsQuadraticSubMesh(), isSimpleBottom(), myBlock, StdMeshers_Sweeper::myBndColumns, StdMeshers_Sweeper::myBotFace, myBotToColumnMap, Prism_3D::TPrismTopo::myBottom, Prism_3D::TPrismTopo::myBottomEdges, StdMeshers_Sweeper::myHelper, myHelper, StdMeshers_Sweeper::myIntColumns, Prism_3D::TNode::myNode, Prism_3D::TPrismTopo::myShape3D, myShapeXYZ, Prism_3D::TPrismTopo::myTop, StdMeshers_Sweeper::myTopFace, myUseBlock, SMDS_MeshElement::NbCornerNodes(), SMESH_Block::NbSubShapes(), SMESH_ComputeError::New(), SMESH_MesherHelper::SetElementsOnShape(), setFaceAndEdgesXYZ(), SMESHDS_Mesh::SetNodeInVolume(), SMESHDS_Mesh::ShapeToIndex(), SMESH_Block::ShellPoint(), SHOWYXZ, SMDS_TOP_FACE, SMDSAbs_Face, StdMeshers_PrismAsBlock::SubMesh(), StdMeshers_PrismAsBlock::SubMeshDS(), toSM(), and SMESH_Block::VertexPoint().
Referenced by Compute().
|
virtual |
Computes mesh on a shape.
aMesh | - the mesh |
aShape | - the shape |
bool | - is a success |
Algorithms that !NeedDiscreteBoundary() || !OnlyUnaryInput() are to set SMESH_ComputeError returned by SMESH_submesh::GetComputeError() to report problematic sub-shapes
Implements SMESH_Algo.
References SMESH_Algo::_computeCanceled, SMESH_subMesh::CHECK_COMPUTE_STATE, Prism_3D::TPrismTopo::Clear(), COMPERR_BAD_INPUT_MESH, COMPERR_CANCELED, COMPERR_OK, compute(), SMESH_subMesh::COMPUTE_SUBMESH, SMESH_subMesh::ComputeStateEngine(), SMESH_MesherHelper::Count(), SMESH_Algo::error(), Face, SMESH_subMesh::GetAlgo(), SMESH_MesherHelper::GetAncestors(), SMESH_subMesh::GetComputeError(), SMESH_subMesh::getDependsOnIterator(), SMESH_MesherHelper::GetMesh(), SMESH_Mesh::GetMeshDS(), StdMeshers_ProjectionUtils::GetPropagationEdge(), SMESH_Mesh::GetSubMesh(), SMESH_subMesh::GetSubMeshDS(), SMESH_Algo::InitComputeError(), initPrism(), SMESH_MesherHelper::IsBlock(), SMESH_subMesh::IsEmpty(), SMESH_subMesh::IsMeshComputed(), SMESH_MesherHelper::IsSameElemGeometry(), SMESH_MesherHelper::IsStructured(), SMESH_MesherHelper::IsSubShape(), SMESHDS_Mesh::MeshElements(), Prism_3D::TPrismTopo::myAlgoSM, Prism_3D::TPrismTopo::myBottom, myHelper, myPrevBottomSM, myPropagChains, mySetErrorToSM, Prism_3D::TPrismTopo::myTop, SMESHDS_SubMesh::NbElements(), SMESH_Mesh::NbQuadrangles(), SMESH_ComputeError::New(), project2dMesh(), QUAD_TOP_SIDE, SMDSGeom_QUADRANGLE, and toSM().
Referenced by ComputePentahedralMesh().
|
virtualinherited |
Computes mesh without geometry.
aMesh | - the mesh |
aHelper | - helper that must be used for adding elements to \aaMesh |
bool | - is a success |
The method is called if ( !aMesh->HasShapeToMesh() )
aMesh | - the mesh |
aHelper | - helper that must be used for adding elements to \aaMesh |
bool | - is a success |
Reimplemented in StdMeshers_HexaFromSkin_3D, and StdMeshers_Hexa_3D.
References COMPERR_BAD_INPUT_MESH, and SMESH_Algo::error().
|
private |
Compute the base face of a prism.
References SMESH_Hypothesis::_gen, SMESH_Algo::CheckHypothesis(), COMPERR_BAD_INPUT_MESH, SMESH_Gen::Compute(), SMESH_Algo::Compute(), SMESH_subMesh::COMPUTE_SUBMESH, SMESH_subMesh::ComputeStateEngine(), SMESH_Algo::error(), SMESH_subMesh::GetAlgo(), SMESH_subMesh::getDependsOnIterator(), SMESH_subMesh::GetFather(), SMESH_MesherHelper::GetMesh(), SMESH_Mesh::GetShapeToMesh(), SMESH_Mesh::GetSubMesh(), SMESH_subMesh::GetSubShape(), SMESH_Algo::InitComputeError(), SMESH_Algo::IsApplicableToShape(), SMESH_subMesh::IsEmpty(), SMESH_subMesh::IsMeshComputed(), Prism_3D::TPrismTopo::myAlgoSM, Prism_3D::TPrismTopo::myBottom, myHelper, myPrevBottomSM, SMESH_Algo::NeedDiscreteBoundary(), OCC_CATCH_SIGNALS, and shapeID().
Referenced by compute().
|
private |
Compute 2D mesh on walls FACEs of a prism.
References SMESH_Algo::addBadInputElements(), SMESH_MesherHelper::AddEdge(), SMESHDS_Mesh::AddNode(), SMESH_MesherHelper::AddTLinks(), SMESH_subMesh::CHECK_COMPUTE_STATE, SMESH_subMesh::CLEAN, COMPERR_ALGO_FAILED, COMPERR_BAD_INPUT_MESH, SMESH_subMesh::COMPUTE, SMESH_subMesh::ComputeStateEngine(), SMESH_subMesh::ComputeSubMeshStateEngine(), DBGOUT, Edge, SMESH_Algo::error(), findPropagationSource(), SMESH_MesherHelper::GetAncestors(), SMESH_subMesh::GetComputeError(), SMESH_subMesh::getDependsOnIterator(), SMESHDS_SubMesh::GetElements(), SMESH_subMesh::GetId(), SMESH_MesherHelper::GetIsQuadratic(), SMESH_MesherHelper::GetMediumPos(), SMESH_MesherHelper::GetMesh(), SMESH_MesherHelper::GetMeshDS(), SMESH_Mesh::GetSubMesh(), SMESH_subMesh::GetSubMeshDS(), SMESH_subMesh::GetSubShape(), SMESH_subMesh::IsMeshComputed(), SMESH_MesherHelper::IthVertex(), makeQuadsForOutInProjection(), SMESH_MeshEditor::MergeNodes(), SMESHDS_Mesh::MeshElements(), SMESHDS_Mesh::MoveNode(), myHelper, Prism_3D::TPrismTopo::myRightQuadIndex, Prism_3D::TPrismTopo::myShape3D, Prism_3D::TPrismTopo::myWallQuads, NB_QUAD_SIDES, SMESHDS_SubMesh::NbElements(), SMESHDS_SubMesh::NbNodes(), QUAD_BOTTOM_SIDE, QUAD_LEFT_SIDE, QUAD_RIGHT_SIDE, QUAD_TOP_SIDE, SMESH_MesherHelper::SetElementsOnShape(), SMESHDS_Mesh::SetMeshElementOnShape(), SMESHDS_Mesh::SetNodeOnEdge(), SMESHDS_Mesh::SetNodeOnVertex(), shapeID(), SMESHDS_Mesh::ShapeToIndex(), FaceQuadStruct::side, SMESH_subMesh::SubMeshesComputed(), toSM(), SMESHDS_Mesh::UnSetNodeOnShape(), SMESH_Algo::VertexNode(), and SMESH_MesherHelper::WrapIndex().
Referenced by compute().
|
staticinherited |
Return continuity of two edges.
E1 | - the 1st edge |
E2 | - the 2nd edge |
GeomAbs_Shape | - regularity at the junction between E1 and E2 |
References OCC_CATCH_SIGNALS.
|
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().
|
staticinherited |
Compute length of an edge.
E | - the edge |
double | - the length |
References Handle().
Referenced by StdMeshers_Projection_1D::Compute(), VISCOUS_3D::_OffsetPlane::ComputeIntersectionLine(), StdMeshers_ProjectionUtils::FindFaceAssociation(), VISCOUS_3D::_ViscousBuilder::findShapesToSmooth(), VISCOUS_3D::getEdgeDir(), VISCOUS_3D::getFaceDir(), SMESH_Algo::isDegenerated(), SMESH_MesherHelper::LoadNodeColumns(), VISCOUS_3D::_Smoother1D::prepare(), StdMeshers_AutomaticLength::SetParametersByMesh(), StdMeshers_FaceSide::StdMeshers_FaceSide(), and VISCOUS_3D::_ViscousBuilder::updateNormalsOfC1Vertices().
|
protectedinherited |
store COMPERR_ALGO_FAILED error and comment and then return false
References COMPERR_ALGO_FAILED.
|
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(), 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(), 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(), 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(), TNodeDistributor::Compute(), computeBase(), StdMeshers_RadialPrism_3D::computeLayerPositions(), StdMeshers_RadialQuadrangle_1D2D::computeLayerPositions(), StdMeshers_Quadrangle_2D::computeQuadDominant(), StdMeshers_Quadrangle_2D::computeQuadPref(), StdMeshers_Quadrangle_2D::computeReduced(), computeWalls(), SMESH_Algo::error(), StdMeshers_HexaFromSkin_3D::Evaluate(), StdMeshers_Import_1D::Evaluate(), StdMeshers_Import_1D2D::Evaluate(), StdMeshers_PolygonPerFace_2D::Evaluate(), 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(), getWallFaces(), initPrism(), projectBottomToTop(), and StdMeshers_Quadrangle_2D::setNormalizedGrid().
|
protectedinherited |
store error and return error->IsOK()
store error and return ( error == COMPERR_OK )
References SMESH_Algo::_badInputElements, SMESH_Algo::_comment, SMESH_Algo::_error, SMESH_Algo::_mesh, SMESH_Algo::error(), SMESH_BadInputElements::GetElements(), and SMESH_BadInputElements::GetMesh().
|
virtual |
evaluates size of prospective mesh on a shape
aMesh | - the mesh |
aShape | - the shape |
aResMap | - prospective number of elements by SMDSAbs_ElementType by a sub-mesh |
bool | - is a success |
Implements SMESH_Algo.
References SMESH_Algo::error(), SMESH_Mesh::GetSubMesh(), myHelper, SMESH_MesherHelper::SetSubShape(), SMDSEntity_Edge, SMDSEntity_Hexa, SMDSEntity_Last, SMDSEntity_Node, SMDSEntity_Penta, SMDSEntity_Quad_Edge, SMDSEntity_Quad_Hexa, SMDSEntity_Quad_Penta, SMDSEntity_Quad_Quadrangle, SMDSEntity_Quad_Triangle, SMDSEntity_Quadrangle, SMDSEntity_Triangle, and toSM().
Referenced by EvaluatePentahedralMesh().
|
private |
Returns a source EDGE of propagation to a given EDGE.
References Edge, and myPropagChains.
Referenced by computeWalls().
|
virtualinherited |
Return sub-shape to which hypotheses returned by GetUsedHypothesis() are assigned.
References SMESH_Algo::_assigedShapeList.
Referenced by SMESH_subMesh::getCollection().
|
inherited |
Return the filter recognizing only compatible hypotheses.
Returns the filter recognizing only compatible hypotheses.
ignoreAuxiliary | - make filter ignore compatible auxiliary hypotheses |
SMESH_HypoFilter* | - the filter that can be NULL |
ignoreAuxiliary | - make filter ignore auxiliary hypotheses |
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().
|
inherited |
Return all types of compatible hypotheses.
References SMESH_Algo::_compatibleHypothesis.
|
inherited |
return compute error
References SMESH_Algo::_badInputElements, SMESH_Algo::_comment, SMESH_Algo::_error, SMESH_Algo::_mesh, SMESH_BadInputElements::myBadElements, and SMESH_ComputeError::New().
Referenced by StdMeshers_Hexa_3D::Compute(), StdMeshers_PolyhedronPerSolid_3D::Compute(), ComputePentahedralMesh(), SMESH_subMesh::ComputeStateEngine(), and toSM().
|
virtualinherited |
References SMESH_Hypothesis::_param_algo_dim, SMESHDS_Hypothesis::_type, SMESHDS_Hypothesis::ALGO_0D, SMESHDS_Hypothesis::ALGO_1D, SMESHDS_Hypothesis::ALGO_2D, SMESHDS_Hypothesis::ALGO_3D, and SMESHDS_Hypothesis::PARAM_ALGO.
Referenced by SMESH_Mesh::AddHypothesis(), SMESH_subMesh::AlgoStateEngine(), SMESH_subMesh::CanAddHypothesis(), checkConformIgnoredAlgos(), checkMissing(), VISCOUS_3D::_LayerEdge::ChooseSmooFunction(), SMESH_Mesh_i::findConcurrentSubMeshes(), SMESH_Gen::GetAlgoState(), VISCOUS_3D::getDistFromEdge(), SMESH_Gen_i::GetHypothesisParameterValues(), SMESH_subMesh::getSimilarAttached(), SMESH_subMesh::IsApplicableHypothesis(), SMESH_HypoFilter::IsMoreLocalThanPredicate::IsOk(), SMESH_Mesh::RemoveHypothesis(), SMESH_Gen::TAlgoStateError::Set(), StdMeshers_LayerDistribution::SetLayerDistribution(), and SMESH_HypoFilter::DimPredicate::Value().
|
inherited |
References SMESH_Algo::GetFeatures().
Referenced by SMESH_Algo::GetFeatures(), and SMESH_Gen_i::IsApplicable().
|
staticinherited |
Return a structure describing algorithm features.
Return Data of the algorithm.
References SMESH_Algo::Features::_dim, SMESH_Algo::Features::_inElemTypes, SMESH_Algo::Features::_label, SMESH_Algo::Features::_outElemTypes, end(), SMESH_Gen::GetPluginXMLPaths(), SMDSGeom_EDGE, SMDSGeom_QUADRANGLE, and SMDSGeom_TRIANGLE.
Referenced by StdMeshers_ProjectionUtils::SourceNotComputedError().
|
inherited |
Referenced by SMESH_subMesh::GetAlgo().
|
inherited |
|
virtualinherited |
References SMESH_Hypothesis::_libName.
Referenced by SMESH_Hypothesis_i::GetLibName(), and StdMeshers_LayerDistribution_i::SaveTo().
|
inherited |
Find a mesh with given persistent ID.
References SMESH_Hypothesis::_gen, SMESH_Mesh::GetMeshDS(), SMESHDS_Mesh::GetPersistentId(), SMESH_Gen::GetStudyContext(), and studyContextStruct::mapMesh.
Referenced by StdMeshers_Import_1D::Compute(), and StdMeshers_Import_1D2D::Compute().
|
staticinherited |
Finds topological errors of a sub-mesh.
References SMESHDS_SubMesh::GetElements(), SMDS_VolumeTool::GetFaceNodes(), SMDS_MeshElement::GetNode(), SMDS_MeshNode::GetPosition(), SMESH_subMesh::GetSubMeshDS(), SMESH_subMesh::GetSubShape(), SMDS_VolumeTool::IsFreeFace(), SMESH_Algo::MEr_EMPTY, SMESH_Algo::MEr_HOLES, SMESH_Algo::MEr_OK, SMDS_MeshElement::NbCornerNodes(), SMDS_VolumeTool::NbFaceNodes(), SMDS_VolumeTool::NbFaces(), SMESH_TLink::node1(), SMESH_TLink::node2(), SMDS_VolumeTool::Set(), SMDS_TOP_EDGE, and SMDS_TOP_FACE.
|
inherited |
Referenced by SMESH_Mesh::AddHypothesis(), SMESH_subMesh::AlgoStateEngine(), SMESH_subMesh::checkComputeError(), checkConformIgnoredAlgos(), StdMeshers_Quadrangle_2D::CheckHypothesis(), StdMeshers_Import_1D::CheckHypothesis(), StdMeshers_Import_1D2D::CheckHypothesis(), StdMeshers_Projection_1D::CheckHypothesis(), StdMeshers_Projection_2D::CheckHypothesis(), StdMeshers_Projection_3D::CheckHypothesis(), StdMeshers_RadialPrism_3D::CheckHypothesis(), StdMeshers_RadialQuadrangle_1D2D::CheckHypothesis(), StdMeshers_Regular_1D::CheckHypothesis(), checkMissing(), StdMeshers_Hexa_3D::Evaluate(), VISCOUS_3D::_ViscousBuilder::findFacesWithLayers(), StdMeshers_CompositeSegment_1D::GetFaceSide(), SMESH_Mesh::GetHypotheses(), SMESH_Gen_i::GetHypothesisParameterValues(), SMESH_Hypothesis_i::GetName(), SMESH_subMesh::getSimilarAttached(), StdMeshers_ProjectionUtils::InitVertexAssociation(), SMESH_HypoFilter::NamePredicate::IsOk(), StdMeshers_ProjectionUtils::MakeComputed(), StdMeshers_LayerDistribution_i::SaveTo(), and StdMeshers_Cartesian_3D::SetEventListener().
|
staticinherited |
Fill vector of node parameters on geometrical edge, including vertex nodes.
theMesh | - The mesh containing nodes |
theEdge | - The geometrical edge of interest |
theParams | - The resulting vector of sorted node parameters |
bool | - false if not all parameters are OK |
theMesh | - The mesh containing nodes |
theEdge | - The geometrical edge of interest |
theParams | - The resulting vector of sorted node parameters |
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().
|
virtualinherited |
|
inherited |
Return compute progress by nb of calls of this method.
References SMESH_Algo::_progressTic, and SMESH_Algo::_smToCompute.
|
virtualinherited |
References SMESH_Hypothesis::_shapeType.
Referenced by SMESH_subMesh::IsApplicableHypothesis().
|
staticinherited |
Fill map of node parameter on geometrical edge to node it-self.
Fill vector of node parameters on geometrical edge, including vertex nodes.
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 |
bool | - false if not all parameters are OK |
theMesh | - The mesh containing nodes |
theEdge | - The geometrical edge of interest |
theParams | - The resulting vector of sorted node parameters |
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().
|
private |
Compute tolerance to pass to StdMeshers_Sweeper.
References SMESHDS_SubMesh::GetElements(), SMESH_MesherHelper::GetMeshDS(), SMESHDS_Mesh::MeshElements(), Prism_3D::TPrismTopo::myBottom, myHelper, Prism_3D::TPrismTopo::myTop, SMDS_MeshElement::NbCornerNodes(), and SMDS_MeshElement::nodesIterator().
Referenced by compute().
|
inherited |
Referenced by SMESH_Mesh::AddHypothesis(), SMESH_subMesh::AlgoStateEngine(), checkConformIgnoredAlgos(), SMESH_Mesh_i::findConcurrentSubMeshes(), SMESH_Gen::GetAlgoState(), SMESH_subMesh::getSimilarAttached(), SMESH_subMesh::IsApplicableHypothesis(), SMESH_Hypothesis::IsAuxiliary(), SMESH_Mesh::IsUsedHypothesis(), SMESH_Mesh::RemoveHypothesis(), and SMESH_HypoFilter::TypePredicate::Value().
|
virtualinherited |
Return a list of compatible hypotheses used to mesh a shape.
List the hypothesis used by the algorithm associated to the shape.
aMesh | - the mesh |
aShape | - the shape |
ignoreAuxiliary | - do not include auxiliary hypotheses in the list |
const | std::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().
|
private |
Fill thePrism.myWallQuads and thePrism.myTopEdges.
Find wall faces by bottom edges.
References COMPERR_BAD_SHAPE, SMESH_Algo::error(), Face, SMESH_MesherHelper::GetMesh(), SMESH_Algo::isDegenerated(), SMESH_MesherHelper::IsSubShape(), Prism_3D::TPrismTopo::myBottom, Prism_3D::TPrismTopo::myBottomEdges, myHelper, Prism_3D::TPrismTopo::myNbEdgesInWires, Prism_3D::TPrismTopo::myRightQuadIndex, Prism_3D::TPrismTopo::myShape3D, Prism_3D::TPrismTopo::myTop, Prism_3D::TPrismTopo::myWallQuads, QUAD_BOTTOM_SIDE, QUAD_RIGHT_SIDE, QUAD_TOP_SIDE, shapeID(), and toSM().
Referenced by initPrism().
|
inherited |
initialize compute error etc.
initialize compute error before call of Compute()
before call of Compute()
References SMESH_Algo::_badInputElements, SMESH_Algo::_comment, SMESH_Algo::_computeCanceled, SMESH_Algo::_error, SMESH_Algo::_mesh, SMESH_Algo::_progress, SMESH_Algo::_progressTic, and COMPERR_OK.
Referenced by SMESH_subMesh::AlgoStateEngine(), Compute(), StdMeshers_Hexa_3D::Compute(), computeBase(), ComputePentahedralMesh(), and SMESH_subMesh::ComputeStateEngine().
|
private |
Analyse shape geometry and mesh.
If there are triangles on one of faces, it becomes 'bottom'
References Prism_3D::TPrismTopo::Clear(), COMPERR_BAD_INPUT_MESH, COMPERR_BAD_SHAPE, SMESH_MesherHelper::Count(), SMESH_Algo::error(), Face, SMESH_subMesh::getDependsOnIterator(), SMESH_MesherHelper::GetMesh(), SMESH_Block::GetOrderedEdges(), SMESH_Mesh::GetSubMesh(), SMESH_Mesh::GetSubMeshContaining(), SMESH_subMesh::GetSubMeshDS(), SMESH_subMesh::GetSubShape(), SMESH_MesherHelper::GetSubShapeOri(), getWallFaces(), SMESH_subMesh::IsEmpty(), SMESH_MesherHelper::IsSameElemGeometry(), SMESH_MesherHelper::IsStructured(), Prism_3D::TPrismTopo::myBottom, Prism_3D::TPrismTopo::myBottomEdges, myHelper, Prism_3D::TPrismTopo::myNbEdgesInWires, Prism_3D::TPrismTopo::myNotQuadOnTop, mySetErrorToSM, Prism_3D::TPrismTopo::myShape3D, Prism_3D::TPrismTopo::myTop, Prism_3D::TPrismTopo::myWallQuads, SMESH_MesherHelper::SetSubShape(), Prism_3D::TPrismTopo::SetUpsideDown(), SMDSGeom_QUADRANGLE, and toSM().
Referenced by Compute().
|
static |
Return true if the algorithm can mesh this shape.
[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 |
References SMESH_MesherHelper::Count(), Face, SMESH_Block::FindBlockShapes(), and SMESH_MesherHelper::WrapIndex().
|
virtual |
Return true if the algorithm can mesh a given shape.
[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 |
bool | - true by default |
Reimplemented from SMESH_3D_Algo.
References SMESH::IsApplicable().
|
virtualinherited |
Return true if me is an auxiliary hypothesis.
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().
|
staticinherited |
Return true if an edge can be considered as a continuation of another.
Referenced by allVerticalEdgesStraight(), and StdMeshers_Quadrangle_2D::checkNbEdgesForEvaluate().
|
staticinherited |
Return true if an edge has no 3D curve.
References SMESH_Algo::EdgeLength(), and Handle().
Referenced by SMESH_subMesh::checkComputeError(), StdMeshers_Quadrangle_2D::CheckNbEdges(), StdMeshers_Import_1D2D::Compute(), SMESH_subMesh::ComputeStateEngine(), StdMeshers_ProjectionUtils::FindFaceAssociation(), VISCOUS_3D::_ViscousBuilder::findShapesToSmooth(), VISCOUS_3D::getConcaveVertices(), StdMeshers_Quadrangle_2D::getCorners(), VISCOUS_3D::getFaceDir(), StdMeshers_PrismAsBlock::GetLayersTransformation(), getWallFaces(), _QuadFaceGrid::Init(), StdMeshers_Quadrangle_2D::IsApplicable(), VISCOUS_3D::isConcave(), isSimpleBottom(), SMESH_Gen::sequentialComputeSubMeshes(), and SMESH_MesherHelper::SetSubShape().
|
inherited |
Compare types of hypotheses.
References SMESHDS_Hypothesis::_name.
Referenced by StdMeshers_Regular_1D::CheckHypothesis(), and SMESH_subMesh::getCollection().
|
private |
Defines if it's safe to use the block approach.
References Face, SMESH_MesherHelper::GetAngle(), SMESH_Algo::isDegenerated(), Prism_3D::TPrismTopo::myBottom, Prism_3D::TPrismTopo::myBottomEdges, myHelper, and Prism_3D::TPrismTopo::myNbEdgesInWires.
Referenced by compute().
|
staticinherited |
References SMESH::HYP_UNKNOWN_FATAL.
Referenced by SMESH_Mesh::AddHypothesis(), SMESH_Mesh_i::AddHypothesis(), SMESH_Mesh_i::addHypothesis(), SMESH_subMesh::AlgoStateEngine(), SMESH_Mesh::RemoveHypothesis(), SMESH_Mesh_i::RemoveHypothesis(), SMESH_Mesh_i::removeHypothesis(), and SMESH_subMesh::SubMeshesAlgoStateEngine().
|
staticinherited |
Return true if an edge can be considered straight.
Referenced by allVerticalEdgesStraight(), Handle(), and VISCOUS_3D::_ViscousBuilder::limitMaxLenByCurvature().
|
virtualinherited |
Loads nothing from a stream.
load | - the stream |
std::ostream | & - the stream |
Implements SMESHDS_Hypothesis.
|
staticinherited |
Load a string from a stream.
|
private |
Create artificial wall quads for vertical projection between the outer and inner walls.
References SMESH_subMesh::COMPUTE, SMESH_subMesh::ComputeStateEngine(), SMESH_subMesh::ComputeSubMeshStateEngine(), SMESH_MesherHelper::GetIsQuadratic(), SMESH_MesherHelper::GetMesh(), SMESH_Mesh::GetSubMesh(), SMESH_subMesh::IsMeshComputed(), myHelper, Prism_3D::TPrismTopo::myWallQuads, Prism_3D::TPrismTopo::NbWires(), StdMeshers_FaceSide::New(), QUAD_LEFT_SIDE, QUAD_RIGHT_SIDE, and FaceQuadStruct::side.
Referenced by computeWalls().
|
inherited |
Referenced by SMESH_subMesh::AlgoStateEngine(), SMESH_subMesh::checkComputeError(), checkConformIgnoredAlgos(), checkMissing(), computeBase(), SMESH_subMesh::ComputeStateEngine(), SMESH_subMesh::Evaluate(), SMESH_Mesh_i::findConcurrentSubMeshes(), SMESH_subMesh::IsConform(), and StdMeshers_ProjectionUtils::SourceNotComputedError().
|
inherited |
Referenced by checkConformIgnoredAlgos(), and SMESH_subMesh::cleanDependsOn().
|
inherited |
Referenced by SMESH_subMesh::AlgoStateEngine().
|
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().
|
inherited |
|
inherited |
|
inherited |
|
virtualinherited |
Equality.
References SMESHDS_Hypothesis::_name.
|
private |
Project mesh faces from a source FACE of one prism to a source FACE of another prism.
bool | - a success or not |
References SMESH_subMesh::CHECK_COMPUTE_STATE, SMESH_subMesh::ComputeStateEngine(), SMESH_subMesh::ComputeSubMeshStateEngine(), SMESHDS_SubMesh::GetElements(), SMESH_MesherHelper::GetMesh(), SMESH_MesherHelper::GetMeshDS(), SMESHDS_SubMesh::GetNodes(), SMESH_Mesh::GetSubMesh(), SMESH_subMesh::GetSubMeshDS(), myHelper, SMESHDS_Mesh::RemoveFreeElement(), and SMESHDS_Mesh::RemoveFreeNode().
Referenced by Compute(), and projectBottomToTop().
|
private |
Remove quadrangles from the top face and create triangles there by projection from the bottom.
Remove faces from the top face and re-create them by projection from the bottom.
bool | - a success or not |
References SMESH_Algo::_computeCanceled, SMESH_MesherHelper::AddFace(), SMESHDS_Mesh::AddNode(), SMESHDS_Mesh::AddPolygonalFace(), SMESH_MeshEditor::CENTROIDAL, Prism_3D::TNode::ChangeParams(), SMESH_MesherHelper::CheckNodeUV(), COMPERR_CANCELED, SMESH_Block::ComputeParameters(), SMESH_Algo::error(), SMESH_Block::FacePoint(), SMESH_Block::FaceUV(), Prism_3D::TNode::GetCoords(), SMESHDS_SubMesh::GetElements(), SMDS_MeshElement::GetID(), SMESH_subMesh::GetId(), SMESH_MesherHelper::GetMesh(), SMESH_MesherHelper::GetMeshDS(), SMDS_MeshElement::GetNode(), StdMeshers_PrismAsBlock::GetNodeColumn(), SMESHDS_SubMesh::GetNodes(), SMESH_MesherHelper::GetNodeUV(), Prism_3D::TNode::GetParams(), SMDS_MeshNode::GetPosition(), SMESH_Mesh::GetSubMesh(), SMESH_subMesh::GetSubMeshDS(), SMDS_MeshElement::GetType(), Handle(), ID_BOT_FACE, ID_TOP_FACE, SMESH_MesherHelper::IsDistorted2D(), Prism_3D::TNode::IsNeighbor(), SMESH_MesherHelper::IsReversedSubMesh(), SMESH_MeshEditor::LAPLACIAN, SMESH_MesherHelper::MaxTolerance(), StdMeshers_PrismAsBlock::Mesh(), SMESHDS_Mesh::MoveNode(), myBlock, myBotToColumnMap, Prism_3D::TPrismTopo::myBottom, myHelper, Prism_3D::TPrismTopo::myTop, myUseBlock, SMESH_MesherHelper::NbAncestors(), SMDS_MeshElement::NbCornerNodes(), SMESHDS_SubMesh::NbElements(), Prism_3D::TPrismTopo::NbWires(), SMESH_ComputeError::New(), project2dMesh(), SMESHDS_Mesh::RemoveFreeElement(), SMESHDS_Mesh::RemoveFreeNode(), SMESH_MesherHelper::SetElementsOnShape(), SMESHDS_Mesh::SetMeshElementOnShape(), SMESHDS_Mesh::SetNodeOnFace(), SMESH_MesherHelper::SetSubShape(), SMESHDS_Mesh::ShapeToIndex(), SMDS_TOP_FACE, SMDSAbs_Face, SMESH_MeshEditor::Smooth(), SMESH_MesherHelper::ToFixNodeParameters(), toSM(), StdMeshers_PrismAsBlock::VerticalSize(), and SMDS_MeshNode::X().
Referenced by assocOrProjBottom2Top().
void StdMeshers_Prism_3D::ProjectTriangles | ( | ) |
Enable removal of quadrangles from the bottom face and triangles creation there by projection from the top (sole face meshed with triangles is considered to be a bottom one).
If there are two faces with triangles, triangles must be of the same topology, else the algo fails. The method must be called before Compute()
|
staticinherited |
Save a string to a stream.
|
virtualinherited |
Saves nothing in a stream.
Usually an algorithm has nothing to save.
save | - the stream |
std::ostream | & - the stream |
Implements SMESHDS_Hypothesis.
|
virtualinherited |
Sets event listener to submeshes if necessary.
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. By default none listener is set
subMesh | - submesh where algo is set |
After being set, event listener is notified on each event of a submesh. By default non listener is set
Reimplemented in StdMeshers_Projection_3D, StdMeshers_Projection_2D, StdMeshers_Projection_1D2D, StdMeshers_Projection_1D, StdMeshers_Regular_1D, StdMeshers_RadialQuadrangle_1D2D, StdMeshers_QuadFromMedialAxis_1D2D, StdMeshers_Import_1D2D, StdMeshers_Import_1D, StdMeshers_CompositeSegment_1D, and StdMeshers_Cartesian_3D.
Referenced by SMESH_subMesh::AlgoStateEngine().
|
private |
Set projection coordinates of a node to a face and it's sub-shapes.
faceID | - the face given by in-block ID |
params | - node normalized parameters |
bool | - is a success |
References SMESH_Block::EdgePoint(), SMESH_Block::FacePoint(), SMESH_Block::GetFaceEdgesIDs(), SMESH_Block::ID_Fx0z, SMESH_Block::ID_Fx1z, myBlock, myShapeXYZ, and SHOWYXZ.
Referenced by compute().
|
inherited |
References SMESH_Hypothesis::_libName.
Referenced by SMESH_Hypothesis_i::SetLibName().
|
virtualinherited |
Initialize my parameter values by default parameters.
bool | - true if parameter values have been successfully defined |
Implements SMESH_Hypothesis.
|
virtualinherited |
Just return false as the algorithm does not hold parameters values.
Implements SMESH_Hypothesis.
|
virtualinherited |
Referenced by SMESH_subMesh::ComputeStateEngine().
|
private |
Return index of a shape.
References SMESH_MesherHelper::GetMeshDS(), myHelper, and SMESHDS_Mesh::ShapeToIndex().
Referenced by computeBase(), computeWalls(), and getWallFaces().
|
inherited |
Return a vector of sub-meshes to Compute()
Referenced by SMESH_subMesh::ComputeStateEngine().
|
virtualinherited |
Allow algo to do something after persistent restoration.
subMesh | - restored submesh |
This method is called only if a submesh has HYP_OK algo_state.
Reimplemented in StdMeshers_Regular_1D, StdMeshers_RadialQuadrangle_1D2D, StdMeshers_Import_1D2D, and StdMeshers_Import_1D.
Referenced by SMESH_subMesh::ComputeStateEngine().
|
inherited |
|
private |
If (!isOK), sets the error to a sub-mesh of a current SOLID.
References SMESH_Algo::_comment, SMESH_Algo::_error, COMPERR_OK, SMESH_subMesh::GetComputeError(), SMESH_Algo::GetComputeError(), SMESH_MesherHelper::GetMesh(), SMESH_Mesh::GetSubMesh(), SMESH_MesherHelper::GetSubShape(), myHelper, and mySetErrorToSM.
Referenced by assocOrProjBottom2Top(), compute(), Compute(), computeWalls(), Evaluate(), getWallFaces(), initPrism(), and projectBottomToTop().
|
staticinherited |
Return the node built on a vertex.
A node moved to other geometry by MergeNodes() is also returned.
V | - the vertex |
mesh | - mesh |
const | SMDS_MeshNode* - found node or NULL |
References SMESH_MesherHelper::GetAncestors(), SMESH_Mesh::GetMeshDS(), SMESH_Mesh::HasModificationsToDiscard(), SMESHDS_Mesh::MeshElements(), and SMESH_Algo::VertexNode().
|
staticinherited |
Return the node built on a vertex.
V | - the vertex |
meshDS | - mesh data structure |
const | SMDS_MeshNode* - found node or NULL |
V | - the vertex |
meshDS | - mesh |
const | SMDS_MeshNode* - found node or NULL |
References SMESHDS_Mesh::MeshElements().
Referenced by StdMeshers_CompositeSegment_1D::Compute(), StdMeshers_Import_1D::Compute(), StdMeshers_Import_1D2D::Compute(), StdMeshers_Projection_1D::Compute(), StdMeshers_Regular_1D::Compute(), computeWalls(), SMESH_Pattern::findExistingNodes(), StdMeshers_ProjectionUtils::FindMatchingNodesOnFaces(), StdMeshers_Quadrangle_2D::getEnforcedUV(), StdMeshers_FaceSide::GetFaceWires(), SMESH_Algo::GetNodeParamOnEdge(), SMESH_Algo::GetSortedNodesOnEdge(), SMESH_MesherHelper::IsStructured(), SMESH_Pattern::Load(), VISCOUS_3D::_ViscousBuilder::makeLayer(), StdMeshers_Cartesian_VL::ViscousBuilder::MakeViscousLayers(), VISCOUS_3D::_SolidData::PrepareEdgesToSmoothOnFace(), SMESH_Algo::VertexNode(), and StdMeshers_FaceSide::VertexNode().
|
staticinherited |
Return the node built on a vertex.
A node moved to other geometry by MergeNodes() is also returned.
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 |
const | SMDS_MeshNode* - found node or NULL |
A node moved to other geometry by MergeNodes() is also returned.
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 |
const | SMDS_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().
|
protectedinherited |
Referenced by SMESH_Algo::GetAssignedShapes(), and SMESH_Algo::GetUsedHypothesis().
|
protectedinherited |
to explain COMPERR_BAD_INPUT_MESH
Referenced by SMESH_Algo::addBadInputElement(), SMESH_Algo::error(), SMESH_Algo::GetComputeError(), and SMESH_Algo::InitComputeError().
|
protectedinherited |
any text explaining what is wrong in Compute()
Referenced by SMESH_Algo::error(), SMESH_Algo::GetComputeError(), SMESH_Algo::InitComputeError(), and toSM().
|
protectedinherited |
Referenced by SMESH_Algo::GetCompatibleHypoFilter(), and SMESH_Algo::SMESH_Algo().
|
protectedinherited |
Referenced by StdMeshers_Import_1D::CheckHypothesis(), StdMeshers_Import_1D2D::CheckHypothesis(), SMESH_Algo::GetCompatibleHypoFilter(), SMESH_Algo::GetCompatibleHypothesis(), StdMeshers_Cartesian_3D::StdMeshers_Cartesian_3D(), StdMeshers_Hexa_3D::StdMeshers_Hexa_3D(), StdMeshers_Import_1D::StdMeshers_Import_1D(), StdMeshers_Import_1D2D::StdMeshers_Import_1D2D(), StdMeshers_PolyhedronPerSolid_3D::StdMeshers_PolyhedronPerSolid_3D(), StdMeshers_Projection_1D::StdMeshers_Projection_1D(), StdMeshers_Projection_2D::StdMeshers_Projection_2D(), StdMeshers_Projection_3D::StdMeshers_Projection_3D(), StdMeshers_QuadFromMedialAxis_1D2D::StdMeshers_QuadFromMedialAxis_1D2D(), StdMeshers_Quadrangle_2D::StdMeshers_Quadrangle_2D(), StdMeshers_RadialPrism_3D::StdMeshers_RadialPrism_3D(), StdMeshers_RadialQuadrangle_1D2D::StdMeshers_RadialQuadrangle_1D2D(), StdMeshers_Regular_1D::StdMeshers_Regular_1D(), and StdMeshers_SegmentAroundVertex_0D::StdMeshers_SegmentAroundVertex_0D().
|
protectedinherited |
Referenced by SMESH_Algo::GetCompatibleHypoFilter(), and SMESH_Algo::SMESH_Algo().
|
protectedinherited |
is set to True while computing to stop it
Referenced by SMESH_Algo::CancelCompute(), compute(), StdMeshers_Cartesian_3D::Compute(), Compute(), SMESH_Algo::InitComputeError(), and projectBottomToTop().
|
protectedinherited |
SMESH_ComputeErrorName or anything algo specific.
Referenced by SMESH_Algo::CancelCompute(), SMESH_Algo::error(), SMESH_Algo::GetComputeError(), SMESH_Algo::InitComputeError(), SMESH_Algo::SMESH_Algo(), and toSM().
|
protectedinherited |
Referenced by assocOrProjBottom2Top(), StdMeshers_Hexa_3D::Compute(), StdMeshers_Import_1D::Compute(), StdMeshers_Import_1D2D::Compute(), StdMeshers_QuadFromMedialAxis_1D2D::Compute(), computeBase(), StdMeshers_RadialQuadrangle_1D2D::computeLayerPositions(), StdMeshers_Hexa_3D::Evaluate(), StdMeshers_Projection_1D2D::Evaluate(), StdMeshers_Projection_2D::Evaluate(), StdMeshers_Adaptive1D::GetAlgo(), StdMeshers_ImportSource1D::GetGroups(), SMESH_Hypothesis::GetMeshByPersistentID(), StdMeshers_ImportSource1D::GetResultGroups(), StdMeshers_ImportSource1D::GetSourceMeshes(), SMESH_Hypothesis::NotifySubMeshesHypothesisModification(), StdMeshers_ImportSource1D::RestoreGroups(), StdMeshers_ViscousLayers2D::RestoreListeners(), SMESH_Hypothesis::SMESH_Hypothesis(), StdMeshers_Hexa_3D::StdMeshers_Hexa_3D(), and SMESH_Hypothesis::~SMESH_Hypothesis().
|
protectedinherited |
Referenced by SMESH_Hypothesis::~SMESH_Hypothesis().
|
privateinherited |
Referenced by SMESH_Hypothesis::GetLibName(), and SMESH_Hypothesis::SetLibName().
|
protectedinherited |
mesh being computed, needed to create SMESH_BadInputElements
Referenced by SMESH_Algo::addBadInputElements(), SMESH_Algo::error(), SMESH_Algo::GetComputeError(), and SMESH_Algo::InitComputeError().
|
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_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().
|
protectedinherited |
|
protectedinherited |
|
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().
|
protectedinherited |
|
protectedinherited |
Referenced by SMESH_Algo::GetProgressByTic(), and SMESH_Algo::InitComputeError().
|
protectedinherited |
Referenced by StdMeshers_Quadrangle_2D::CheckAnd2Dcompute(), StdMeshers_Quadrangle_2D::CheckNbEdges(), StdMeshers_CompositeHexa_3D::Compute(), StdMeshers_CompositeSegment_1D::Compute(), StdMeshers_Hexa_3D::Compute(), StdMeshers_PolygonPerFace_2D::Compute(), StdMeshers_PolyhedronPerSolid_3D::Compute(), StdMeshers_Projection_1D2D::Compute(), StdMeshers_Quadrangle_2D::Compute(), StdMeshers_PolyhedronPerSolid_3D::Evaluate(), StdMeshers_Projection_1D2D::Evaluate(), SMESH_Algo::NumberOfPoints(), SMESH_Algo::SMESH_Algo(), and StdMeshers_Quadrangle_2D::smooth().
|
protectedinherited |
Referenced by SMESH_Algo::SMESH_Algo(), StdMeshers_Cartesian_3D::StdMeshers_Cartesian_3D(), StdMeshers_Import_1D2D::StdMeshers_Import_1D2D(), StdMeshers_PolyhedronPerSolid_3D::StdMeshers_PolyhedronPerSolid_3D(), StdMeshers_Prism_3D(), StdMeshers_Projection_1D2D::StdMeshers_Projection_1D2D(), StdMeshers_QuadFromMedialAxis_1D2D::StdMeshers_QuadFromMedialAxis_1D2D(), and StdMeshers_RadialQuadrangle_1D2D::StdMeshers_RadialQuadrangle_1D2D().
|
protectedinherited |
|
protectedinherited |
Referenced by SMESH_Hypothesis::GetShapeType(), SMESH_0D_Algo::SMESH_0D_Algo(), SMESH_1D_Algo::SMESH_1D_Algo(), SMESH_2D_Algo::SMESH_2D_Algo(), SMESH_3D_Algo::SMESH_3D_Algo(), SMESH_Hypothesis::SMESH_Hypothesis(), StdMeshers_Cartesian_3D::StdMeshers_Cartesian_3D(), StdMeshers_CompositeHexa_3D::StdMeshers_CompositeHexa_3D(), StdMeshers_Hexa_3D::StdMeshers_Hexa_3D(), StdMeshers_Import_1D::StdMeshers_Import_1D(), StdMeshers_Import_1D2D::StdMeshers_Import_1D2D(), StdMeshers_Prism_3D(), StdMeshers_Projection_1D::StdMeshers_Projection_1D(), StdMeshers_Projection_3D::StdMeshers_Projection_3D(), StdMeshers_QuadFromMedialAxis_1D2D::StdMeshers_QuadFromMedialAxis_1D2D(), StdMeshers_Quadrangle_2D::StdMeshers_Quadrangle_2D(), 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_UseExisting_1D::StdMeshers_UseExisting_1D(), and StdMeshers_UseExisting_2D::StdMeshers_UseExisting_2D().
|
protectedinherited |
Referenced by SMESH_Algo::GetProgressByTic().
|
protectedinherited |
Referenced by SMESH_Algo::SMESH_Algo(), StdMeshers_Cartesian_3D::StdMeshers_Cartesian_3D(), StdMeshers_Import_1D2D::StdMeshers_Import_1D2D(), StdMeshers_PolyhedronPerSolid_3D::StdMeshers_PolyhedronPerSolid_3D(), StdMeshers_Prism_3D(), StdMeshers_Projection_1D2D::StdMeshers_Projection_1D2D(), StdMeshers_QuadFromMedialAxis_1D2D::StdMeshers_QuadFromMedialAxis_1D2D(), and StdMeshers_RadialQuadrangle_1D2D::StdMeshers_RadialQuadrangle_1D2D().
|
protectedinherited |
|
protectedinherited |
Referenced by StdMeshers_QuadFromMedialAxis_1D2D::Algo1D::CheckHypothesis(), StdMeshers_QuadFromMedialAxis_1D2D::Algo1D::GetUsedHypothesis(), SMESH_Algo::GetUsedHypothesis(), StdMeshers_QuadFromMedialAxis_1D2D::Algo1D::SetRadialDistribution(), and StdMeshers_QuadFromMedialAxis_1D2D::Algo1D::SetSegmentLength().
|
private |
Referenced by assocOrProjBottom2Top(), compute(), projectBottomToTop(), and setFaceAndEdgesXYZ().
|
private |
Referenced by assocOrProjBottom2Top(), compute(), and projectBottomToTop().
|
private |
|
private |
Referenced by Compute(), computeBase(), and StdMeshers_Prism_3D().
|
private |
|
private |
Referenced by Compute(), and findPropagationSource().
|
private |
Referenced by Compute(), initPrism(), StdMeshers_Prism_3D(), and toSM().
|
private |
Referenced by compute(), and setFaceAndEdgesXYZ().
|
private |
Referenced by compute(), and projectBottomToTop().