mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-24 21:10:33 +05:00
Typos
Found via `codespell`
This commit is contained in:
parent
d2c70117cc
commit
58002505bc
@ -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
|
||||
|
@ -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;
|
||||
}
|
||||
|
@ -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;
|
||||
|
@ -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.
|
||||
*/
|
||||
|
@ -12,7 +12,7 @@ namespace netgen
|
||||
{
|
||||
|
||||
/**
|
||||
Triangulated approxiamtion to true surface
|
||||
Triangulated approximation to true surface
|
||||
*/
|
||||
|
||||
|
||||
|
@ -29,7 +29,7 @@ namespace netgen
|
||||
bool operator != (ArrayRangeIterator d2) { return ind != d2.ind; }
|
||||
};
|
||||
|
||||
/// a range of intergers
|
||||
/// a range of integers
|
||||
template <typename T>
|
||||
class T_Range
|
||||
{
|
||||
|
@ -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<char*> & val);
|
||||
/// Sets double array flag
|
||||
DLL_HEADER void SetFlag (const char * name, const Array<double> & val);
|
||||
|
@ -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
|
||||
*/
|
||||
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
@ -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
|
||||
|
@ -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<D> * pp);
|
||||
|
||||
/// translation
|
||||
|
@ -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
|
||||
|
@ -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) << " "
|
||||
|
@ -1797,7 +1797,7 @@ bool CheckSingularities(Mesh & mesh, INDEX_2_HASHTABLE<int> & 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);
|
||||
|
@ -179,7 +179,7 @@ GenerateMesh (Mesh & mesh, const MeshingParameters & mp)
|
||||
Array<Point3d, PointIndex::BASE> locpoints; // local points
|
||||
Array<MiniElement2d> locfaces; // local faces
|
||||
Array<PointIndex, PointIndex::BASE> pindex; // mapping from local to front point numbering
|
||||
Array<int, PointIndex::BASE> allowpoint; // point is allowd ?
|
||||
Array<int, PointIndex::BASE> allowpoint; // point is allowed ?
|
||||
Array<INDEX> findex; // mapping from local to front face numbering
|
||||
//INDEX_2_HASHTABLE<int> connectedpairs(100); // connecgted pairs for prism meshing
|
||||
|
||||
|
@ -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
|
||||
|
@ -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 },
|
||||
|
@ -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..)
|
||||
|
||||
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
||||
|
@ -1137,7 +1137,7 @@ void STLGeometry :: RestrictHChartDistOneChart(int chartnum, Array<int>& acttrig
|
||||
Array<Point3d> plimes1;
|
||||
Array<Point3d> plimes2;
|
||||
|
||||
Array<int> plimes1trigs; //check from wich trig the points come
|
||||
Array<int> plimes1trigs; //check from which trig the points come
|
||||
Array<int> plimes2trigs;
|
||||
|
||||
Array<int> plimes1origin; //either the original pointnumber or zero, if new point
|
||||
|
@ -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);
|
||||
|
@ -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
|
||||
|
@ -797,7 +797,7 @@ make -C Togl install
|
||||
<dl>
|
||||
<dt><code><var>pathName</var> configure <var>-option</var></code>
|
||||
<dd>
|
||||
Returns configuration information for the specifed <var>option</var>
|
||||
Returns configuration information for the specified <var>option</var>
|
||||
which may be one of:
|
||||
<dl>
|
||||
<dt><code>-width</code>
|
||||
@ -1029,7 +1029,7 @@ make -C Togl install
|
||||
<li>Added <code>-pixelformat</code> config flag
|
||||
<li>Added setgrid support (unfortunately many window managers can't cope with 1x1 pixel grid)
|
||||
<li>Only free context when last reference is gone
|
||||
<li>Switched to TEA-based configure (instead of editting make files)
|
||||
<li>Switched to TEA-based configure (instead of editing make files)
|
||||
</ul>
|
||||
|
||||
<h3>Version 2.0 — ??? 2006</h3>
|
||||
|
@ -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.
|
||||
*
|
||||
|
2
ng/Togl2.1/aclocal.m4
vendored
2
ng/Togl2.1/aclocal.m4
vendored
@ -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
|
||||
|
@ -280,7 +280,7 @@ make install
|
||||
<li>added <code>-pixelformat</code> config flag
|
||||
<li>added setgrid support (unfortunately many window managers can't cope with 1x1 pixel grid)
|
||||
<li>only free context when last reference is gone
|
||||
<li>switched to TEA-based configure (instead of editting make files)
|
||||
<li>switched to TEA-based configure (instead of editing make files)
|
||||
</ul>
|
||||
|
||||
<h3>Version 2.0 — April 22, 2008</h3>
|
||||
|
@ -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
|
||||
<a href="http://www.tcl.tk/cgi-bin/tct/tip/">TIP #257</a> is implemented.
|
||||
Instead, in version 2,
|
||||
|
@ -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 <code>postredisplay</code> 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
|
||||
<code>render</code> command.
|
||||
</td>
|
||||
</tr>
|
||||
|
@ -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;
|
||||
|
@ -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 }
|
||||
|
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user