Misc. typos

Found via `codespell -q 3`
This commit is contained in:
luz.paz 2018-02-06 14:12:24 -05:00
parent 90dee5fde4
commit a10531adb2
9 changed files with 20 additions and 19 deletions

View File

@ -191,7 +191,7 @@ void WriteGmshFormat (const Mesh & mesh,
else
{
cout << " Invalide element type for Gmsh volume Format !\n";
cout << " Invalid element type for Gmsh volume Format !\n";
}

View File

@ -1584,7 +1584,7 @@ void Mesh :: ImproveMeshJacobian (const MeshingParameters & mp,
if (goal == OPT_WORSTCASE && !badnodes.Test(i))
continue;
// (*testout) << "smoot p " << i << endl;
// (*testout) << "smooth p " << i << endl;
/*
if (multithread.terminate)
@ -1733,7 +1733,7 @@ void Mesh :: ImproveMeshJacobianOnSurface (const MeshingParameters & mp,
if (goal == OPT_WORSTCASE && !badnodes.Test(i))
continue;
// (*testout) << "smoot p " << i << endl;
// (*testout) << "smooth p " << i << endl;
/*
if (multithread.terminate)

View File

@ -219,7 +219,7 @@ static void PutInBounds (const TopoDS_Face& F,
gp_Pnt2d Pm = C2d->Value( Um );
// sometimes on shpere, pcurve is out of domain by V though S is
// UPeriodic, sometimes it is in domain but nontheless it has
// UPeriodic, sometimes it is in domain but nonetheless it has
// wrong position.
// Check pcurve position by 3D point
if (S->IsKind(STANDARD_TYPE( Geom_SphericalSurface )))
@ -526,7 +526,7 @@ void Partition_Inter3d::Inter3D(const TopoDS_Face& F1,
C3d = new Geom_TrimmedCurve( C3d, umin, umax);
pc = TopOpeBRepTool_CurveTool::MakePCurveOnFace (F,C3d,tol);
if (pc.IsNull()) {
MESSAGE (" CANT BUILD PCURVE ");
MESSAGE (" CANNOT BUILD PCURVE ");
}
B.UpdateEdge( se, pc, F, tol);
}

View File

@ -150,7 +150,7 @@ static Standard_Boolean SelectEdge(const TopoDS_Face& F,
if (LE.Extent() > 1) {
//--------------------------------------------------------------
// Several possible edges.
// - Test the edges differents of CE
// - Test the edge difference of CE
//--------------------------------------------------------------
Standard_Real cf, cl, f, l;
TopoDS_Face FForward = F;

View File

@ -156,7 +156,7 @@ static Standard_Real preciseU (const BRepAdaptor_Surface& theSurf,
{
// u for test
u = u0 + du;
du *= 10; // for the next iteration: increase du untill du3d is large enough
du *= 10; // for the next iteration: increase du until du3d is large enough
// find out how u is far from u0 in 3D
gp_Pnt2d aP2d = theC->Value( u );
@ -194,7 +194,7 @@ static Standard_Boolean SelectEdge(const BRepAdaptor_Surface& Surf,
if (LE.Extent() > 1) {
//--------------------------------------------------------------
// Several possible edges.
// - Test the edges differents of CE
// - Test the edge difference of CE
//--------------------------------------------------------------
TopoDS_Face FForward = Surf.Face();
TopoDS_Edge aPrevNE;
@ -734,7 +734,7 @@ void Partition_Loop2d::Perform()
}
}
}
// removal of doulbe edges can explode a wire into parts,
// removal of double edges can explode a wire into parts,
// make new wires of them.
// A Loop like previous one but without 2d check
while ( !WEL.IsEmpty() ) {
@ -901,7 +901,8 @@ const TopTools_ListOfShape& Partition_Loop2d::NewFaces() const
//=======================================================================
//function : findEqual
//purpose : move wires form <WL> to <EqWL> pairs of wires build of the same edges
//purpose : move wires form <WL> to <EqWL> pairs of wires build of the
// same edges
//=======================================================================
static void findEqual (TopTools_ListOfShape& WL,

View File

@ -874,7 +874,7 @@ TopoDS_Shape Partition_Spliter::FindFacesInside(const TopoDS_Shape& theShape,
// ultimate list of internal faces
TopTools_ListOfShape KeptFaces;
// add to MFP not split tool faces as well, they may be connected with
// add to MFP unsplit tool faces as well, they may be connected with
// tool faces interfering with theShape
for ( itm.Initialize(myMapTools); itm.More(); itm.Next() ) {
const TopoDS_Shape& aToolFace = itm.Key();
@ -1226,7 +1226,7 @@ TopoDS_Shape Partition_Spliter::MakeFaces (const TopoDS_Shape& S)
// add splits to loops
// LE: old edges + new not splitted edges
// LE: old edges + new unsplit edges
const TopTools_ListOfShape& LE = myAsDes->Descendant(F);
for (itl.Initialize(LE); itl.More(); itl.Next()) {
const TopoDS_Edge& E = TopoDS::Edge( itl.Value() );
@ -1606,7 +1606,7 @@ void Partition_Spliter::MergeEqualEdges (const TopTools_ListOfShape& LSE)
C3d = new Geom_TrimmedCurve( C3d, f,l);
pc = TopOpeBRepTool_CurveTool::MakePCurveOnFace (F,C3d,tol);
if (pc.IsNull()) {
MESSAGE (" CANT BUILD PCURVE ");
MESSAGE (" CANNOT BUILD PCURVE ");
}
myBuilder.UpdateEdge( EKeep, pc, F, tol);
}
@ -1918,7 +1918,7 @@ Standard_Boolean Partition_Spliter::CheckTool(const TopoDS_Shape& S)
}
}
if (hasNewE) {
// add new adges
// add new edges
NEL = myAsDes->Descendant( F );
for ( itNE.Initialize( NEL ); itNE.More(); itNE.Next()) {
TopTools_ListOfShape SEL; // splits

View File

@ -669,7 +669,7 @@ namespace netgen
PrintMessage (2, "Face ", k, " / ", mesh.GetNFD(), " (parameter space projection)");
if (surfmesherror)
cout << "Surface meshing error occured before (in " << surfmesherror << " faces)" << endl;
cout << "Surface meshing error occurred before (in " << surfmesherror << " faces)" << endl;
// Meshing2OCCSurfaces meshing(f2, bb);
meshing.SetStartTime (starttime);
@ -855,7 +855,7 @@ namespace netgen
if (surfmesherror)
{
cout << "WARNING! NOT ALL FACES HAVE BEEN MESHED" << endl;
cout << "SURFACE MESHING ERROR OCCURED IN " << surfmesherror << " FACES:" << endl;
cout << "SURFACE MESHING ERROR OCCURRED IN " << surfmesherror << " FACES:" << endl;
for (int i = 1; i <= geom.fmap.Extent(); i++)
if (geom.facemeshstatus[i-1] == -1)
{

View File

@ -1168,7 +1168,7 @@ void STEP_GetEntityName(const TopoDS_Shape & theShape, STEPCAFControl_Reader * a
}
// For the IGES Reader, all the shapes can be exported as one compund shape
// For the IGES Reader, all the shapes can be exported as one compound shape
// using the "OneShape" member
occgeo->shape = reader.OneShape();
occgeo->face_colours = iges_colour_contents;
@ -1563,7 +1563,7 @@ void STEP_GetEntityName(const TopoDS_Shape & theShape, STEPCAFControl_Reader * a
if (!stretchedpinfaces++)
str << "StretchedPinFace {Stretched pin face} ";
(*testout) << "Face " << i << " is a streched pin" << endl;
(*testout) << "Face " << i << " is a stretched pin" << endl;
str << "StretchedPinFace/Face" << i << " ";
str << "{Face " << i << " } ";
}

View File

@ -26,7 +26,7 @@
// Module : SALOME
// $Header: /cvs/netgen/netgen/libsrc/occ/utilities.h,v 1.3 2008/03/31 14:20:28 wabro Exp $
/* --- Definition macros file to print informations if _DEBUG_ is defined --- */
/* --- Definition macros file to print information if _DEBUG_ is defined --- */
#ifndef UTILITIES_H
#define UTILITIES_H