mirror of
https://github.com/NGSolve/netgen.git
synced 2025-01-12 14:10:34 +05:00
Misc. typos
Found via `codespell -q 3`
This commit is contained in:
parent
90dee5fde4
commit
a10531adb2
@ -191,7 +191,7 @@ void WriteGmshFormat (const Mesh & mesh,
|
|||||||
|
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
cout << " Invalide element type for Gmsh volume Format !\n";
|
cout << " Invalid element type for Gmsh volume Format !\n";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -1584,7 +1584,7 @@ void Mesh :: ImproveMeshJacobian (const MeshingParameters & mp,
|
|||||||
|
|
||||||
if (goal == OPT_WORSTCASE && !badnodes.Test(i))
|
if (goal == OPT_WORSTCASE && !badnodes.Test(i))
|
||||||
continue;
|
continue;
|
||||||
// (*testout) << "smoot p " << i << endl;
|
// (*testout) << "smooth p " << i << endl;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
if (multithread.terminate)
|
if (multithread.terminate)
|
||||||
@ -1733,7 +1733,7 @@ void Mesh :: ImproveMeshJacobianOnSurface (const MeshingParameters & mp,
|
|||||||
|
|
||||||
if (goal == OPT_WORSTCASE && !badnodes.Test(i))
|
if (goal == OPT_WORSTCASE && !badnodes.Test(i))
|
||||||
continue;
|
continue;
|
||||||
// (*testout) << "smoot p " << i << endl;
|
// (*testout) << "smooth p " << i << endl;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
if (multithread.terminate)
|
if (multithread.terminate)
|
||||||
|
@ -219,7 +219,7 @@ static void PutInBounds (const TopoDS_Face& F,
|
|||||||
gp_Pnt2d Pm = C2d->Value( Um );
|
gp_Pnt2d Pm = C2d->Value( Um );
|
||||||
|
|
||||||
// sometimes on shpere, pcurve is out of domain by V though S is
|
// 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.
|
// wrong position.
|
||||||
// Check pcurve position by 3D point
|
// Check pcurve position by 3D point
|
||||||
if (S->IsKind(STANDARD_TYPE( Geom_SphericalSurface )))
|
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);
|
C3d = new Geom_TrimmedCurve( C3d, umin, umax);
|
||||||
pc = TopOpeBRepTool_CurveTool::MakePCurveOnFace (F,C3d,tol);
|
pc = TopOpeBRepTool_CurveTool::MakePCurveOnFace (F,C3d,tol);
|
||||||
if (pc.IsNull()) {
|
if (pc.IsNull()) {
|
||||||
MESSAGE (" CANT BUILD PCURVE ");
|
MESSAGE (" CANNOT BUILD PCURVE ");
|
||||||
}
|
}
|
||||||
B.UpdateEdge( se, pc, F, tol);
|
B.UpdateEdge( se, pc, F, tol);
|
||||||
}
|
}
|
||||||
|
@ -150,7 +150,7 @@ static Standard_Boolean SelectEdge(const TopoDS_Face& F,
|
|||||||
if (LE.Extent() > 1) {
|
if (LE.Extent() > 1) {
|
||||||
//--------------------------------------------------------------
|
//--------------------------------------------------------------
|
||||||
// Several possible edges.
|
// Several possible edges.
|
||||||
// - Test the edges differents of CE
|
// - Test the edge difference of CE
|
||||||
//--------------------------------------------------------------
|
//--------------------------------------------------------------
|
||||||
Standard_Real cf, cl, f, l;
|
Standard_Real cf, cl, f, l;
|
||||||
TopoDS_Face FForward = F;
|
TopoDS_Face FForward = F;
|
||||||
|
@ -156,7 +156,7 @@ static Standard_Real preciseU (const BRepAdaptor_Surface& theSurf,
|
|||||||
{
|
{
|
||||||
// u for test
|
// u for test
|
||||||
u = u0 + du;
|
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
|
// find out how u is far from u0 in 3D
|
||||||
gp_Pnt2d aP2d = theC->Value( u );
|
gp_Pnt2d aP2d = theC->Value( u );
|
||||||
@ -194,7 +194,7 @@ static Standard_Boolean SelectEdge(const BRepAdaptor_Surface& Surf,
|
|||||||
if (LE.Extent() > 1) {
|
if (LE.Extent() > 1) {
|
||||||
//--------------------------------------------------------------
|
//--------------------------------------------------------------
|
||||||
// Several possible edges.
|
// Several possible edges.
|
||||||
// - Test the edges differents of CE
|
// - Test the edge difference of CE
|
||||||
//--------------------------------------------------------------
|
//--------------------------------------------------------------
|
||||||
TopoDS_Face FForward = Surf.Face();
|
TopoDS_Face FForward = Surf.Face();
|
||||||
TopoDS_Edge aPrevNE;
|
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.
|
// make new wires of them.
|
||||||
// A Loop like previous one but without 2d check
|
// A Loop like previous one but without 2d check
|
||||||
while ( !WEL.IsEmpty() ) {
|
while ( !WEL.IsEmpty() ) {
|
||||||
@ -901,7 +901,8 @@ const TopTools_ListOfShape& Partition_Loop2d::NewFaces() const
|
|||||||
|
|
||||||
//=======================================================================
|
//=======================================================================
|
||||||
//function : findEqual
|
//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,
|
static void findEqual (TopTools_ListOfShape& WL,
|
||||||
|
@ -874,7 +874,7 @@ TopoDS_Shape Partition_Spliter::FindFacesInside(const TopoDS_Shape& theShape,
|
|||||||
// ultimate list of internal faces
|
// ultimate list of internal faces
|
||||||
TopTools_ListOfShape KeptFaces;
|
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
|
// tool faces interfering with theShape
|
||||||
for ( itm.Initialize(myMapTools); itm.More(); itm.Next() ) {
|
for ( itm.Initialize(myMapTools); itm.More(); itm.Next() ) {
|
||||||
const TopoDS_Shape& aToolFace = itm.Key();
|
const TopoDS_Shape& aToolFace = itm.Key();
|
||||||
@ -1226,7 +1226,7 @@ TopoDS_Shape Partition_Spliter::MakeFaces (const TopoDS_Shape& S)
|
|||||||
|
|
||||||
// add splits to loops
|
// add splits to loops
|
||||||
|
|
||||||
// LE: old edges + new not splitted edges
|
// LE: old edges + new unsplit edges
|
||||||
const TopTools_ListOfShape& LE = myAsDes->Descendant(F);
|
const TopTools_ListOfShape& LE = myAsDes->Descendant(F);
|
||||||
for (itl.Initialize(LE); itl.More(); itl.Next()) {
|
for (itl.Initialize(LE); itl.More(); itl.Next()) {
|
||||||
const TopoDS_Edge& E = TopoDS::Edge( itl.Value() );
|
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);
|
C3d = new Geom_TrimmedCurve( C3d, f,l);
|
||||||
pc = TopOpeBRepTool_CurveTool::MakePCurveOnFace (F,C3d,tol);
|
pc = TopOpeBRepTool_CurveTool::MakePCurveOnFace (F,C3d,tol);
|
||||||
if (pc.IsNull()) {
|
if (pc.IsNull()) {
|
||||||
MESSAGE (" CANT BUILD PCURVE ");
|
MESSAGE (" CANNOT BUILD PCURVE ");
|
||||||
}
|
}
|
||||||
myBuilder.UpdateEdge( EKeep, pc, F, tol);
|
myBuilder.UpdateEdge( EKeep, pc, F, tol);
|
||||||
}
|
}
|
||||||
@ -1918,7 +1918,7 @@ Standard_Boolean Partition_Spliter::CheckTool(const TopoDS_Shape& S)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (hasNewE) {
|
if (hasNewE) {
|
||||||
// add new adges
|
// add new edges
|
||||||
NEL = myAsDes->Descendant( F );
|
NEL = myAsDes->Descendant( F );
|
||||||
for ( itNE.Initialize( NEL ); itNE.More(); itNE.Next()) {
|
for ( itNE.Initialize( NEL ); itNE.More(); itNE.Next()) {
|
||||||
TopTools_ListOfShape SEL; // splits
|
TopTools_ListOfShape SEL; // splits
|
||||||
|
@ -669,7 +669,7 @@ namespace netgen
|
|||||||
PrintMessage (2, "Face ", k, " / ", mesh.GetNFD(), " (parameter space projection)");
|
PrintMessage (2, "Face ", k, " / ", mesh.GetNFD(), " (parameter space projection)");
|
||||||
|
|
||||||
if (surfmesherror)
|
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);
|
// Meshing2OCCSurfaces meshing(f2, bb);
|
||||||
meshing.SetStartTime (starttime);
|
meshing.SetStartTime (starttime);
|
||||||
@ -855,7 +855,7 @@ namespace netgen
|
|||||||
if (surfmesherror)
|
if (surfmesherror)
|
||||||
{
|
{
|
||||||
cout << "WARNING! NOT ALL FACES HAVE BEEN MESHED" << endl;
|
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++)
|
for (int i = 1; i <= geom.fmap.Extent(); i++)
|
||||||
if (geom.facemeshstatus[i-1] == -1)
|
if (geom.facemeshstatus[i-1] == -1)
|
||||||
{
|
{
|
||||||
|
@ -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
|
// using the "OneShape" member
|
||||||
occgeo->shape = reader.OneShape();
|
occgeo->shape = reader.OneShape();
|
||||||
occgeo->face_colours = iges_colour_contents;
|
occgeo->face_colours = iges_colour_contents;
|
||||||
@ -1563,7 +1563,7 @@ void STEP_GetEntityName(const TopoDS_Shape & theShape, STEPCAFControl_Reader * a
|
|||||||
if (!stretchedpinfaces++)
|
if (!stretchedpinfaces++)
|
||||||
str << "StretchedPinFace {Stretched pin face} ";
|
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 << "StretchedPinFace/Face" << i << " ";
|
||||||
str << "{Face " << i << " } ";
|
str << "{Face " << i << " } ";
|
||||||
}
|
}
|
||||||
|
@ -26,7 +26,7 @@
|
|||||||
// Module : SALOME
|
// Module : SALOME
|
||||||
// $Header: /cvs/netgen/netgen/libsrc/occ/utilities.h,v 1.3 2008/03/31 14:20:28 wabro Exp $
|
// $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
|
#ifndef UTILITIES_H
|
||||||
#define UTILITIES_H
|
#define UTILITIES_H
|
||||||
|
Loading…
Reference in New Issue
Block a user