#include <StdMeshers_Hexa_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_CONCURENT, 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 | hypothesis_type { PARAM_ALGO, ALGO_0D, ALGO_1D, ALGO_2D, ALGO_3D } |
Public Member Functions | |
StdMeshers_Hexa_3D (int hypId, int studyId, SMESH_Gen *gen) | |
Constructor. More... | |
virtual | ~StdMeshers_Hexa_3D () |
Destructor. More... | |
virtual bool | CheckHypothesis (SMESH_Mesh &aMesh, const TopoDS_Shape &aShape, SMESH_Hypothesis::Hypothesis_Status &aStatus) |
Retrieves defined hypotheses. More... | |
virtual bool | Compute (SMESH_Mesh &aMesh, const TopoDS_Shape &aShape) |
Generates hexahedron mesh on hexaedron like form using algorithm from "Application de l'interpolation transfinie � la cr�ation de maillages C0 ou G1 continus sur des triangles, quadrangles, tetraedres, pentaedres et hexaedres d�form�s. More... | |
virtual bool | Compute (SMESH_Mesh &aMesh, SMESH_MesherHelper *aHelper) |
Computes hexahedral mesh from 2D mesh of block. More... | |
virtual bool | Evaluate (SMESH_Mesh &aMesh, const TopoDS_Shape &aShape, MapShapeNbElems &aResMap) |
Evaluate. 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 () |
Returns all types of compatible hypotheses. 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 |
Returns a list of compatible hypotheses used to mesh a shape. More... | |
const std::list< const SMESHDS_Hypothesis * > & | GetAppliedHypothesis (SMESH_Mesh &aMesh, const TopoDS_Shape &aShape, const bool ignoreAuxiliary=true) const |
Returns a list of compatible hypotheses assigned to a shape in a mesh. More... | |
const SMESH_HypoFilter * | GetCompatibleHypoFilter (const bool ignoreAuxiliary) const |
Returns 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 | 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... | |
int | NumberOfPoints (SMESH_Mesh &aMesh, const TopoDS_Wire &W) |
virtual int | GetDim () const |
int | GetStudyId () 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) |
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 | 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) |
Returns 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) |
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) |
Protected Attributes | |
const StdMeshers_ViscousLayers * | _viscousLayersHyp |
const SMESH_HypoFilter * | _compatibleAllHypFilter |
const SMESH_HypoFilter * | _compatibleNoAuxHypFilter |
std::vector< std::string > | _compatibleHypothesis |
std::list< const SMESHDS_Hypothesis * > | _appliedHypList |
std::list< const SMESHDS_Hypothesis * > | _usedHypList |
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... | |
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 | _studyId |
int | _shapeType |
int | _param_algo_dim |
std::string | _name |
int | _hypId |
hypothesis_type | _type |
|
inherited |
|
inherited |
|
inherited |
Constructor.
References SMESH_Algo::_compatibleHypothesis, SMESHDS_Hypothesis::_name, SMESH_Algo::_requireShape, and SMESH_Hypothesis::_shapeType.
|
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()
Referenced by StdMeshers_Projection_2D::Compute().
|
protectedinherited |
References SMESHDS_SubMesh::GetElements(), and SMESHDS_SubMesh::GetNodes().
Referenced by StdMeshers_Projection_2D::Compute().
|
virtualinherited |
Sets _computeCanceled to true.
It's usage depends on implementation of a particular mesher.
Reimplemented in StdMeshers_Regular_1D.
References COMPERR_CANCELED.
Referenced by StdMeshers_Regular_1D::CancelCompute().
|
virtual |
Retrieves defined hypotheses.
Implements SMESH_Algo.
References SMESH::HYP_INCOMPATIBLE, SMESH_Hypothesis::HYP_OK, and SMESH::HYP_OK.
|
virtual |
Generates hexahedron mesh on hexaedron like form using algorithm from "Application de l'interpolation transfinie � la cr�ation de maillages C0 ou G1 continus sur des triangles, quadrangles, tetraedres, pentaedres et hexaedres d�form�s.
" Alain PERONNET - 8 janvier 1999
Implements SMESH_Algo.
References SMESH_MesherHelper::AddNode(), SMESH_MesherHelper::AddVolume(), B_BACK, B_BOTTOM, B_FRONT, B_LEFT, B_RIGHT, B_TOP, COMPERR_BAD_SHAPE, ComputePentahedralMesh(), COO_X, COO_Y, COO_Z, SMDS_MeshElement::GetNode(), SMESH_MesherHelper::GetNodeU(), SMESH_Block::ID_E00z, SMESH_Block::ID_E01z, SMESH_Block::ID_E0y0, SMESH_Block::ID_E0y1, SMESH_Block::ID_E10z, SMESH_Block::ID_E11z, SMESH_Block::ID_E1y0, SMESH_Block::ID_E1y1, SMESH_Block::ID_Ex00, SMESH_Block::ID_Ex01, SMESH_Block::ID_Ex10, SMESH_Block::ID_Ex11, SMESH_Block::ID_F0yz, SMESH_Block::ID_F1yz, SMESH_Block::ID_Fx0z, SMESH_Block::ID_Fx1z, SMESH_Block::ID_Fxy0, SMESH_Block::ID_Fxy1, SMESH_Block::ID_Shell, SMESH_Block::ID_V000, SMESH_Block::ID_V001, SMESH_Block::ID_V010, SMESH_Block::ID_V011, SMESH_Block::ID_V100, SMESH_Block::ID_V101, SMESH_Block::ID_V110, SMESH_Block::ID_V111, SMESH_MesherHelper::IsQuadraticSubMesh(), SMESH_MesherHelper::IsSameElemGeometry(), SMESH_MesherHelper::LoadNodeColumns(), SMESHDS_Mesh::MeshElements(), SMESHDS_SubMesh::NbElements(), Q_BOTTOM, Q_LEFT, Q_RIGHT, Q_TOP, SMESH_MesherHelper::SetElementsOnShape(), SMESH_MesherHelper::SetSubShape(), SMESH_Block::ShellPoint(), SMDSGeom_QUADRANGLE, and SMESH_MesherHelper::ToFixNodeParameters().
|
virtual |
Computes hexahedral mesh from 2D mesh of block.
Reimplemented from SMESH_Algo.
References StdMeshers_HexaFromSkin_3D::Compute(), SMESH_Algo::GetComputeError(), SMESH_Hypothesis::GetGen(), and SMESH_Algo::InitComputeError().
|
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.
|
staticinherited |
Compute length of an edge.
E | - the edge |
double | - the length |
References Handle().
Referenced by StdMeshers_ProjectionUtils::FindFaceAssociation(), VISCOUS_3D::_ViscousBuilder::findShapesToSmooth(), StdMeshers_Quadrangle_2D::getCorners(), SMESH_MesherHelper::LoadNodeColumns(), VISCOUS_3D::_Smoother1D::prepare(), StdMeshers_AutomaticLength::SetParametersByMesh(), StdMeshers_FaceSide::StdMeshers_FaceSide(), and VISCOUS_3D::_ViscousBuilder::updateNormalsOfC1Vertices().
|
protectedinherited |
store error and comment and then return ( error == COMPERR_OK )
Referenced by StdMeshers_HexaFromSkin_3D::Compute(), StdMeshers_CompositeHexa_3D::Compute(), TNodeDistributor::Compute(), StdMeshers_HexaFromSkin_3D::Evaluate(), and StdMeshers_CompositeHexa_3D::findBoxFaces().
|
protectedinherited |
store COMPERR_ALGO_FAILED error and comment and then return false
References COMPERR_ALGO_FAILED, and SMESH_Algo::error().
Referenced by SMESH_Algo::error().
|
protectedinherited |
store error and return error->IsOK()
store error and return ( error == COMPERR_OK )
|
virtual |
Evaluate.
Implements SMESH_Algo.
References COMPERR_ALGO_FAILED, StdMeshers_CompositeHexa_3D::Evaluate(), EvaluatePentahedralMesh(), Max(), SMDSEntity_Edge, SMDSEntity_Hexa, SMDSEntity_Last, SMDSEntity_Node, SMDSEntity_Quad_Edge, SMDSEntity_Quad_Hexa, SMDSEntity_Quad_Quadrangle, SMDSEntity_Quad_Triangle, SMDSEntity_Quadrangle, and SMDSEntity_Triangle.
|
inherited |
Returns a list of compatible hypotheses assigned to a shape in a mesh.
List the relevant hypothesis 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 relevant hypothesis associated to the shape. Relevant hypothesis have a name (type) listed in the algorithm. Hypothesis associated to father shape -are not- taken into account (see GetUsedHypothesis)
Relevant hypothesis have a name (type) listed in the algorithm. Hypothesis associated to father shape -are not- taken into account (see GetUsedHypothesis)
References me.
|
inherited |
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_HypoFilter::AndNot(), SMESH_HypoFilter::HasName(), SMESH_HypoFilter::Init(), SMESH_HypoFilter::IsAuxiliary(), me, and SMESH_HypoFilter::Or().
|
inherited |
Returns all types of compatible hypotheses.
|
inherited |
|
virtualinherited |
Referenced by SMESH_Gen::TAlgoStateError::Set().
|
staticinherited |
Returns 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, SMESH_Gen::GetPluginXMLPaths(), SMDSGeom_EDGE, SMDSGeom_QUADRANGLE, and SMDSGeom_TRIANGLE.
|
inherited |
References SMESH_Algo::GetFeatures().
Referenced by SMESH_Algo::GetFeatures().
|
inherited |
Referenced by SMESHDS_Document::AddHypothesis().
|
virtualinherited |
|
inherited |
Find a mesh with given persistent ID.
References studyContextStruct::mapMesh.
|
staticinherited |
Finds topological errors of a sub-mesh.
References SMESHDS_SubMesh::GetElements(), SMDS_VolumeTool::GetFaceNodes(), SMDS_MeshElement::GetNode(), SMDS_MeshNode::GetPosition(), SMDS_Position::GetTypeOfPosition(), SMDS_VolumeTool::IsFreeFace(), 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 StdMeshers_Projection_3D::CheckHypothesis(), StdMeshers_Projection_2D::CheckHypothesis(), StdMeshers_Import_1D2D::CheckHypothesis(), StdMeshers_Import_1D::CheckHypothesis(), StdMeshers_Projection_1D::CheckHypothesis(), StdMeshers_RadialQuadrangle_1D2D::CheckHypothesis(), StdMeshers_RadialPrism_3D::CheckHypothesis(), StdMeshers_Regular_1D::CheckHypothesis(), StdMeshers_MEFISTO_2D::CheckHypothesis(), and StdMeshers_Quadrangle_2D::CheckHypothesis().
|
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(), SMDS_MeshNode::GetPosition(), SMDS_Position::GetTypeOfPosition(), SMDS_EdgePosition::GetUParameter(), SMESHDS_Mesh::MeshElements(), second, and SMDS_TOP_EDGE.
Referenced by StdMeshers_Projection_1D::Compute(), StdMeshers_Projection_1D::Evaluate(), StdMeshers_Geometric1D::SetParametersByMesh(), StdMeshers_Deflection1D::SetParametersByMesh(), StdMeshers_MaxLength::SetParametersByMesh(), StdMeshers_LocalLength::SetParametersByMesh(), StdMeshers_StartEndLength::SetParametersByMesh(), and StdMeshers_Arithmetic1D::SetParametersByMesh().
|
virtualinherited |
If possible, returns progress of computation [0.,1.
]
|
inherited |
Return compute progress by nb of calls of this method.
|
virtualinherited |
|
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(), SMDS_Position::GetTypeOfPosition(), SMDS_EdgePosition::GetUParameter(), SMESH_MesherHelper::IsMedium(), SMESHDS_Mesh::MeshElements(), SMESHDS_SubMesh::NbElements(), SMESHDS_SubMesh::NbNodes(), and SMDS_TOP_EDGE.
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().
|
inherited |
|
inherited |
Referenced by checkConformIgnoredAlgos(), SMESH_Hypothesis::IsAuxiliary(), and SMESH_Mesh::IsUsedHypothesis().
|
virtualinherited |
Returns 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 me.
Referenced by StdMeshers_SegmentAroundVertex_0D::CheckHypothesis(), and StdMeshers_Regular_1D::GetUsedHypothesis().
|
inherited |
initialize compute error etc.
initialize compute error before call of Compute()
before call of Compute()
References COMPERR_OK.
Referenced by Compute().
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().
|
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().
|
staticinherited |
Return true if an edge can be considered as a continuation of another.
Referenced by StdMeshers_Quadrangle_2D::checkNbEdgesForEvaluate(), and _QuadFaceGrid::Init().
|
staticinherited |
Return true if an edge has no 3D curve.
References Handle().
Referenced by SMESH_subMesh::checkComputeError(), StdMeshers_Quadrangle_2D::CheckNbEdges(), StdMeshers_Import_1D2D::Compute(), StdMeshers_Cartesian_3D::Compute(), StdMeshers_ProjectionUtils::FindFaceAssociation(), VISCOUS_3D::_ViscousBuilder::findShapesToSmooth(), VISCOUS_3D::getConcaveVertices(), StdMeshers_Quadrangle_2D::getCorners(), VISCOUS_3D::getFaceDir(), StdMeshers_PrismAsBlock::GetLayersTransformation(), StdMeshers_Prism_3D::getWallFaces(), StdMeshers_Quadrangle_2D::IsApplicable(), VISCOUS_3D::isConcave(), StdMeshers_Prism_3D::isSimpleBottom(), and SMESH_MesherHelper::SetSubShape().
|
inherited |
Compare types of hypotheses.
References SMESHDS_Hypothesis::_name.
Referenced by StdMeshers_Regular_1D::CheckHypothesis().
|
staticinherited |
|
staticinherited |
Return true if an edge can be considered straight.
References Min().
Referenced by Handle(), and VISCOUS_3D::_ViscousBuilder::limitMaxLenByCurvature().
|
virtualinherited |
Loads nothing from a stream.
load | - the stream |
std::ostream | & - the stream |
Implements SMESHDS_Hypothesis.
|
inherited |
|
inherited |
|
virtualinherited |
References studyContextStruct::mapMesh.
Referenced by StdMeshers_Reversible1D::SetReversedEdges(), and StdMeshers_ProjectionSource2D::SetSourceMesh().
|
inherited |
References Edge.
|
inherited |
|
inherited |
|
virtualinherited |
Equality.
References SMESHDS_Hypothesis::_name.
|
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_Regular_1D, StdMeshers_Projection_1D, StdMeshers_Projection_2D, StdMeshers_Projection_3D, StdMeshers_Cartesian_3D, StdMeshers_QuadFromMedialAxis_1D2D, StdMeshers_CompositeSegment_1D, StdMeshers_Import_1D, StdMeshers_Import_1D2D, and StdMeshers_Projection_1D2D.
|
inherited |
|
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.
|
inherited |
Return a vector of sub-meshes to Compute()
|
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_1D, and StdMeshers_Import_1D2D.
|
inherited |
|
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_Regular_1D::Compute(), StdMeshers_Prism_3D::computeWalls(), SMESH_Pattern::findExistingNodes(), StdMeshers_ProjectionUtils::FindMatchingNodesOnFaces(), StdMeshers_Quadrangle_2D::getEnforcedUV(), StdMeshers_FaceSide::GetFaceWires(), SMESH_MesherHelper::IsStructured(), VISCOUS_3D::_ViscousBuilder::makeLayer(), 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 |
mesh | - mesh |
const | SMDS_MeshNode* - found node or NULL |
References SMESH_MesherHelper::GetAncestors().
|
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 |
|
protectedinherited |
|
protectedinherited |
to explain COMPERR_BAD_INPUT_MESH
|
protectedinherited |
any text explaining what is wrong in Compute()
|
protectedinherited |
Referenced by SMESH_Algo::SMESH_Algo().
|
protectedinherited |
Referenced by StdMeshers_Cartesian_3D::StdMeshers_Cartesian_3D(), StdMeshers_Hexa_3D(), StdMeshers_Import_1D::StdMeshers_Import_1D(), StdMeshers_Import_1D2D::StdMeshers_Import_1D2D(), StdMeshers_MEFISTO_2D::StdMeshers_MEFISTO_2D(), 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(), and StdMeshers_Regular_1D::StdMeshers_Regular_1D().
|
protectedinherited |
Referenced by SMESH_Algo::SMESH_Algo().
|
protectedinherited |
is set to True while computing to stop it
|
protectedinherited |
SMESH_ComputeErrorName or anything algo specific.
Referenced by SMESH_Algo::SMESH_Algo().
|
protectedinherited |
Referenced by SMESH_Hypothesis::SMESH_Hypothesis().
|
protectedinherited |
|
protectedinherited |
Referenced by SMESHDS_Hypothesis::IsSameName(), SMESHDS_Hypothesis::operator==(), StdMeshers_Adaptive1D::StdMeshers_Adaptive1D(), StdMeshers_Arithmetic1D::StdMeshers_Arithmetic1D(), StdMeshers_AutomaticLength::StdMeshers_AutomaticLength(), 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_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_MEFISTO_2D::StdMeshers_MEFISTO_2D(), StdMeshers_NotConformAllowed::StdMeshers_NotConformAllowed(), StdMeshers_NumberOfLayers::StdMeshers_NumberOfLayers(), StdMeshers_NumberOfLayers2D::StdMeshers_NumberOfLayers2D(), StdMeshers_NumberOfSegments::StdMeshers_NumberOfSegments(), StdMeshers_PolygonPerFace_2D::StdMeshers_PolygonPerFace_2D(), 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_StartEndLength::StdMeshers_StartEndLength(), StdMeshers_ViscousLayers::StdMeshers_ViscousLayers(), and StdMeshers_ViscousLayers2D::StdMeshers_ViscousLayers2D().
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
Referenced by SMESH_Hypothesis::SMESH_Hypothesis(), StdMeshers_Adaptive1D::StdMeshers_Adaptive1D(), StdMeshers_Arithmetic1D::StdMeshers_Arithmetic1D(), StdMeshers_AutomaticLength::StdMeshers_AutomaticLength(), 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_StartEndLength::StdMeshers_StartEndLength(), StdMeshers_ViscousLayers::StdMeshers_ViscousLayers(), and StdMeshers_ViscousLayers2D::StdMeshers_ViscousLayers2D().
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
Referenced by StdMeshers_CompositeHexa_3D::Compute(), and SMESH_Algo::SMESH_Algo().
|
protectedinherited |
Referenced by SMESH_Algo::SMESH_Algo(), StdMeshers_Cartesian_3D::StdMeshers_Cartesian_3D(), StdMeshers_Import_1D2D::StdMeshers_Import_1D2D(), StdMeshers_Prism_3D::StdMeshers_Prism_3D(), StdMeshers_Projection_1D2D::StdMeshers_Projection_1D2D(), StdMeshers_QuadFromMedialAxis_1D2D::StdMeshers_QuadFromMedialAxis_1D2D(), and StdMeshers_RadialQuadrangle_1D2D::StdMeshers_RadialQuadrangle_1D2D().
|
protectedinherited |
Referenced by SMESH_Algo::SMESH_Algo(), and StdMeshers_Hexa_3D().
|
protectedinherited |
Referenced by 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_Import_1D::StdMeshers_Import_1D(), StdMeshers_Import_1D2D::StdMeshers_Import_1D2D(), StdMeshers_MEFISTO_2D::StdMeshers_MEFISTO_2D(), StdMeshers_Prism_3D::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(), and StdMeshers_Regular_1D::StdMeshers_Regular_1D().
|
protectedinherited |
|
protectedinherited |
Referenced by SMESH_Hypothesis::SMESH_Hypothesis().
|
protectedinherited |
Referenced by SMESH_Algo::SMESH_Algo(), StdMeshers_Cartesian_3D::StdMeshers_Cartesian_3D(), StdMeshers_Import_1D2D::StdMeshers_Import_1D2D(), StdMeshers_Prism_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 |
|
protected |