Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix typos #159

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions libsrc/linalg/opti.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The github dev editor changed these without me being aware. Need to revert this.




Expand Down
2 changes: 1 addition & 1 deletion libsrc/meshing/delaunay.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1506,7 +1506,7 @@ namespace netgen

if (IntersectTetTriangle (&pp[0], &tripp[0], tetpi, tripi))
{
cout << "Intesection detected !!" << endl;
cout << "Intersection detected !!" << endl;
}
}

Expand Down
2 changes: 1 addition & 1 deletion libsrc/meshing/meshclass.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -580,7 +580,7 @@ namespace netgen
const NgArray< NgArray<int,PointIndex::BASE>* > * idmaps = NULL);
/**
free nodes in environment of openelements
for optimiztion
for optimization
*/
void FreeOpenElementsEnvironment (int layers);

Expand Down
4 changes: 2 additions & 2 deletions ng/dialog.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -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" \
Expand All @@ -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)"
Expand Down
4 changes: 2 additions & 2 deletions ng/nghelp.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -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."
Expand Down Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion ng/ngtesting.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down
4 changes: 2 additions & 2 deletions ng/onetcl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion python/webgui.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down