diff --git a/doc/ng4.tex b/doc/ng4.tex index d7d7da39..a63e92e1 100644 --- a/doc/ng4.tex +++ b/doc/ng4.tex @@ -657,7 +657,7 @@ After the number of nodes there follows a list of $x$ and $y$ -coordinates of the mesh-nodes. \item geometric information \\ -After the number of spline patches there follows a list of spline specifications. Each spline patch is given by the 6 coefficients of the descibing +After the number of spline patches there follows a list of spline specifications. Each spline patch is given by the 6 coefficients of the describing quadratic polynomial equation $$ c_1 x^2 + c_2 y^2 + c_3 xy + c_4 x + c_5 y + c_6 = 0 diff --git a/libsrc/csg/meshsurf.cpp b/libsrc/csg/meshsurf.cpp index b04d478a..54a70af8 100644 --- a/libsrc/csg/meshsurf.cpp +++ b/libsrc/csg/meshsurf.cpp @@ -120,7 +120,7 @@ RefinementSurfaces :: RefinementSurfaces (const CSGeometry & ageometry) { if(geometry.GetNSurf() == 0) *testout << endl - << "WARNING: Intializing 2D refinement with 0-surface geometry" << endl + << "WARNING: Initializing 2D refinement with 0-surface geometry" << endl << "==========================================================" << endl << endl << endl; } diff --git a/libsrc/csg/specpoin.cpp b/libsrc/csg/specpoin.cpp index 15d41d39..ace26248 100644 --- a/libsrc/csg/specpoin.cpp +++ b/libsrc/csg/specpoin.cpp @@ -870,7 +870,7 @@ namespace netgen const BoxSphere<3> & box) const { // perform newton steps. normals parallel ? - // if not decideable: return 0 + // if not decidable: return 0 Point<3> p = box.Center(); Vec<3> g1, g2, sol; diff --git a/libsrc/csg/surface.hpp b/libsrc/csg/surface.hpp index f98eeb5c..5e9afbdf 100644 --- a/libsrc/csg/surface.hpp +++ b/libsrc/csg/surface.hpp @@ -362,7 +362,7 @@ namespace netgen /** Projects point to edge. - The point hp is projected to the edge descibed by f1 and f2. + The point hp is projected to the edge described by f1 and f2. It is assumed that the edge is non-degenerated, and the (generalized) Newton method converges. */ diff --git a/libsrc/csg/triapprox.hpp b/libsrc/csg/triapprox.hpp index c17a3e94..dab9a833 100644 --- a/libsrc/csg/triapprox.hpp +++ b/libsrc/csg/triapprox.hpp @@ -12,7 +12,7 @@ namespace netgen { /** - Triangulated approxiamtion to true surface + Triangulated approximation to true surface */ diff --git a/libsrc/general/array.hpp b/libsrc/general/array.hpp index d288b7d1..5f554dbb 100644 --- a/libsrc/general/array.hpp +++ b/libsrc/general/array.hpp @@ -29,7 +29,7 @@ namespace netgen bool operator != (ArrayRangeIterator d2) { return ind != d2.ind; } }; - /// a range of intergers + /// a range of integers template class T_Range { diff --git a/libsrc/general/flags.hpp b/libsrc/general/flags.hpp index 810fbfbe..e156d328 100644 --- a/libsrc/general/flags.hpp +++ b/libsrc/general/flags.hpp @@ -42,7 +42,7 @@ public: DLL_HEADER void SetFlag (const char * name, double val); /// Sets boolean flag DLL_HEADER void SetFlag (const char * name); - /// Sets string arary falg + /// Sets string arary flag DLL_HEADER void SetFlag (const char * name, const Array & val); /// Sets double array flag DLL_HEADER void SetFlag (const char * name, const Array & val); diff --git a/libsrc/general/mpi_interface.hpp b/libsrc/general/mpi_interface.hpp index a2014615..ee08cb9b 100644 --- a/libsrc/general/mpi_interface.hpp +++ b/libsrc/general/mpi_interface.hpp @@ -182,7 +182,7 @@ namespace netgen /* - send a table entry to each of the prcesses in the group ... + send a table entry to each of the processes in the group ... receive-table entries will be set */ diff --git a/libsrc/geom2d/geometry2d.cpp b/libsrc/geom2d/geometry2d.cpp index 00f588e4..6bc93c57 100644 --- a/libsrc/geom2d/geometry2d.cpp +++ b/libsrc/geom2d/geometry2d.cpp @@ -161,7 +161,7 @@ namespace netgen // cout << "add spline " << i << ", left = " << leftdom << ", right = " << rightdom << endl; infile >> buf; - // type of spline segement + // type of spline segment if (strcmp (buf, "2") == 0) { // a line infile >> hi1 >> hi2; @@ -332,7 +332,7 @@ namespace netgen // cout << "add spline " << i << ", left = " << leftdom << endl; infile >> buf; - // type of spline segement + // type of spline segment if (strcmp (buf, "2") == 0) { // a line infile >> hi1 >> hi2; @@ -629,7 +629,7 @@ namespace netgen infile >> buf; - // type of spline segement + // type of spline segment if (strcmp (buf, "2") == 0) { // a line infile >> hi1 >> hi2; diff --git a/libsrc/geom2d/geometry2d.hpp b/libsrc/geom2d/geometry2d.hpp index 3c4dab90..ad02f754 100644 --- a/libsrc/geom2d/geometry2d.hpp +++ b/libsrc/geom2d/geometry2d.hpp @@ -35,9 +35,9 @@ namespace netgen int bc; /// copy spline mesh from other spline (-1.. do not copy) int copyfrom; - /// perfrom anisotropic refinement (hp-refinement) to edge + /// perform anisotropic refinement (hp-refinement) to edge double hpref_left; - /// perfrom anisotropic refinement (hp-refinement) to edge + /// perform anisotropic refinement (hp-refinement) to edge double hpref_right; /// int layer; diff --git a/libsrc/geom2d/spline2d.hpp b/libsrc/geom2d/spline2d.hpp index 20affa49..52ec0df1 100644 --- a/libsrc/geom2d/spline2d.hpp +++ b/libsrc/geom2d/spline2d.hpp @@ -62,7 +62,7 @@ public: int bc; /// copy spline mesh from other spline (-1.. do not copy) int copyfrom; - /// perfrom anisotropic refinement (hp-refinement) to edge + /// perform anisotropic refinement (hp-refinement) to edge bool hpref_left; bool hpref_right; /// calculates length of curve diff --git a/libsrc/gprim/transform3d.hpp b/libsrc/gprim/transform3d.hpp index 49ce29ab..e9736ff6 100644 --- a/libsrc/gprim/transform3d.hpp +++ b/libsrc/gprim/transform3d.hpp @@ -24,9 +24,9 @@ class Transformation3d public: /// Transformation3d (); - /// Unit tet is mapped to tet descibed by pp + /// Unit tet is mapped to tet described by pp Transformation3d (const Point3d ** pp); - /// Unit tet is mapped to tet descibed by pp + /// Unit tet is mapped to tet described by pp Transformation3d (const Point3d pp[]); /// translation Transformation3d (const Vec3d & translate); @@ -90,7 +90,7 @@ public: /// Transformation () { m = 0; v = 0; } - /// Unit tet is mapped to tet descibed by pp + /// Unit tet is mapped to tet described by pp Transformation (const Point * pp); /// translation diff --git a/libsrc/interface/writeOpenFOAM15x.cpp b/libsrc/interface/writeOpenFOAM15x.cpp index 082a69e0..574fc2ec 100644 --- a/libsrc/interface/writeOpenFOAM15x.cpp +++ b/libsrc/interface/writeOpenFOAM15x.cpp @@ -165,7 +165,7 @@ namespace netgen neighbour_celllist.Elem(owner_face) = elind; // From this point on, the code within this "if" block - // basically sorts the order of the the Neighbour cells (along + // basically sorts the order of the Neighbour cells (along // with the faces list) in ascending order. // The approach used is..... to traverse the owner and neighbour cell lists // up and down, and sort the neighbour cells of a given owner cell diff --git a/libsrc/interface/writefluent.cpp b/libsrc/interface/writefluent.cpp index c5dac392..792203d6 100644 --- a/libsrc/interface/writefluent.cpp +++ b/libsrc/interface/writefluent.cpp @@ -138,7 +138,7 @@ void WriteFluentFormat (const Mesh & mesh, if (eli2==i) cout << "error in WRITE_FLUENT!!!" << endl; - if (eli2 > i) //dont write faces two times! + if (eli2 > i) //don't write faces two times! { //i: left cell, eli: right cell outfile << hex << face.PNum(2) << " " diff --git a/libsrc/meshing/hprefinement.cpp b/libsrc/meshing/hprefinement.cpp index 1f257b48..a26945e6 100644 --- a/libsrc/meshing/hprefinement.cpp +++ b/libsrc/meshing/hprefinement.cpp @@ -1797,7 +1797,7 @@ bool CheckSingularities(Mesh & mesh, INDEX_2_HASHTABLE & edges, INDEX_2_HAS edgepoint.Set(i); } - // mark points for refinement that are explicity specified in input file + // mark points for refinement that are explicitly specified in input file if (mesh.Point(i).Singularity()*levels >= act_ref) { cornerpoint.Set(i); diff --git a/libsrc/meshing/meshing3.cpp b/libsrc/meshing/meshing3.cpp index 65854e62..16b49c53 100644 --- a/libsrc/meshing/meshing3.cpp +++ b/libsrc/meshing/meshing3.cpp @@ -179,7 +179,7 @@ GenerateMesh (Mesh & mesh, const MeshingParameters & mp) Array locpoints; // local points Array locfaces; // local faces Array pindex; // mapping from local to front point numbering - Array allowpoint; // point is allowd ? + Array allowpoint; // point is allowed ? Array findex; // mapping from local to front face numbering //INDEX_2_HASHTABLE connectedpairs(100); // connecgted pairs for prism meshing diff --git a/libsrc/meshing/meshtype.hpp b/libsrc/meshing/meshtype.hpp index a2424427..10b4ca83 100644 --- a/libsrc/meshing/meshtype.hpp +++ b/libsrc/meshing/meshtype.hpp @@ -631,7 +631,7 @@ namespace netgen bool marked:1; // marked for refinement bool badel:1; // angles worse then limit bool reverse:1; // for refinement a la Bey - bool illegal:1; // illegal, will be split or swaped + bool illegal:1; // illegal, will be split or swapped bool illegal_valid:1; // is illegal-flag valid ? bool badness_valid:1; // is badness valid ? bool refflag:1; // mark element for refinement diff --git a/libsrc/meshing/refine.cpp b/libsrc/meshing/refine.cpp index e6e1f7cb..22c2d626 100644 --- a/libsrc/meshing/refine.cpp +++ b/libsrc/meshing/refine.cpp @@ -490,7 +490,7 @@ namespace netgen }; */ - // udpated by anonymous supporter, donations please to Karo W. + // updated by anonymous supporter, donations please to Karo W. static int fbetw[12][3] = { { 11, 12, 22 }, { 9, 10, 22 }, diff --git a/libsrc/stlgeom/meshstlsurface.cpp b/libsrc/stlgeom/meshstlsurface.cpp index 41b2f489..4e267193 100644 --- a/libsrc/stlgeom/meshstlsurface.cpp +++ b/libsrc/stlgeom/meshstlsurface.cpp @@ -430,7 +430,7 @@ int STLSurfaceMeshing (STLGeometry & geom, class Mesh & mesh) { PrintMessage(5,"mesh is closed, verifying ..."); - // no open elements, check wrong elemetns (intersecting..) + // no open elements, check wrong elements (intersecting..) diff --git a/libsrc/stlgeom/stlgeom.cpp b/libsrc/stlgeom/stlgeom.cpp index 895f6947..8c2e5a1f 100644 --- a/libsrc/stlgeom/stlgeom.cpp +++ b/libsrc/stlgeom/stlgeom.cpp @@ -182,7 +182,7 @@ void STLGeometry :: SmoothNormals() Vec<3> ri; - double wnb = stldoctor.smoothnormalsweight; // neigbour normal weight + double wnb = stldoctor.smoothnormalsweight; // neighbour normal weight double wgeom = 1-wnb; // geometry normal weight diff --git a/libsrc/stlgeom/stlgeommesh.cpp b/libsrc/stlgeom/stlgeommesh.cpp index d5ec90a1..a028987f 100644 --- a/libsrc/stlgeom/stlgeommesh.cpp +++ b/libsrc/stlgeom/stlgeommesh.cpp @@ -1137,7 +1137,7 @@ void STLGeometry :: RestrictHChartDistOneChart(int chartnum, Array& acttrig Array plimes1; Array plimes2; - Array plimes1trigs; //check from wich trig the points come + Array plimes1trigs; //check from which trig the points come Array plimes2trigs; Array plimes1origin; //either the original pointnumber or zero, if new point diff --git a/libsrc/stlgeom/stltopology.cpp b/libsrc/stlgeom/stltopology.cpp index 54474130..baabe981 100644 --- a/libsrc/stlgeom/stltopology.cpp +++ b/libsrc/stlgeom/stltopology.cpp @@ -425,7 +425,7 @@ STLGeometry * STLTopology ::Load (istream & ist) if (badnormals) { - PrintWarning("File has normal vectors which differ extremly from geometry->correct with stldoctor!!!"); + PrintWarning("File has normal vectors which differ extremely from geometry->correct with stldoctor!!!"); } geom->InitSTLGeometry(readtrigs); diff --git a/ng/Togl-1.7/TODO b/ng/Togl-1.7/TODO index 26c734d6..c525ddac 100644 --- a/ng/Togl-1.7/TODO +++ b/ng/Togl-1.7/TODO @@ -13,7 +13,7 @@ multisampling support (can be worked-around by passing in a pixelformat) add vertical sync control -update documention +update documentation - update build instructions - update stereo documentation - separate Tcl API from C API diff --git a/ng/Togl-1.7/Togl.html b/ng/Togl-1.7/Togl.html index 30de89ba..fa451e24 100644 --- a/ng/Togl-1.7/Togl.html +++ b/ng/Togl-1.7/Togl.html @@ -797,7 +797,7 @@ make -C Togl install
pathName configure -option
- Returns configuration information for the specifed option + Returns configuration information for the specified option which may be one of:
-width @@ -1029,7 +1029,7 @@ make -C Togl install
  • Added -pixelformat config flag
  • Added setgrid support (unfortunately many window managers can't cope with 1x1 pixel grid)
  • Only free context when last reference is gone -
  • Switched to TEA-based configure (instead of editting make files) +
  • Switched to TEA-based configure (instead of editing make files)

    Version 2.0 — ??? 2006

    diff --git a/ng/Togl-1.7/togl.c b/ng/Togl-1.7/togl.c index 1eeb5d21..a1b75d1e 100644 --- a/ng/Togl-1.7/togl.c +++ b/ng/Togl-1.7/togl.c @@ -915,7 +915,7 @@ Togl_ResetDefaultCallbacks(void) /* - * Chnage the create callback for a specific Togl widget. + * Change the create callback for a specific Togl widget. */ void Togl_SetCreateFunc(Togl *togl, Togl_Callback *proc) @@ -3944,7 +3944,7 @@ Togl_StereoFrustum(GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, * * MacintoshInit -- * - * This procedure calls Mac specific initilization calls. Most of + * This procedure calls Mac specific initialization calls. Most of * these calls must be made as soon as possible in the startup * process. * diff --git a/ng/Togl2.1/aclocal.m4 b/ng/Togl2.1/aclocal.m4 index a4f25fc6..3a839212 100644 --- a/ng/Togl2.1/aclocal.m4 +++ b/ng/Togl2.1/aclocal.m4 @@ -11,7 +11,7 @@ builtin(include,tclconfig/tcl.m4) #------------------------------------------------------------------------ # TOGL_ENABLE_STUBS -- # -# Specifiy if stubs should be used. +# Specify if stubs should be used. # # Arguments: # none diff --git a/ng/Togl2.1/doc/download.html b/ng/Togl2.1/doc/download.html index de7fa86f..7c3524ee 100644 --- a/ng/Togl2.1/doc/download.html +++ b/ng/Togl2.1/doc/download.html @@ -280,7 +280,7 @@ make install
  • added -pixelformat config flag
  • added setgrid support (unfortunately many window managers can't cope with 1x1 pixel grid)
  • only free context when last reference is gone -
  • switched to TEA-based configure (instead of editting make files) +
  • switched to TEA-based configure (instead of editing make files)

    Version 2.0 — April 22, 2008

    diff --git a/ng/Togl2.1/doc/upgrading.html b/ng/Togl2.1/doc/upgrading.html index 790cc732..14f947a6 100644 --- a/ng/Togl2.1/doc/upgrading.html +++ b/ng/Togl2.1/doc/upgrading.html @@ -64,7 +64,7 @@ currently in the Tcl core (8.4.13), it is unclear how to make the API thread safe, and the internal Tcl C API doesn't support - dynamicly changing sets of subcommands. + dynamically changing sets of subcommands. That said, this functionality might come back, especially when TIP #257 is implemented. Instead, in version 2, diff --git a/ng/Togl2.1/doc/using.html b/ng/Togl2.1/doc/using.html index 0e847d1f..e72eaf38 100644 --- a/ng/Togl2.1/doc/using.html +++ b/ng/Togl2.1/doc/using.html @@ -136,7 +136,7 @@ Called when the contents of the Togl widget needs to be redrawn. Redraws are normally delayed to be when the Tcl event loop is idle (see the togl widget's postredisplay command), - or as the result of an explict call to the togl's widgets + or as the result of an explicit call to the togl's widgets render command. diff --git a/ng/Togl2.1/togl.c b/ng/Togl2.1/togl.c index 67f13392..ee1f16e5 100644 --- a/ng/Togl2.1/togl.c +++ b/ng/Togl2.1/togl.c @@ -3427,7 +3427,7 @@ Togl_MakeWindow(Tk_Window tkwin, Window parent, ClientData instanceData) /* Colormap for CI mode */ #ifdef TOGL_WGL /* this logic is to overcome a combination driver/compiler bug: (1) - * cColorBits may be unusally large (e.g., 32 instead of 8 or 12) and + * cColorBits may be unusually large (e.g., 32 instead of 8 or 12) and * (2) 1 << 32 might be 1 instead of zero (gcc for ia32) */ if (pfd.cColorBits >= MAX_CI_COLORMAP_BITS) { togl->CiColormapSize = MAX_CI_COLORMAP_SIZE; diff --git a/ng/dialog.tcl b/ng/dialog.tcl index 3db6f8fb..50488c96 100644 --- a/ng/dialog.tcl +++ b/ng/dialog.tcl @@ -666,7 +666,7 @@ proc meshingoptionsdialog { } { -variable debug.slowchecks -command { Ng_SetDebugParameters } ttk::checkbutton $f.cb1.debugoutput -text "Debugging outout" \ -variable debug.debugoutput -command { Ng_SetDebugParameters } - ttk::checkbutton $f.cb1.haltexline -text "Halt on exising line" \ + ttk::checkbutton $f.cb1.haltexline -text "Halt on existing line" \ -variable debug.haltexistingline -command { Ng_SetDebugParameters } ttk::checkbutton $f.cb1.haltoverlap -text "Halt on Overlap" \ -variable debug.haltoverlap -command { Ng_SetDebugParameters } diff --git a/ng/onetcl.cpp b/ng/onetcl.cpp index 3a5987cc..7f01253a 100644 --- a/ng/onetcl.cpp +++ b/ng/onetcl.cpp @@ -1831,7 +1831,7 @@ const char * ngscript[] = {"" ,"-variable debug.slowchecks -command { Ng_SetDebugParameters }\n" ,"ttk::checkbutton $f.cb1.debugoutput -text \"Debugging outout\" \\\n" ,"-variable debug.debugoutput -command { Ng_SetDebugParameters }\n" -,"ttk::checkbutton $f.cb1.haltexline -text \"Halt on exising line\" \\\n" +,"ttk::checkbutton $f.cb1.haltexline -text \"Halt on existing line\" \\\n" ,"-variable debug.haltexistingline -command { Ng_SetDebugParameters }\n" ,"ttk::checkbutton $f.cb1.haltoverlap -text \"Halt on Overlap\" \\\n" ,"-variable debug.haltoverlap -command { Ng_SetDebugParameters }\n"