From cea3f3e2b94c15647513a7f1e3da68362e73a8b9 Mon Sep 17 00:00:00 2001 From: luzpaz Date: Tue, 25 Jul 2017 23:29:41 -0400 Subject: [PATCH] Misc. typo fixes --- CMakeLists.txt | 4 ++-- doc/ng4.tex | 6 +++--- ng/CMakeLists.txt | 2 +- ng/Togl-1.7/togl.c | 2 +- ng/Togl2.1/README.bin | 2 +- ng/Togl2.1/Xmu/CrCmap.c | 4 ++-- ng/Togl2.1/configure | 6 +++--- ng/Togl2.1/doc/stereo.html | 2 +- ng/Togl2.1/tclconfig/tcl.m4 | 6 +++--- ng/Togl2.1/toglAGL.c | 2 +- ng/Togl2.1/toglpy.h | 2 +- ng/nghelp.tcl | 2 +- ng/ngshell.tcl | 2 +- ng/ngtesting.tcl | 2 +- ng/onetcl.cpp | 4 ++-- ng/onetcl.py | 2 +- 16 files changed, 25 insertions(+), 25 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index d9328b8b..80423216 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -95,7 +95,7 @@ endif(INTEL_MIC) ####################################################################### # Append install paths of software in non-standard paths (e.g. openmpi, metis, intel mkl, ...) # cmake -DUSE_MPI=ON -DCMAKE_PREFIX_PATH="/opt/openmpi165;/opt/metis51" ../ -set(ADDITIONAL_PATHS "" CACHE PATH "List of paths to additional libraries in non-standard locations, seperated by ';'") +set(ADDITIONAL_PATHS "" CACHE PATH "List of paths to additional libraries in non-standard locations, separated by ';'") if (ADDITIONAL_PATHS) set(CMAKE_PREFIX_PATH ${ADDITIONAL_PATHS}) endif (ADDITIONAL_PATHS) @@ -496,6 +496,6 @@ message(" ------------------------------------------------------------------------ ") if (ADDITIONAL_PATHS) - message(WARNING "The use of ADDITIONAL_PATHS is depricated, use CMAKE_PREFIX_PATH instead") + message(WARNING "The use of ADDITIONAL_PATHS is deprecated, use CMAKE_PREFIX_PATH instead") endif (ADDITIONAL_PATHS) diff --git a/doc/ng4.tex b/doc/ng4.tex index 7ade048c..e286f7c0 100644 --- a/doc/ng4.tex +++ b/doc/ng4.tex @@ -56,7 +56,7 @@ Forschung'' (http://www.fwf.ac.at) under projects P 10643-TEC and SFB 1306. Starting from 2002, the development continued within the Start project ``hp-FEM'' (http://www.hpfem.jku.at) granted by the FWF. In 2006, the Netgen development moved together with J.~Sch\"oberl to RWTH -Aachen Universtiy, Germany (http://www.mathcces.rwth-aachen.de/netgen). +Aachen University, Germany (http://www.mathcces.rwth-aachen.de/netgen). \section{How to receive NETGEN} @@ -161,7 +161,7 @@ ASCII file in a text editor. The geometry is defined by the Eulerian operations (union, intersection and complement) from primitives. A complete list of -availabe primitives is given in Section~\ref{sec_primitives}. +available primitives is given in Section~\ref{sec_primitives}. The following input describes a cube: \begin{quote} @@ -443,7 +443,7 @@ have to be specified explicitely in the .geo file with the command \tt identify closesurfaces ; \end{quote} -(this feature originally was intented for close surface, which is the reason for the command name). +(this feature originally was intended for close surface, which is the reason for the command name). \paragraph{Optional parameters:} (selection) \begin{itemize} \item \texttt{-tlo=}\\ diff --git a/ng/CMakeLists.txt b/ng/CMakeLists.txt index 23991339..75de5b1c 100644 --- a/ng/CMakeLists.txt +++ b/ng/CMakeLists.txt @@ -9,7 +9,7 @@ if(WIN32) # add icon to netgen executable enable_language(RC) set(netgen_sources ${netgen_sources} ../windows/netgen.rc) - # Don't use ccache here due to incompatiblity with the resource compiler + # Don't use ccache here due to incompatibility with the resource compiler set_directory_properties(PROPERTIES RULE_LAUNCH_COMPILE "") endif(WIN32) diff --git a/ng/Togl-1.7/togl.c b/ng/Togl-1.7/togl.c index 098f917a..1eeb5d21 100644 --- a/ng/Togl-1.7/togl.c +++ b/ng/Togl-1.7/togl.c @@ -3974,7 +3974,7 @@ Togl_MacInit(void) /* * Tk needs us to set the qd pointer it uses. This is needed - * so Tk doesn't have to assume the availablity of the qd global + * so Tk doesn't have to assume the availability of the qd global * variable. Which in turn allows Tk to be used in code resources. */ tcl_macQdPtr = &qd; diff --git a/ng/Togl2.1/README.bin b/ng/Togl2.1/README.bin index 0cb0412b..49e820b2 100644 --- a/ng/Togl2.1/README.bin +++ b/ng/Togl2.1/README.bin @@ -67,7 +67,7 @@ File hierarchy: *.html Start with index.html The contents of the include and lib directories can be placed verbatim -in the Tcl installataion hierachy. +in the Tcl installataion hierarchy. Documentation is in the doc directory. Start with doc/index.html in your web browser. diff --git a/ng/Togl2.1/Xmu/CrCmap.c b/ng/Togl2.1/Xmu/CrCmap.c index c7f903fa..bb55a862 100644 --- a/ng/Togl2.1/Xmu/CrCmap.c +++ b/ng/Togl2.1/Xmu/CrCmap.c @@ -298,7 +298,7 @@ static Status readwrite_map(dpy, vinfo, colormap) #undef calc } /* We have a read-only map defined. Now free unused cells, - * first those occuring before the contiguous sequence begins, + * first those occurring before the contiguous sequence begins, * then any following the contiguous sequence. */ @@ -439,7 +439,7 @@ static void free_cells(dpy, cmap, pixels, npixels, p) { /* One of the npixels allocated has already been freed. * p is the index of the freed pixel. - * First free the pixels preceeding p, and there are p of them; + * First free the pixels preceding p, and there are p of them; * then free the pixels following p, there are npixels - p - 1 of them. */ XFreeColors(dpy, cmap, pixels, p, (unsigned long) 0); diff --git a/ng/Togl2.1/configure b/ng/Togl2.1/configure index 9f4cdf30..e11028e9 100755 --- a/ng/Togl2.1/configure +++ b/ng/Togl2.1/configure @@ -2477,7 +2477,7 @@ $as_echo "could not find ${TCL_BIN_DIR}/tclConfig.sh" >&6; } elif test "`uname -s`" = "Darwin"; then # If Tcl was built as a framework, attempt to use the libraries # from the framework at the given location so that linking works - # against Tcl.framework installed in an arbitary location. + # against Tcl.framework installed in an arbitrary location. case ${TCL_DEFS} in *TCL_FRAMEWORK*) if test -f "${TCL_BIN_DIR}/${TCL_LIB_FILE}"; then @@ -2690,7 +2690,7 @@ $as_echo "could not find ${TK_BIN_DIR}/tkConfig.sh" >&6; } elif test "`uname -s`" = "Darwin"; then # If Tk was built as a framework, attempt to use the libraries # from the framework at the given location so that linking works - # against Tk.framework installed in an arbitary location. + # against Tk.framework installed in an arbitrary location. case ${TK_DEFS} in *TK_FRAMEWORK*) if test -f "${TK_BIN_DIR}/${TK_LIB_FILE}"; then @@ -7906,7 +7906,7 @@ $as_echo "$tcl_cv_ld_single_module" >&6; } SHLIB_LD="${SHLIB_LD} -Wl,-single_module" fi - # TEA specific: link shlib with current and compatiblity version flags + # TEA specific: link shlib with current and compatibility version flags vers=`echo ${PACKAGE_VERSION} | sed -e 's/^\([0-9]\{1,5\}\)\(\(\.[0-9]\{1,3\}\)\{0,2\}\).*$/\1\2/p' -e d` SHLIB_LD="${SHLIB_LD} -current_version ${vers:-0} -compatibility_version ${vers:-0}" SHLIB_LD_LIBS='${LIBS}' diff --git a/ng/Togl2.1/doc/stereo.html b/ng/Togl2.1/doc/stereo.html index 72d4ec8d..97d02187 100644 --- a/ng/Togl2.1/doc/stereo.html +++ b/ng/Togl2.1/doc/stereo.html @@ -43,7 +43,7 @@

