mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-24 04:50:34 +05:00
Fix typos
Found via `codespell`
This commit is contained in:
parent
f590c91dbd
commit
3230021dec
@ -272,7 +272,7 @@ namespace netgen
|
||||
if (printing)
|
||||
*testout << "lam = " << lam1 << " " << lam2 << " " << lam3 << endl;
|
||||
if (lam1 >= -eps_base1 && lam2 >= -eps_base1 && lam3 >= -eps_base1)
|
||||
{ // point is close to trianlge, perturbe by alpha*v
|
||||
{ // point is close to triangle, perturbed by alpha*v
|
||||
double dlamn = face.nn*v;
|
||||
|
||||
if (fabs(dlamn) < 1e-8) // vec also in plane
|
||||
@ -540,7 +540,7 @@ namespace netgen
|
||||
double lam3 = 1-lam1-lam2;
|
||||
|
||||
if (lam1 >= -eps_base1 && lam2 >= -eps_base1 && lam3 >= -eps_base1)
|
||||
{ // point is close to trianlge, perturbe by alpha*v
|
||||
{ // point is close to triangle, perturbed by alpha*v
|
||||
double dlamn = face.nn*v;
|
||||
|
||||
if (fabs(dlamn) < 1e-8) // vec also in plane
|
||||
|
@ -21,7 +21,7 @@
|
||||
|
||||
namespace netgen
|
||||
{
|
||||
DLL_HEADER NgArray<Box<3> > boxes; // for visualizaton
|
||||
DLL_HEADER NgArray<Box<3> > boxes; // for visualization
|
||||
|
||||
|
||||
void ProjectToEdge (const Surface * f1, const Surface * f2, Point<3> & hp);
|
||||
|
@ -93,7 +93,7 @@ namespace netgen
|
||||
}
|
||||
|
||||
template <class T, int BASE>
|
||||
[[deprecated("use ngcore - Array insterad")]]
|
||||
[[deprecated("use ngcore - Array instead")]]
|
||||
inline void MyMPI_Recv ( NgArray <T, BASE> & s, int src, int tag, MPI_Comm comm)
|
||||
{
|
||||
MPI_Status status;
|
||||
@ -106,7 +106,7 @@ namespace netgen
|
||||
}
|
||||
|
||||
template <class T, int BASE>
|
||||
[[deprecated("use ngcore - Array insterad")]]
|
||||
[[deprecated("use ngcore - Array instead")]]
|
||||
inline int MyMPI_Recv ( NgArray <T, BASE> & s, int tag, MPI_Comm comm)
|
||||
{
|
||||
MPI_Status status;
|
||||
@ -141,7 +141,7 @@ namespace netgen
|
||||
|
||||
template <class T, int BASE>
|
||||
[[deprecated("mympi_isend ngflatarray, use comm.send instead")]]
|
||||
[[deprecated("use ngcore - Array insterad")]]
|
||||
[[deprecated("use ngcore - Array instead")]]
|
||||
inline MPI_Request MyMPI_ISend (NgFlatArray<T, BASE> s, int dest, int tag, MPI_Comm comm)
|
||||
{
|
||||
MPI_Request request;
|
||||
|
@ -88,7 +88,7 @@ public:
|
||||
virtual void GetPoints (int n, NgArray<Point<2> > & points);
|
||||
|
||||
/** calculates lineintersections:
|
||||
for lines $$ a x + b y + c = 0 $$ the interecting points are calculated
|
||||
for lines $$ a x + b y + c = 0 $$ the intersecting points are calculated
|
||||
and stored in points */
|
||||
virtual void LineIntersections (const double a, const double b, const double c,
|
||||
NgArray < Point<2> > & points, const double eps) const
|
||||
|
@ -100,7 +100,7 @@ namespace netgen
|
||||
virtual void GetPoints (int n, NgArray<Point<D> > & points) const;
|
||||
|
||||
/** calculates (2D) lineintersections:
|
||||
for lines $$ a x + b y + c = 0 $$ the interecting points are calculated
|
||||
for lines $$ a x + b y + c = 0 $$ the intersecting points are calculated
|
||||
and stored in points */
|
||||
virtual void LineIntersections (const double a, const double b, const double c,
|
||||
NgArray < Point<D> > & points, const double eps) const
|
||||
|
@ -213,7 +213,7 @@ namespace netgen
|
||||
for(auto & sel : mesh.OpenElements())
|
||||
{
|
||||
// For quads: check if this open element is already closed by a hex
|
||||
// this happends when we have identifications in two directions
|
||||
// this happens when we have identifications in two directions
|
||||
if(sel.GetNP() == 4)
|
||||
{
|
||||
Element2d face = sel;
|
||||
|
@ -157,7 +157,7 @@ static Standard_Boolean findVOnE(const TopoDS_Vertex & theV,
|
||||
// Check that vertex equal to V already exists on one
|
||||
// of edges, in such a case, V is not added but
|
||||
// existing vertex is updated to be on E1 and E2 and
|
||||
// is returned insead of V.
|
||||
// is returned instead of V.
|
||||
//=======================================================================
|
||||
|
||||
TopoDS_Vertex Partition_Inter2d::AddVonE(const TopoDS_Vertex& theV,
|
||||
|
@ -1080,7 +1080,7 @@ void Partition_Spliter::MakeShells(const TopoDS_Shape& S,
|
||||
//function : findEqual
|
||||
//purpose : compare edges of EL1 against edges of EL2,
|
||||
// Result is in EMM binding EL1 edges to list of equal edges.
|
||||
// Edges are considered equall only if they have same vertices.
|
||||
// Edges are considered equal only if they have same vertices.
|
||||
// <addSame>==True makes consider same edges as equal
|
||||
// Put in <AllEqMap> all equal edges
|
||||
//=======================================================================
|
||||
@ -1486,7 +1486,7 @@ void Partition_Spliter::MakeEdges (const TopoDS_Edge& E,
|
||||
|
||||
|
||||
//----------------------------------------------------------------
|
||||
// Construction of the new edges .
|
||||
// Construction of the new edges.
|
||||
//----------------------------------------------------------------
|
||||
|
||||
if (VF.IsSame(VL)) { // closed edge
|
||||
@ -1501,7 +1501,7 @@ void Partition_Spliter::MakeEdges (const TopoDS_Edge& E,
|
||||
else if (endV.IsSame(SV.Last()))
|
||||
SV.Prepend(endV);
|
||||
else
|
||||
MESSAGE ("END VERTEX IS IN SEQUNCE MIDDLE");
|
||||
MESSAGE ("END VERTEX IS IN SEQUENCE MIDDLE");
|
||||
}
|
||||
NbVer = SV.Length();
|
||||
}
|
||||
|
@ -360,7 +360,7 @@ namespace netgen
|
||||
void OCCSurface :: Project (Point<3> & ap, PointGeomInfo & gi)
|
||||
{
|
||||
static Timer t("OccSurface::Project"); RegionTimer reg(t);
|
||||
static Timer t2("OccSurface::Project actural");
|
||||
static Timer t2("OccSurface::Project actual");
|
||||
|
||||
|
||||
// try Newton's method ...
|
||||
|
@ -2227,7 +2227,7 @@ deg_min : int
|
||||
Minimum polynomial degree of splines
|
||||
|
||||
deg_max : int
|
||||
Maxmium polynomial degree of splines
|
||||
Maximum polynomial degree of splines
|
||||
|
||||
continuity : ShapeContinuity
|
||||
Continuity requirement on the approximating surface
|
||||
@ -2345,7 +2345,7 @@ deg_min : int
|
||||
Minimum polynomial degree of splines
|
||||
|
||||
deg_max : int
|
||||
Maxmium polynomial degree of splines
|
||||
Maximum polynomial degree of splines
|
||||
|
||||
continuity : ShapeContinuity
|
||||
Continuity requirement on the approximating surface
|
||||
|
@ -1162,7 +1162,7 @@ bool STLBoundary :: TestSeg(const Point<3>& p1, const Point<3> & p2, const Vec<3
|
||||
/*
|
||||
(*testout) << "TestSeg-calls for classes:" << endl;
|
||||
(*testout) << cnti << " inner calls, " << cnto << " outercalls" << endl;
|
||||
(*testout) << "total testes segments: " << cntsegs << endl;
|
||||
(*testout) << "total tested segments: " << cntsegs << endl;
|
||||
for (i = 1; i <= cntclass.Size(); i++)
|
||||
{
|
||||
(*testout) << int (exp (i * log(2.0))) << " bnd segs: " << cntclass.Get(i) << endl;
|
||||
|
4
ng/Togl2.1/aclocal.m4
vendored
4
ng/Togl2.1/aclocal.m4
vendored
@ -48,7 +48,7 @@ AC_DEFUN(TOGL_ENABLE_STUBS, [
|
||||
#------------------------------------------------------------------------
|
||||
# TOGL_UNDEF_GET_PROC_ADDRESS --
|
||||
#
|
||||
# Does defining GLX_GLXEXT_LEGACY interfer with including GL/glxext.h?
|
||||
# Does defining GLX_GLXEXT_LEGACY interfere with including GL/glxext.h?
|
||||
#
|
||||
# Arguments:
|
||||
# none
|
||||
@ -59,7 +59,7 @@ AC_DEFUN(TOGL_ENABLE_STUBS, [
|
||||
#
|
||||
#------------------------------------------------------------------------
|
||||
AC_DEFUN(TOGL_UNDEF_GET_PROC_ADDRESS, [
|
||||
AC_MSG_CHECKING([if GLX_GLXEXT_LEGACY interfers with including GL/glxext.h])
|
||||
AC_MSG_CHECKING([if GLX_GLXEXT_LEGACY interferes with including GL/glxext.h])
|
||||
AC_LANG_PUSH(C)
|
||||
ac_save_CFLAGS=$CFLAGS
|
||||
CFLAGS=$TK_XINCLUDES
|
||||
|
4
ng/Togl2.1/configure
vendored
4
ng/Togl2.1/configure
vendored
@ -6028,8 +6028,8 @@ fi
|
||||
|
||||
LIBGLU=-lGLU
|
||||
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if GLX_GLXEXT_LEGACY interfers with including GL/glxext.h" >&5
|
||||
$as_echo_n "checking if GLX_GLXEXT_LEGACY interfers with including GL/glxext.h... " >&6; }
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if GLX_GLXEXT_LEGACY interferes with including GL/glxext.h" >&5
|
||||
$as_echo_n "checking if GLX_GLXEXT_LEGACY interferes with including GL/glxext.h... " >&6; }
|
||||
ac_ext=c
|
||||
ac_cpp='$CPP $CPPFLAGS'
|
||||
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
||||
|
@ -5018,7 +5018,7 @@ Togl_Frustum(const Togl *togl, GLdouble left, GLdouble right,
|
||||
eyeOffset = togl->EyeSeparation / 2; /* for right eye */
|
||||
eyeShift = (togl->Convergence - zNear) * (eyeOffset / togl->Convergence);
|
||||
|
||||
/* compenstate for altered viewports */
|
||||
/* compensate for altered viewports */
|
||||
switch (togl->Stereo) {
|
||||
default:
|
||||
break;
|
||||
@ -5053,7 +5053,7 @@ Togl_Ortho(const Togl *togl, GLdouble left, GLdouble right,
|
||||
eyeOffset = togl->EyeSeparation / 2; /* for right eye */
|
||||
eyeShift = (togl->Convergence - zNear) * (eyeOffset / togl->Convergence);
|
||||
|
||||
/* compenstate for altered viewports */
|
||||
/* compensate for altered viewports */
|
||||
switch (togl->Stereo) {
|
||||
default:
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user