From 431efcedc07c6d9bf6c6e22e811e47b2fe6720da Mon Sep 17 00:00:00 2001 From: luzpaz Date: Mon, 24 Jul 2023 11:34:41 -0400 Subject: [PATCH] Fix typos --- libsrc/linalg/opti.hpp | 8 ++++---- libsrc/meshing/delaunay.cpp | 2 +- libsrc/meshing/meshclass.hpp | 2 +- ng/dialog.tcl | 4 ++-- ng/nghelp.tcl | 4 ++-- ng/ngtesting.tcl | 2 +- ng/onetcl.cpp | 4 ++-- python/webgui.py | 2 +- 8 files changed, 14 insertions(+), 14 deletions(-) diff --git a/libsrc/linalg/opti.hpp b/libsrc/linalg/opti.hpp index 987578690..5d07c4469 100644 --- a/libsrc/linalg/opti.hpp +++ b/libsrc/linalg/opti.hpp @@ -80,11 +80,11 @@ namespace netgen Vector & g, // i: Gradient an der Stelle x // o: Gradient an der Stelle xneu, falls ifail = 0 - const MinFunction & fun, // function to minmize + const MinFunction & fun, // function to minimize const OptiParameters & par, // parameters - double & alphahat, // i: Startwert für alpha_hat + double & alphahat, // i: Startwert f�r alpha_hat // o: Loesung falls ifail = 0 - double fmin, // i: untere Schranke für f + double fmin, // i: untere Schranke f�r f double mu1, // i: Parameter mu_1 aus Alg.2.1 double sigma, // i: Parameter sigma aus Alg.2.1 double xi1, // i: Parameter xi_1 aus Alg.2.1 @@ -94,7 +94,7 @@ namespace netgen double tau2, // i: Parameter tau_2 aus Alg.2.1 int & ifail); // o: 0 bei erfolgreicher Liniensuche // -1 bei Abbruch wegen Unterschreiten von fmin - // 1 bei Abbruch, aus sonstigen Gründen + // 1 bei Abbruch, aus sonstigen Gr�nden diff --git a/libsrc/meshing/delaunay.cpp b/libsrc/meshing/delaunay.cpp index 349a021e0..46c6e4f2c 100644 --- a/libsrc/meshing/delaunay.cpp +++ b/libsrc/meshing/delaunay.cpp @@ -1506,7 +1506,7 @@ namespace netgen if (IntersectTetTriangle (&pp[0], &tripp[0], tetpi, tripi)) { - cout << "Intesection detected !!" << endl; + cout << "Intersection detected !!" << endl; } } diff --git a/libsrc/meshing/meshclass.hpp b/libsrc/meshing/meshclass.hpp index 22ac89607..3d32f3155 100644 --- a/libsrc/meshing/meshclass.hpp +++ b/libsrc/meshing/meshclass.hpp @@ -580,7 +580,7 @@ namespace netgen const NgArray< NgArray* > * idmaps = NULL); /** free nodes in environment of openelements - for optimiztion + for optimization */ void FreeOpenElementsEnvironment (int layers); diff --git a/ng/dialog.tcl b/ng/dialog.tcl index 3d118574f..1e63c199a 100644 --- a/ng/dialog.tcl +++ b/ng/dialog.tcl @@ -1066,7 +1066,7 @@ proc viewingoptionsdialog { } { -options { entry.width 3 } \ -command { Ng_SetOCCVisParameters } ttk::frame $f.occframe.vssm - ttk::label $f.occframe.vssm.lab -text "Visulization smoothness" + ttk::label $f.occframe.vssm.lab -text "Visualization smoothness" ttk::spinbox $f.occframe.vssm.sp -textvariable occoptions.deflection \ -from 0.1 -to 3 -increment 0.1 -width 4 -command { catch Ng_SetOCCVisParameters } \ -validate focus -validatecommand "my_validatespinbox %W %P 0" \ @@ -1082,7 +1082,7 @@ proc viewingoptionsdialog { } { # ACIS visualization / construction - ttk::labelframe $f.occframe1 -relief groove -borderwidth 3 -text "ACIS visulization / construction" + ttk::labelframe $f.occframe1 -relief groove -borderwidth 3 -text "ACIS visualization / construction" pack $f.occframe1 -fill x -pady 15 -ipady 8 #ttk::frame $f.occframe1.shso ttk::label $f.occframe1.lab1 -text "Show solid (0 for all)" diff --git a/ng/nghelp.tcl b/ng/nghelp.tcl index 809e19126..b2d2d3ebe 100644 --- a/ng/nghelp.tcl +++ b/ng/nghelp.tcl @@ -124,7 +124,7 @@ proc sensitivehelpdialog { show } { set_menu_help "File" "In File menu you can load and store geometries, meshes etc." set_menu_help "New Geometry" "Deletes current geometry" -set_menu_help "Load Geometry" "Loads Geometry file in one of the formats STL (ASCII or binary), Constructive Solid Geometry (.geo) or 2D geometry. Please have a look into Netgen User's manuel for more details." +set_menu_help "Load Geometry" "Loads Geometry file in one of the formats STL (ASCII or binary), Constructive Solid Geometry (.geo) or 2D geometry. Please have a look into Netgen User's manual for more details." set_menu_help "Save Geometry" "Saves STL Geometry in in either ASCII or binary STL format." set_menu_help "Load Mesh" "Loads surface and volume mesh in Netgen internal format." set_menu_help "Save Mesh" "Saves surface and volume mesh in Netgen internal format." @@ -156,7 +156,7 @@ set_menu_help "Analyze Geometry" "Perform only first step in mesh generation. Ac set_menu_help "Mesh Edges" "Meshes edges" set_menu_help "Mesh Surface" "Generates surface mesh. Includes already surface optimization for some geometry types." set_menu_help "Optimize Surface" "Optimizes surface mesh." -set_menu_help "Surface Optim. Step" "Performs a specific surface optimiztion step. Mesh smoothing moves nodes. edge swapping swaps the diagonal of a quadrilateral built by two triangles, criterion either by number of nodes, or anlges. Combine points eliminates triangles by combining points (in the center of gravity)." +set_menu_help "Surface Optim. Step" "Performs a specific surface optimization step. Mesh smoothing moves nodes. edge swapping swaps the diagonal of a quadrilateral built by two triangles, criterion either by number of nodes, or anlges. Combine points eliminates triangles by combining points (in the center of gravity)." set_menu_help "Mesh Volume" "Performs volume meshing. Algorithm is a combination of Delaunay and Rule-based Advancing Front" set_menu_help "Optimize Volume" "Performs additional volume optimization steps" set_menu_help "Smooth Opt Volume" "Performs optimization steps by smoothing iterations" diff --git a/ng/ngtesting.tcl b/ng/ngtesting.tcl index 24b589834..5039bdfb6 100644 --- a/ng/ngtesting.tcl +++ b/ng/ngtesting.tcl @@ -125,7 +125,7 @@ proc ngtest { {t all} {f ""}} { } puts "*** stl tests complete" } elseif {$t == "pde"} { - puts "\n*** preforming pde tests ***" + puts "\n*** performing pde tests ***" # set logfile [open pdetest.log "w"] puts " ** writing results to $f" diff --git a/ng/onetcl.cpp b/ng/onetcl.cpp index d25549e42..ac420d96f 100644 --- a/ng/onetcl.cpp +++ b/ng/onetcl.cpp @@ -4336,7 +4336,7 @@ DLL_HEADER const char * ngscript[] = {"" ,"}\n" ,"set_menu_help \"File\" \"In File menu you can load and store geometries, meshes etc.\"\n" ,"set_menu_help \"New Geometry\" \"Deletes current geometry\"\n" -,"set_menu_help \"Load Geometry\" \"Loads Geometry file in one of the formats STL (ASCII or binary), Constructive Solid Geometry (.geo) or 2D geometry. Please have a look into Netgen User's manuel for more details.\"\n" +,"set_menu_help \"Load Geometry\" \"Loads Geometry file in one of the formats STL (ASCII or binary), Constructive Solid Geometry (.geo) or 2D geometry. Please have a look into Netgen User's manual for more details.\"\n" ,"set_menu_help \"Save Geometry\" \"Saves STL Geometry in in either ASCII or binary STL format.\"\n" ,"set_menu_help \"Load Mesh\" \"Loads surface and volume mesh in Netgen internal format.\"\n" ,"set_menu_help \"Save Mesh\" \"Saves surface and volume mesh in Netgen internal format.\"\n" @@ -4366,7 +4366,7 @@ DLL_HEADER const char * ngscript[] = {"" ,"set_menu_help \"Mesh Edges\" \"Meshes edges\"\n" ,"set_menu_help \"Mesh Surface\" \"Generates surface mesh. Includes already surface optimization for some geometry types.\"\n" ,"set_menu_help \"Optimize Surface\" \"Optimizes surface mesh.\"\n" -,"set_menu_help \"Surface Optim. Step\" \"Performs a specific surface optimiztion step. Mesh smoothing moves nodes. edge swapping swaps the diagonal of a quadrilateral built by two triangles, criterion either by number of nodes, or anlges. Combine points eliminates triangles by combining points (in the center of gravity).\"\n" +,"set_menu_help \"Surface Optim. Step\" \"Performs a specific surface optimization step. Mesh smoothing moves nodes. edge swapping swaps the diagonal of a quadrilateral built by two triangles, criterion either by number of nodes, or anlges. Combine points eliminates triangles by combining points (in the center of gravity).\"\n" ,"set_menu_help \"Mesh Volume\" \"Performs volume meshing. Algorithm is a combination of Delaunay and Rule-based Advancing Front\"\n" ,"set_menu_help \"Optimize Volume\" \"Performs additional volume optimization steps\"\n" ,"set_menu_help \"Smooth Opt Volume\" \"Performs optimization steps by smoothing iterations\"\n" diff --git a/python/webgui.py b/python/webgui.py index 7131e234c..bee7f8033 100644 --- a/python/webgui.py +++ b/python/webgui.py @@ -235,7 +235,7 @@ def _DrawDocu(obj, *args, **kwargs): if "NETGEN_DOCUMENTATION_SRC_DIR" in os.environ: - # we are buiding the documentation, some things are handled differently: + # we are building the documentation, some things are handled differently: # 1) Draw() is generating a .png (using headless chromium via selenium) and a render_data.json # to show a preview image and load the render_data only when requested by user # 2) return a NGSDocuWebGuiWidget instead of NGSWebGuiWidget implementing the preview/load on demand of webgui