typo-fix by Kunda

http://www.salome-platform.org/forum/forum_10/195000978
This commit is contained in:
eap 2018-01-09 13:48:40 +03:00
parent 04f9972521
commit 80637e48ef
10 changed files with 23 additions and 23 deletions

View File

@ -190,7 +190,7 @@ filters over-constrained faces:
\section filter_double_elements Double edges, Double faces, Double volumes \section filter_double_elements Double edges, Double faces, Double volumes
filters mesh elements basing on the same set of nodes: 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 - functor type is either \a SMESH.FT_EqualEdges, \a
SMESH.FT_EqualFaces or \a SMESH.FT_EqualVolumes, SMESH.FT_EqualFaces or \a SMESH.FT_EqualVolumes,
- threshold value is not required - threshold value is not required

View File

@ -247,7 +247,7 @@ int GmfOpenMesh(const char *FilNam, int mod, ...)
return(0); 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) if(msh->mod == GmfRead)
{ {

View File

@ -2460,7 +2460,7 @@ namespace
ip._faceIDs = e2fIt->second; ip._faceIDs = e2fIt->second;
ip._shapeID = edgeID; ip._shapeID = edgeID;
// discretize the EGDE // discretize the EDGE
GCPnts_UniformDeflection discret( curve, deflection, true ); GCPnts_UniformDeflection discret( curve, deflection, true );
if ( !discret.IsDone() || discret.NbPoints() < 2 ) if ( !discret.IsDone() || discret.NbPoints() < 2 )
continue; continue;

View File

@ -577,7 +577,7 @@ bool StdMeshers_CompositeHexa_3D::findBoxFaces( const TopoDS_Shape& shape,
* \brief Computes hexahedral mesh on a box with composite sides * \brief Computes hexahedral mesh on a box with composite sides
* \param aMesh - mesh to compute * \param aMesh - mesh to compute
* \param aShape - shape to mesh * \param aShape - shape to mesh
* \retval bool - succes sign * \retval bool - success sign
*/ */
//================================================================================ //================================================================================

View File

@ -574,7 +574,7 @@ double StdMeshers_Penta_3D::SetHorizEdgeXYZ(const gp_XYZ& aBase
SMESH_Block::GetFaceEdgesIDs( aFaceID, edgeVec ); SMESH_Block::GetFaceEdgesIDs( aFaceID, edgeVec );
// //
int coord = SMESH_Block::GetCoordIndOnEdge( edgeVec[ BASE ] ); int coord = SMESH_Block::GetCoordIndOnEdge( edgeVec[ BASE ] );
bool isForward = myBlock.IsForwadEdge( edgeVec[ BASE ] ); bool isForward = myBlock.IsForwardEdge( edgeVec[ BASE ] );
double param = aBaseNodeParams.Coord( coord ); double param = aBaseNodeParams.Coord( coord );
if ( !isForward) if ( !isForward)
@ -1543,7 +1543,7 @@ bool StdMeshers_Penta_3D::LoadIJNodes(StdMeshers_IJNodeMap & theIJNodes,
} }
// look for a not loaded node of the <face> // look for a not loaded node of the <face>
bool found = false; 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() ; eIt = face->nodesIterator() ;
while ( !found && eIt->more() ) { while ( !found && eIt->more() ) {
node = static_cast<const SMDS_MeshNode*>( eIt->next() ); node = static_cast<const SMDS_MeshNode*>( eIt->next() );
@ -1609,11 +1609,11 @@ StdMeshers_SMESHBlock::StdMeshers_SMESHBlock()
} }
//======================================================================= //=======================================================================
//function : IsForwadEdge //function : IsForwardEdge
//purpose : //purpose :
//======================================================================= //=======================================================================
bool StdMeshers_SMESHBlock::IsForwadEdge(const int theEdgeID) bool StdMeshers_SMESHBlock::IsForwardEdge(const int theEdgeID)
{ {
int index = myTBlock.ShapeIndex( theEdgeID ); int index = myTBlock.ShapeIndex( theEdgeID );
if ( !myTBlock.IsEdgeID( theEdgeID )) if ( !myTBlock.IsEdgeID( theEdgeID ))

View File

@ -86,7 +86,7 @@ public:
SMESH_Block & Block() { return myTBlock; } SMESH_Block & Block() { return myTBlock; }
bool IsForwadEdge(const int theEdgeID); bool IsForwardEdge(const int theEdgeID);
int ErrorStatus() const; int ErrorStatus() const;

View File

@ -3063,7 +3063,7 @@ bool StdMeshers_Prism_3D::IsApplicable(const TopoDS_Shape & shape, bool toCheckA
if ( side._topEdge.IsNull() ) 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 for ( int is2nd = 0; is2nd < 2 && isOK; ++is2nd ) // 2 adjacent neighbors
{ {
int di = is2nd ? 1 : -1; int di = is2nd ? 1 : -1;

View File

@ -1019,7 +1019,7 @@ namespace
* \param [in] theDivPoints - projections of VERTEXes to MA * \param [in] theDivPoints - projections of VERTEXes to MA
* \param [in] theSinuEdges - the sinuous EDGEs * \param [in] theSinuEdges - the sinuous EDGEs
* \param [in] theSideEdgeIDs - indices of sinuous EDGEs per side * \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 [in,out] thePointsOnE - the map to fill
* \param [out] theNodes2Merge - the map of nodes to merge * \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 * \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] theHelper - the helper
* \param [in] theMinSegLen - minimal segment length * \param [in] theMinSegLen - minimal segment length
* \param [in] theMA - the Medial Axis * \param [in] theMA - the Medial Axis

View File

@ -764,7 +764,7 @@ namespace VISCOUS_3D
// Convex FACEs whose radius of curvature is less than the thickness of layers // Convex FACEs whose radius of curvature is less than the thickness of layers
map< TGeomID, _ConvexFace > _convexFaces; 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 // the adjacent SOLID
set< TGeomID > _noShrinkShapes; 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; TopTools_MapOfShape c1VV;
@ -10331,7 +10331,7 @@ bool _ViscousBuilder::shrink(_SolidData& theData)
vector< _EdgesOnShape* > subEOS; vector< _EdgesOnShape* > subEOS;
vector< _LayerEdge* > lEdges; 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(); map< TGeomID, list< _SolidData* > >::iterator f2sd = f2sdMap.begin();
for ( ; f2sd != f2sdMap.end(); ++f2sd ) for ( ; f2sd != f2sdMap.end(); ++f2sd )
{ {
@ -10481,13 +10481,13 @@ bool _ViscousBuilder::shrink(_SolidData& theData)
if ( eos.SWOLType() == TopAbs_EDGE ) if ( eos.SWOLType() == TopAbs_EDGE )
{ {
SMESH_subMesh* edgeSM = _mesh->GetSubMesh( eos._sWOL ); SMESH_subMesh* edgeSM = _mesh->GetSubMesh( eos._sWOL );
_Shrinker1D& srinker = e2shrMap[ edgeSM->GetId() ]; _Shrinker1D& shrinker = e2shrMap[ edgeSM->GetId() ];
eShri1D.insert( & srinker ); eShri1D.insert( & shrinker );
srinker.AddEdge( eos._edges[0], eos, helper ); shrinker.AddEdge( eos._edges[0], eos, helper );
VISCOUS_3D::ToClearSubWithMain( edgeSM, data._solid ); VISCOUS_3D::ToClearSubWithMain( edgeSM, data._solid );
// restore params of nodes on EGDE if the EDGE has been already // restore params of nodes on EDGE if the EDGE has been already
// srinked while srinking other FACE // shrinked while shrinking other FACE
srinker.RestoreParams(); shrinker.RestoreParams();
} }
for ( size_t i = 0; i < eos._edges.size(); ++i ) for ( size_t i = 0; i < eos._edges.size(); ++i )
{ {
@ -10834,7 +10834,7 @@ bool _ViscousBuilder::shrink(_SolidData& theData)
if ( data2 ) if ( data2 )
VISCOUS_3D::ToClearSubWithMain( sm, data2->_solid ); 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 // Replace source nodes by target nodes in shrinked mesh edges

View File

@ -34,7 +34,7 @@ These two parameters allow the user to prescribe a Maximal/Minimal size for the
- **Mesh gradation** - **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** **This procedure is deactived if P=-1**