mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-11-11 16:19:16 +05:00
typo-fix by Kunda
http://www.salome-platform.org/forum/forum_10/195000978
This commit is contained in:
parent
04f9972521
commit
80637e48ef
@ -190,7 +190,7 @@ filters over-constrained faces:
|
||||
\section filter_double_elements Double edges, Double faces, Double volumes
|
||||
|
||||
filters mesh elements basing on the same set of nodes:
|
||||
- element type is either \a SMESH.EGDE, \a SMESH.FACE or \a SMESH.VOLUME
|
||||
- element type is either \a SMESH.EDGE, \a SMESH.FACE or \a SMESH.VOLUME
|
||||
- functor type is either \a SMESH.FT_EqualEdges, \a
|
||||
SMESH.FT_EqualFaces or \a SMESH.FT_EqualVolumes,
|
||||
- threshold value is not required
|
||||
|
@ -247,7 +247,7 @@ int GmfOpenMesh(const char *FilNam, int mod, ...)
|
||||
return(0);
|
||||
}
|
||||
|
||||
/* Open the file in the required mod and initialyse the mesh structure */
|
||||
/* Open the file in the required mod and initialise the mesh structure */
|
||||
|
||||
if(msh->mod == GmfRead)
|
||||
{
|
||||
|
@ -2460,7 +2460,7 @@ namespace
|
||||
ip._faceIDs = e2fIt->second;
|
||||
ip._shapeID = edgeID;
|
||||
|
||||
// discretize the EGDE
|
||||
// discretize the EDGE
|
||||
GCPnts_UniformDeflection discret( curve, deflection, true );
|
||||
if ( !discret.IsDone() || discret.NbPoints() < 2 )
|
||||
continue;
|
||||
|
@ -577,7 +577,7 @@ bool StdMeshers_CompositeHexa_3D::findBoxFaces( const TopoDS_Shape& shape,
|
||||
* \brief Computes hexahedral mesh on a box with composite sides
|
||||
* \param aMesh - mesh to compute
|
||||
* \param aShape - shape to mesh
|
||||
* \retval bool - succes sign
|
||||
* \retval bool - success sign
|
||||
*/
|
||||
//================================================================================
|
||||
|
||||
|
@ -574,7 +574,7 @@ double StdMeshers_Penta_3D::SetHorizEdgeXYZ(const gp_XYZ& aBase
|
||||
SMESH_Block::GetFaceEdgesIDs( aFaceID, edgeVec );
|
||||
//
|
||||
int coord = SMESH_Block::GetCoordIndOnEdge( edgeVec[ BASE ] );
|
||||
bool isForward = myBlock.IsForwadEdge( edgeVec[ BASE ] );
|
||||
bool isForward = myBlock.IsForwardEdge( edgeVec[ BASE ] );
|
||||
|
||||
double param = aBaseNodeParams.Coord( coord );
|
||||
if ( !isForward)
|
||||
@ -1543,7 +1543,7 @@ bool StdMeshers_Penta_3D::LoadIJNodes(StdMeshers_IJNodeMap & theIJNodes,
|
||||
}
|
||||
// look for a not loaded node of the <face>
|
||||
bool found = false;
|
||||
const SMDS_MeshNode* n3 = 0; // a node defferent from n1 and n2
|
||||
const SMDS_MeshNode* n3 = 0; // a node different from n1 and n2
|
||||
eIt = face->nodesIterator() ;
|
||||
while ( !found && eIt->more() ) {
|
||||
node = static_cast<const SMDS_MeshNode*>( eIt->next() );
|
||||
@ -1609,11 +1609,11 @@ StdMeshers_SMESHBlock::StdMeshers_SMESHBlock()
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : IsForwadEdge
|
||||
//function : IsForwardEdge
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
bool StdMeshers_SMESHBlock::IsForwadEdge(const int theEdgeID)
|
||||
bool StdMeshers_SMESHBlock::IsForwardEdge(const int theEdgeID)
|
||||
{
|
||||
int index = myTBlock.ShapeIndex( theEdgeID );
|
||||
if ( !myTBlock.IsEdgeID( theEdgeID ))
|
||||
|
@ -86,7 +86,7 @@ public:
|
||||
|
||||
SMESH_Block & Block() { return myTBlock; }
|
||||
|
||||
bool IsForwadEdge(const int theEdgeID);
|
||||
bool IsForwardEdge(const int theEdgeID);
|
||||
|
||||
int ErrorStatus() const;
|
||||
|
||||
|
@ -3063,7 +3063,7 @@ bool StdMeshers_Prism_3D::IsApplicable(const TopoDS_Shape & shape, bool toCheckA
|
||||
|
||||
if ( side._topEdge.IsNull() )
|
||||
{
|
||||
// find vertical EDGEs --- EGDEs shared with neighbor side FACEs
|
||||
// find vertical EDGEs --- EDGEs shared with neighbor side FACEs
|
||||
for ( int is2nd = 0; is2nd < 2 && isOK; ++is2nd ) // 2 adjacent neighbors
|
||||
{
|
||||
int di = is2nd ? 1 : -1;
|
||||
|
@ -1019,7 +1019,7 @@ namespace
|
||||
* \param [in] theDivPoints - projections of VERTEXes to MA
|
||||
* \param [in] theSinuEdges - the sinuous EDGEs
|
||||
* \param [in] theSideEdgeIDs - indices of sinuous EDGEs per side
|
||||
* \param [in] theIsEdgeComputed - is sinuous EGDE is meshed
|
||||
* \param [in] theIsEdgeComputed - is sinuous EDGE is meshed
|
||||
* \param [in,out] thePointsOnE - the map to fill
|
||||
* \param [out] theNodes2Merge - the map of nodes to merge
|
||||
*/
|
||||
@ -1642,7 +1642,7 @@ namespace
|
||||
//================================================================================
|
||||
/*!
|
||||
* \brief Divide the sinuous EDGEs by projecting the division point of Medial
|
||||
* Axis to the EGDEs
|
||||
* Axis to the EDGEs
|
||||
* \param [in] theHelper - the helper
|
||||
* \param [in] theMinSegLen - minimal segment length
|
||||
* \param [in] theMA - the Medial Axis
|
||||
|
@ -764,7 +764,7 @@ namespace VISCOUS_3D
|
||||
// Convex FACEs whose radius of curvature is less than the thickness of layers
|
||||
map< TGeomID, _ConvexFace > _convexFaces;
|
||||
|
||||
// shapes (EDGEs and VERTEXes) srink from which is forbidden due to collisions with
|
||||
// shapes (EDGEs and VERTEXes) shrink from which is forbidden due to collisions with
|
||||
// the adjacent SOLID
|
||||
set< TGeomID > _noShrinkShapes;
|
||||
|
||||
@ -3082,7 +3082,7 @@ bool _ViscousBuilder::findShapesToSmooth( _SolidData& data )
|
||||
}
|
||||
|
||||
|
||||
// Fill _eosC1 to make that C1 FACEs and EGDEs between them to be smoothed as a whole
|
||||
// Fill _eosC1 to make that C1 FACEs and EDGEs between them to be smoothed as a whole
|
||||
|
||||
TopTools_MapOfShape c1VV;
|
||||
|
||||
@ -10331,7 +10331,7 @@ bool _ViscousBuilder::shrink(_SolidData& theData)
|
||||
vector< _EdgesOnShape* > subEOS;
|
||||
vector< _LayerEdge* > lEdges;
|
||||
|
||||
// loop on FACEs to srink mesh on
|
||||
// loop on FACEs to shrink mesh on
|
||||
map< TGeomID, list< _SolidData* > >::iterator f2sd = f2sdMap.begin();
|
||||
for ( ; f2sd != f2sdMap.end(); ++f2sd )
|
||||
{
|
||||
@ -10481,13 +10481,13 @@ bool _ViscousBuilder::shrink(_SolidData& theData)
|
||||
if ( eos.SWOLType() == TopAbs_EDGE )
|
||||
{
|
||||
SMESH_subMesh* edgeSM = _mesh->GetSubMesh( eos._sWOL );
|
||||
_Shrinker1D& srinker = e2shrMap[ edgeSM->GetId() ];
|
||||
eShri1D.insert( & srinker );
|
||||
srinker.AddEdge( eos._edges[0], eos, helper );
|
||||
_Shrinker1D& shrinker = e2shrMap[ edgeSM->GetId() ];
|
||||
eShri1D.insert( & shrinker );
|
||||
shrinker.AddEdge( eos._edges[0], eos, helper );
|
||||
VISCOUS_3D::ToClearSubWithMain( edgeSM, data._solid );
|
||||
// restore params of nodes on EGDE if the EDGE has been already
|
||||
// srinked while srinking other FACE
|
||||
srinker.RestoreParams();
|
||||
// restore params of nodes on EDGE if the EDGE has been already
|
||||
// shrinked while shrinking other FACE
|
||||
shrinker.RestoreParams();
|
||||
}
|
||||
for ( size_t i = 0; i < eos._edges.size(); ++i )
|
||||
{
|
||||
@ -10834,7 +10834,7 @@ bool _ViscousBuilder::shrink(_SolidData& theData)
|
||||
if ( data2 )
|
||||
VISCOUS_3D::ToClearSubWithMain( sm, data2->_solid );
|
||||
|
||||
} // loop on FACES to srink mesh on
|
||||
} // loop on FACES to shrink mesh on
|
||||
|
||||
|
||||
// Replace source nodes by target nodes in shrinked mesh edges
|
||||
|
@ -34,7 +34,7 @@ These two parameters allow the user to prescribe a Maximal/Minimal size for the
|
||||
|
||||
|
||||
- **Mesh gradation**
|
||||
This parameter P controls the element size variation : MeshGems-SurfOpt will avoid having two adjacent egdes which sizes vary more than th given gradation. A size correction is applied to the size map : if two adjacent edges are respectively e1 and e2 long and e2 > Pxe1, then, the new size for the second edge will be set to P x e1.
|
||||
This parameter P controls the element size variation : MeshGems-SurfOpt will avoid having two adjacent edges which sizes vary more than the given gradation. A size correction is applied to the size map : if two adjacent edges are respectively e1 and e2 long and e2 > Pxe1, then, the new size for the second edge will be set to P x e1.
|
||||
**This procedure is deactived if P=-1**
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user