There are lots of stereo modes in Togl because there are many ways to draw stereo with different tradeoffs. - All of the stereo modes are choosen with the + All of the stereo modes are chosen with the -stereo configuration option. All of the non-native stereo techniques diff --git a/ng/Togl2.1/tclconfig/tcl.m4 b/ng/Togl2.1/tclconfig/tcl.m4 index ab07457b..c415150a 100644 --- a/ng/Togl2.1/tclconfig/tcl.m4 +++ b/ng/Togl2.1/tclconfig/tcl.m4 @@ -356,7 +356,7 @@ AC_DEFUN([TEA_LOAD_TCLCONFIG], [ elif test "`uname -s`" = "Darwin"; then # If Tcl was built as a framework, attempt to use the libraries # from the framework at the given location so that linking works - # against Tcl.framework installed in an arbitary location. + # against Tcl.framework installed in an arbitrary location. case ${TCL_DEFS} in *TCL_FRAMEWORK*) if test -f "${TCL_BIN_DIR}/${TCL_LIB_FILE}"; then @@ -445,7 +445,7 @@ AC_DEFUN([TEA_LOAD_TKCONFIG], [ elif test "`uname -s`" = "Darwin"; then # If Tk was built as a framework, attempt to use the libraries # from the framework at the given location so that linking works - # against Tk.framework installed in an arbitary location. + # against Tk.framework installed in an arbitrary location. case ${TK_DEFS} in *TK_FRAMEWORK*) if test -f "${TK_BIN_DIR}/${TK_LIB_FILE}"; then @@ -1800,7 +1800,7 @@ dnl AC_CHECK_TOOL(AR, ar) AS_IF([test $tcl_cv_ld_single_module = yes], [ SHLIB_LD="${SHLIB_LD} -Wl,-single_module" ]) - # TEA specific: link shlib with current and compatiblity version flags + # TEA specific: link shlib with current and compatibility version flags vers=`echo ${PACKAGE_VERSION} | sed -e 's/^\([[0-9]]\{1,5\}\)\(\(\.[[0-9]]\{1,3\}\)\{0,2\}\).*$/\1\2/p' -e d` SHLIB_LD="${SHLIB_LD} -current_version ${vers:-0} -compatibility_version ${vers:-0}" SHLIB_LD_LIBS='${LIBS}' diff --git a/ng/Togl2.1/toglAGL.c b/ng/Togl2.1/toglAGL.c index 735a70d4..51e76c30 100644 --- a/ng/Togl2.1/toglAGL.c +++ b/ng/Togl2.1/toglAGL.c @@ -144,7 +144,7 @@ togl_pixelFormat(Togl *togl) } /* TODO: since we aglDestroyPixelFormat elsewhere, this code may leak - * memory if the pixel format choosen is not the original (because + * memory if the pixel format chosen is not the original (because * aglDestroyPixelFormat will give an error). */ count = 0; do { diff --git a/ng/Togl2.1/toglpy.h b/ng/Togl2.1/toglpy.h index 4b964c46..81d4504f 100644 --- a/ng/Togl2.1/toglpy.h +++ b/ng/Togl2.1/toglpy.h @@ -5,7 +5,7 @@ * and should be included before this. If included into a C file, * there should be a static keyword just before the include. * - * There should be one copy of getToglFromWidget per-shared libary so that + * There should be one copy of getToglFromWidget per-shared library so that * the library's Tcl/Tk/Togl stub pointers are properly initialized. * * Copyright (C) 2006 Greg Couch diff --git a/ng/nghelp.tcl b/ng/nghelp.tcl index d669a0ef..c4b47fa6 100644 --- a/ng/nghelp.tcl +++ b/ng/nghelp.tcl @@ -138,7 +138,7 @@ set_menu_help "Quit" "Quits Netgen" set_menu_help "Geometry" "Preparing geometries, visualiztion of geometries." set_menu_help "Scan CSG Geometry" "Generates surface triangulation for rendering" set_menu_help "CSG Options" "Sets Options for CSG visualization (bounding box, detail size, number of facets)." -set_menu_help "CSG Properties" "Defines appearence of current CSG geometry (color, visibility, transparency)" +set_menu_help "CSG Properties" "Defines appearance of current CSG geometry (color, visibility, transparency)" set_menu_help "STL Doctor" "Calls STL Doctor for preprocessing STL geometry files." set_menu_help "STL Info" "Retrieves information about current STL geometry." diff --git a/ng/ngshell.tcl b/ng/ngshell.tcl index 06d2625e..c816d841 100644 --- a/ng/ngshell.tcl +++ b/ng/ngshell.tcl @@ -215,7 +215,7 @@ proc ngoptimizesurface { {step all} } { } elseif {$step == "combinepoints"} { Ng_GenerateMesh os os c } else { - puts "error: unkown option in ngoptimizesurface" + puts "error: unknown option in ngoptimizesurface" return } Ng_ReadStatus diff --git a/ng/ngtesting.tcl b/ng/ngtesting.tcl index f0f685ee..24b58983 100644 --- a/ng/ngtesting.tcl +++ b/ng/ngtesting.tcl @@ -142,7 +142,7 @@ proc ngtest { {t all} {f ""}} { puts "*** pde tests complete" } else { - puts $logfile "error: unkown test program '$t'"; flush $logfile + puts $logfile "error: unknown test program '$t'"; flush $logfile } puts "" } diff --git a/ng/onetcl.cpp b/ng/onetcl.cpp index 00bbbbef..0c160958 100644 --- a/ng/onetcl.cpp +++ b/ng/onetcl.cpp @@ -4311,7 +4311,7 @@ const char * ngscript[] = {"" ,"set_menu_help \"Geometry\" \"Preparing geometries, visualiztion of geometries.\"\n" ,"set_menu_help \"Scan CSG Geometry\" \"Generates surface triangulation for rendering\"\n" ,"set_menu_help \"CSG Options\" \"Sets Options for CSG visualization (bounding box, detail size, number of facets).\"\n" -,"set_menu_help \"CSG Properties\" \"Defines appearence of current CSG geometry (color, visibility, transparency)\"\n" +,"set_menu_help \"CSG Properties\" \"Defines appearance of current CSG geometry (color, visibility, transparency)\"\n" ,"set_menu_help \"STL Doctor\" \"Calls STL Doctor for preprocessing STL geometry files.\"\n" ,"set_menu_help \"STL Info\" \"Retrieves information about current STL geometry.\"\n" ,"set_menu_help \"Mesh\" \"Menu for mesh generation\"\n" @@ -5897,7 +5897,7 @@ const char * ngscript[] = {"" ,"} elseif {$step == \"combinepoints\"} {\n" ,"Ng_GenerateMesh os os c\n" ,"} else {\n" -,"puts \"error: unkown option in ngoptimizesurface\"\n" +,"puts \"error: unknown option in ngoptimizesurface\"\n" ,"return\n" ,"}\n" ,"Ng_ReadStatus\n" diff --git a/ng/onetcl.py b/ng/onetcl.py index 19f8f546..dfdedbd8 100644 --- a/ng/onetcl.py +++ b/ng/onetcl.py @@ -11,7 +11,7 @@ for fname in glob.glob('*.tcl'): fnames = list(tclfiles.keys()) fnames.sort(key=functools.cmp_to_key( lambda x,y: tclfiles[x].find('/'+y) )) -# replace all occurences of 'source bla.tcl' with the code of bla.tcl +# replace all occurrences of 'source bla.tcl' with the code of bla.tcl for f in fnames: for g in fnames: if(tclfiles[f].find('/'+g) >= 0):