mirror of
https://github.com/NGSolve/netgen.git
synced 2025-04-12 16:17:29 +05:00
Fix typos
This commit is contained in:
parent
340c34bcf8
commit
431efcedc0
@ -80,11 +80,11 @@ namespace netgen
|
|||||||
Vector & g, // i: Gradient an der Stelle x
|
Vector & g, // i: Gradient an der Stelle x
|
||||||
// o: Gradient an der Stelle xneu, falls ifail = 0
|
// 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
|
const OptiParameters & par, // parameters
|
||||||
double & alphahat, // i: Startwert für alpha_hat
|
double & alphahat, // i: Startwert f<EFBFBD>r alpha_hat
|
||||||
// o: Loesung falls ifail = 0
|
// o: Loesung falls ifail = 0
|
||||||
double fmin, // i: untere Schranke für f
|
double fmin, // i: untere Schranke f<EFBFBD>r f
|
||||||
double mu1, // i: Parameter mu_1 aus Alg.2.1
|
double mu1, // i: Parameter mu_1 aus Alg.2.1
|
||||||
double sigma, // i: Parameter sigma aus Alg.2.1
|
double sigma, // i: Parameter sigma aus Alg.2.1
|
||||||
double xi1, // i: Parameter xi_1 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
|
double tau2, // i: Parameter tau_2 aus Alg.2.1
|
||||||
int & ifail); // o: 0 bei erfolgreicher Liniensuche
|
int & ifail); // o: 0 bei erfolgreicher Liniensuche
|
||||||
// -1 bei Abbruch wegen Unterschreiten von fmin
|
// -1 bei Abbruch wegen Unterschreiten von fmin
|
||||||
// 1 bei Abbruch, aus sonstigen Gründen
|
// 1 bei Abbruch, aus sonstigen Gr<EFBFBD>nden
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -1506,7 +1506,7 @@ namespace netgen
|
|||||||
|
|
||||||
if (IntersectTetTriangle (&pp[0], &tripp[0], tetpi, tripi))
|
if (IntersectTetTriangle (&pp[0], &tripp[0], tetpi, tripi))
|
||||||
{
|
{
|
||||||
cout << "Intesection detected !!" << endl;
|
cout << "Intersection detected !!" << endl;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -580,7 +580,7 @@ namespace netgen
|
|||||||
const NgArray< NgArray<int,PointIndex::BASE>* > * idmaps = NULL);
|
const NgArray< NgArray<int,PointIndex::BASE>* > * idmaps = NULL);
|
||||||
/**
|
/**
|
||||||
free nodes in environment of openelements
|
free nodes in environment of openelements
|
||||||
for optimiztion
|
for optimization
|
||||||
*/
|
*/
|
||||||
void FreeOpenElementsEnvironment (int layers);
|
void FreeOpenElementsEnvironment (int layers);
|
||||||
|
|
||||||
|
@ -1066,7 +1066,7 @@ proc viewingoptionsdialog { } {
|
|||||||
-options { entry.width 3 } \
|
-options { entry.width 3 } \
|
||||||
-command { Ng_SetOCCVisParameters }
|
-command { Ng_SetOCCVisParameters }
|
||||||
ttk::frame $f.occframe.vssm
|
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 \
|
ttk::spinbox $f.occframe.vssm.sp -textvariable occoptions.deflection \
|
||||||
-from 0.1 -to 3 -increment 0.1 -width 4 -command { catch Ng_SetOCCVisParameters } \
|
-from 0.1 -to 3 -increment 0.1 -width 4 -command { catch Ng_SetOCCVisParameters } \
|
||||||
-validate focus -validatecommand "my_validatespinbox %W %P 0" \
|
-validate focus -validatecommand "my_validatespinbox %W %P 0" \
|
||||||
@ -1082,7 +1082,7 @@ proc viewingoptionsdialog { } {
|
|||||||
|
|
||||||
# ACIS visualization / construction
|
# 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
|
pack $f.occframe1 -fill x -pady 15 -ipady 8
|
||||||
#ttk::frame $f.occframe1.shso
|
#ttk::frame $f.occframe1.shso
|
||||||
ttk::label $f.occframe1.lab1 -text "Show solid (0 for all)"
|
ttk::label $f.occframe1.lab1 -text "Show solid (0 for all)"
|
||||||
|
@ -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 "File" "In File menu you can load and store geometries, meshes etc."
|
||||||
|
|
||||||
set_menu_help "New Geometry" "Deletes current geometry"
|
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 "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 "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."
|
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 Edges" "Meshes edges"
|
||||||
set_menu_help "Mesh Surface" "Generates surface mesh. Includes already surface optimization for some geometry types."
|
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 "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 "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 "Optimize Volume" "Performs additional volume optimization steps"
|
||||||
set_menu_help "Smooth Opt Volume" "Performs optimization steps by smoothing iterations"
|
set_menu_help "Smooth Opt Volume" "Performs optimization steps by smoothing iterations"
|
||||||
|
@ -125,7 +125,7 @@ proc ngtest { {t all} {f ""}} {
|
|||||||
}
|
}
|
||||||
puts "*** stl tests complete"
|
puts "*** stl tests complete"
|
||||||
} elseif {$t == "pde"} {
|
} elseif {$t == "pde"} {
|
||||||
puts "\n*** preforming pde tests ***"
|
puts "\n*** performing pde tests ***"
|
||||||
# set logfile [open pdetest.log "w"]
|
# set logfile [open pdetest.log "w"]
|
||||||
puts " ** writing results to $f"
|
puts " ** writing results to $f"
|
||||||
|
|
||||||
|
@ -4336,7 +4336,7 @@ DLL_HEADER const char * ngscript[] = {""
|
|||||||
,"}\n"
|
,"}\n"
|
||||||
,"set_menu_help \"File\" \"In File menu you can load and store geometries, meshes etc.\"\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 \"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 \"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 \"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"
|
,"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 Edges\" \"Meshes edges\"\n"
|
||||||
,"set_menu_help \"Mesh Surface\" \"Generates surface mesh. Includes already surface optimization for some geometry types.\"\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 \"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 \"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 \"Optimize Volume\" \"Performs additional volume optimization steps\"\n"
|
||||||
,"set_menu_help \"Smooth Opt Volume\" \"Performs optimization steps by smoothing iterations\"\n"
|
,"set_menu_help \"Smooth Opt Volume\" \"Performs optimization steps by smoothing iterations\"\n"
|
||||||
|
@ -235,7 +235,7 @@ def _DrawDocu(obj, *args, **kwargs):
|
|||||||
|
|
||||||
|
|
||||||
if "NETGEN_DOCUMENTATION_SRC_DIR" in os.environ:
|
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
|
# 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
|
# 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
|
# 2) return a NGSDocuWebGuiWidget instead of NGSWebGuiWidget implementing the preview/load on demand of webgui
|
||||||
|
Loading…
x
Reference in New Issue
Block a user