Found via `codespell`
This commit is contained in:
luz.paz 2018-01-08 10:45:53 -05:00
parent d2c70117cc
commit 58002505bc
32 changed files with 39 additions and 39 deletions

View File

@ -657,7 +657,7 @@ After the number of nodes there follows a list of $x$ and $y$
-coordinates of the mesh-nodes. -coordinates of the mesh-nodes.
\item \item
geometric information \\ 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 quadratic polynomial equation
$$ $$
c_1 x^2 + c_2 y^2 + c_3 xy + c_4 x + c_5 y + c_6 = 0 c_1 x^2 + c_2 y^2 + c_3 xy + c_4 x + c_5 y + c_6 = 0

View File

@ -120,7 +120,7 @@ RefinementSurfaces :: RefinementSurfaces (const CSGeometry & ageometry)
{ {
if(geometry.GetNSurf() == 0) if(geometry.GetNSurf() == 0)
*testout << endl *testout << endl
<< "WARNING: Intializing 2D refinement with 0-surface geometry" << endl << "WARNING: Initializing 2D refinement with 0-surface geometry" << endl
<< "==========================================================" << endl << "==========================================================" << endl
<< endl << endl; << endl << endl;
} }

View File

@ -870,7 +870,7 @@ namespace netgen
const BoxSphere<3> & box) const const BoxSphere<3> & box) const
{ {
// perform newton steps. normals parallel ? // perform newton steps. normals parallel ?
// if not decideable: return 0 // if not decidable: return 0
Point<3> p = box.Center(); Point<3> p = box.Center();
Vec<3> g1, g2, sol; Vec<3> g1, g2, sol;

View File

@ -362,7 +362,7 @@ namespace netgen
/** /**
Projects point to edge. 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 It is assumed that the edge is non-degenerated, and the
(generalized) Newton method converges. (generalized) Newton method converges.
*/ */

View File

@ -12,7 +12,7 @@ namespace netgen
{ {
/** /**
Triangulated approxiamtion to true surface Triangulated approximation to true surface
*/ */

View File

@ -29,7 +29,7 @@ namespace netgen
bool operator != (ArrayRangeIterator d2) { return ind != d2.ind; } bool operator != (ArrayRangeIterator d2) { return ind != d2.ind; }
}; };
/// a range of intergers /// a range of integers
template <typename T> template <typename T>
class T_Range class T_Range
{ {

View File

@ -42,7 +42,7 @@ public:
DLL_HEADER void SetFlag (const char * name, double val); DLL_HEADER void SetFlag (const char * name, double val);
/// Sets boolean flag /// Sets boolean flag
DLL_HEADER void SetFlag (const char * name); 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); DLL_HEADER void SetFlag (const char * name, const Array<char*> & val);
/// Sets double array flag /// Sets double array flag
DLL_HEADER void SetFlag (const char * name, const Array<double> & val); DLL_HEADER void SetFlag (const char * name, const Array<double> & val);

View File

@ -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 receive-table entries will be set
*/ */

View File

@ -161,7 +161,7 @@ namespace netgen
// cout << "add spline " << i << ", left = " << leftdom << ", right = " << rightdom << endl; // cout << "add spline " << i << ", left = " << leftdom << ", right = " << rightdom << endl;
infile >> buf; infile >> buf;
// type of spline segement // type of spline segment
if (strcmp (buf, "2") == 0) if (strcmp (buf, "2") == 0)
{ // a line { // a line
infile >> hi1 >> hi2; infile >> hi1 >> hi2;
@ -332,7 +332,7 @@ namespace netgen
// cout << "add spline " << i << ", left = " << leftdom << endl; // cout << "add spline " << i << ", left = " << leftdom << endl;
infile >> buf; infile >> buf;
// type of spline segement // type of spline segment
if (strcmp (buf, "2") == 0) if (strcmp (buf, "2") == 0)
{ // a line { // a line
infile >> hi1 >> hi2; infile >> hi1 >> hi2;
@ -629,7 +629,7 @@ namespace netgen
infile >> buf; infile >> buf;
// type of spline segement // type of spline segment
if (strcmp (buf, "2") == 0) if (strcmp (buf, "2") == 0)
{ // a line { // a line
infile >> hi1 >> hi2; infile >> hi1 >> hi2;

View File

@ -35,9 +35,9 @@ namespace netgen
int bc; int bc;
/// copy spline mesh from other spline (-1.. do not copy) /// copy spline mesh from other spline (-1.. do not copy)
int copyfrom; int copyfrom;
/// perfrom anisotropic refinement (hp-refinement) to edge /// perform anisotropic refinement (hp-refinement) to edge
double hpref_left; double hpref_left;
/// perfrom anisotropic refinement (hp-refinement) to edge /// perform anisotropic refinement (hp-refinement) to edge
double hpref_right; double hpref_right;
/// ///
int layer; int layer;

View File

@ -62,7 +62,7 @@ public:
int bc; int bc;
/// copy spline mesh from other spline (-1.. do not copy) /// copy spline mesh from other spline (-1.. do not copy)
int copyfrom; int copyfrom;
/// perfrom anisotropic refinement (hp-refinement) to edge /// perform anisotropic refinement (hp-refinement) to edge
bool hpref_left; bool hpref_left;
bool hpref_right; bool hpref_right;
/// calculates length of curve /// calculates length of curve

View File

@ -24,9 +24,9 @@ class Transformation3d
public: public:
/// ///
Transformation3d (); Transformation3d ();
/// Unit tet is mapped to tet descibed by pp /// Unit tet is mapped to tet described by pp
Transformation3d (const Point3d ** 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[]); Transformation3d (const Point3d pp[]);
/// translation /// translation
Transformation3d (const Vec3d & translate); Transformation3d (const Vec3d & translate);
@ -90,7 +90,7 @@ public:
/// ///
Transformation () { m = 0; v = 0; } 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); Transformation (const Point<D> * pp);
/// translation /// translation

View File

@ -165,7 +165,7 @@ namespace netgen
neighbour_celllist.Elem(owner_face) = elind; neighbour_celllist.Elem(owner_face) = elind;
// From this point on, the code within this "if" block // 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. // with the faces list) in ascending order.
// The approach used is..... to traverse the owner and neighbour cell lists // 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 // up and down, and sort the neighbour cells of a given owner cell

View File

@ -138,7 +138,7 @@ void WriteFluentFormat (const Mesh & mesh,
if (eli2==i) cout << "error in WRITE_FLUENT!!!" << endl; 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 //i: left cell, eli: right cell
outfile << hex << face.PNum(2) << " " outfile << hex << face.PNum(2) << " "

View File

@ -1797,7 +1797,7 @@ bool CheckSingularities(Mesh & mesh, INDEX_2_HASHTABLE<int> & edges, INDEX_2_HAS
edgepoint.Set(i); 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) if (mesh.Point(i).Singularity()*levels >= act_ref)
{ {
cornerpoint.Set(i); cornerpoint.Set(i);

View File

@ -179,7 +179,7 @@ GenerateMesh (Mesh & mesh, const MeshingParameters & mp)
Array<Point3d, PointIndex::BASE> locpoints; // local points Array<Point3d, PointIndex::BASE> locpoints; // local points
Array<MiniElement2d> locfaces; // local faces Array<MiniElement2d> locfaces; // local faces
Array<PointIndex, PointIndex::BASE> pindex; // mapping from local to front point numbering 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 Array<INDEX> findex; // mapping from local to front face numbering
//INDEX_2_HASHTABLE<int> connectedpairs(100); // connecgted pairs for prism meshing //INDEX_2_HASHTABLE<int> connectedpairs(100); // connecgted pairs for prism meshing

View File

@ -631,7 +631,7 @@ namespace netgen
bool marked:1; // marked for refinement bool marked:1; // marked for refinement
bool badel:1; // angles worse then limit bool badel:1; // angles worse then limit
bool reverse:1; // for refinement a la Bey 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 illegal_valid:1; // is illegal-flag valid ?
bool badness_valid:1; // is badness valid ? bool badness_valid:1; // is badness valid ?
bool refflag:1; // mark element for refinement bool refflag:1; // mark element for refinement

View File

@ -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] = static int fbetw[12][3] =
{ { 11, 12, 22 }, { { 11, 12, 22 },
{ 9, 10, 22 }, { 9, 10, 22 },

View File

@ -430,7 +430,7 @@ int STLSurfaceMeshing (STLGeometry & geom, class Mesh & mesh)
{ {
PrintMessage(5,"mesh is closed, verifying ..."); PrintMessage(5,"mesh is closed, verifying ...");
// no open elements, check wrong elemetns (intersecting..) // no open elements, check wrong elements (intersecting..)

View File

@ -182,7 +182,7 @@ void STLGeometry :: SmoothNormals()
Vec<3> ri; Vec<3> ri;
double wnb = stldoctor.smoothnormalsweight; // neigbour normal weight double wnb = stldoctor.smoothnormalsweight; // neighbour normal weight
double wgeom = 1-wnb; // geometry normal weight double wgeom = 1-wnb; // geometry normal weight

View File

@ -1137,7 +1137,7 @@ void STLGeometry :: RestrictHChartDistOneChart(int chartnum, Array<int>& acttrig
Array<Point3d> plimes1; Array<Point3d> plimes1;
Array<Point3d> plimes2; 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> plimes2trigs;
Array<int> plimes1origin; //either the original pointnumber or zero, if new point Array<int> plimes1origin; //either the original pointnumber or zero, if new point

View File

@ -425,7 +425,7 @@ STLGeometry * STLTopology ::Load (istream & ist)
if (badnormals) 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); geom->InitSTLGeometry(readtrigs);

View File

@ -13,7 +13,7 @@ multisampling support (can be worked-around by passing in a pixelformat)
add vertical sync control add vertical sync control
update documention update documentation
- update build instructions - update build instructions
- update stereo documentation - update stereo documentation
- separate Tcl API from C API - separate Tcl API from C API

View File

@ -797,7 +797,7 @@ make -C Togl install
<dl> <dl>
<dt><code><var>pathName</var> configure <var>-option</var></code> <dt><code><var>pathName</var> configure <var>-option</var></code>
<dd> <dd>
Returns configuration information for the specifed <var>option</var> Returns configuration information for the specified <var>option</var>
which may be one of: which may be one of:
<dl> <dl>
<dt><code>-width</code> <dt><code>-width</code>
@ -1029,7 +1029,7 @@ make -C Togl install
<li>Added <code>-pixelformat</code> config flag <li>Added <code>-pixelformat</code> config flag
<li>Added setgrid support (unfortunately many window managers can't cope with 1x1 pixel grid) <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>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> </ul>
<h3>Version 2.0 &mdash; ??? 2006</h3> <h3>Version 2.0 &mdash; ??? 2006</h3>

View File

@ -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 void
Togl_SetCreateFunc(Togl *togl, Togl_Callback *proc) Togl_SetCreateFunc(Togl *togl, Togl_Callback *proc)
@ -3944,7 +3944,7 @@ Togl_StereoFrustum(GLfloat left, GLfloat right, GLfloat bottom, GLfloat top,
* *
* MacintoshInit -- * 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 * these calls must be made as soon as possible in the startup
* process. * process.
* *

View File

@ -11,7 +11,7 @@ builtin(include,tclconfig/tcl.m4)
#------------------------------------------------------------------------ #------------------------------------------------------------------------
# TOGL_ENABLE_STUBS -- # TOGL_ENABLE_STUBS --
# #
# Specifiy if stubs should be used. # Specify if stubs should be used.
# #
# Arguments: # Arguments:
# none # none

View File

@ -280,7 +280,7 @@ make install
<li>added <code>-pixelformat</code> config flag <li>added <code>-pixelformat</code> config flag
<li>added setgrid support (unfortunately many window managers can't cope with 1x1 pixel grid) <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>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> </ul>
<h3>Version 2.0 &mdash; April 22, 2008</h3> <h3>Version 2.0 &mdash; April 22, 2008</h3>

View File

@ -64,7 +64,7 @@
currently in the Tcl core (8.4.13), currently in the Tcl core (8.4.13),
it is unclear how to make the API thread safe, it is unclear how to make the API thread safe,
and the internal Tcl C API doesn't support 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 That said, this functionality might come back, especially when
<a href="http://www.tcl.tk/cgi-bin/tct/tip/">TIP #257</a> is implemented. <a href="http://www.tcl.tk/cgi-bin/tct/tip/">TIP #257</a> is implemented.
Instead, in version 2, Instead, in version 2,

View File

@ -136,7 +136,7 @@
Called when the contents of the Togl widget needs to be redrawn. 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 Redraws are normally delayed to be when the Tcl event loop is idle
(see the togl widget's <code>postredisplay</code> command), (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. <code>render</code> command.
</td> </td>
</tr> </tr>

View File

@ -3427,7 +3427,7 @@ Togl_MakeWindow(Tk_Window tkwin, Window parent, ClientData instanceData)
/* Colormap for CI mode */ /* Colormap for CI mode */
#ifdef TOGL_WGL #ifdef TOGL_WGL
/* this logic is to overcome a combination driver/compiler bug: (1) /* 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) */ * (2) 1 << 32 might be 1 instead of zero (gcc for ia32) */
if (pfd.cColorBits >= MAX_CI_COLORMAP_BITS) { if (pfd.cColorBits >= MAX_CI_COLORMAP_BITS) {
togl->CiColormapSize = MAX_CI_COLORMAP_SIZE; togl->CiColormapSize = MAX_CI_COLORMAP_SIZE;

View File

@ -666,7 +666,7 @@ proc meshingoptionsdialog { } {
-variable debug.slowchecks -command { Ng_SetDebugParameters } -variable debug.slowchecks -command { Ng_SetDebugParameters }
ttk::checkbutton $f.cb1.debugoutput -text "Debugging outout" \ ttk::checkbutton $f.cb1.debugoutput -text "Debugging outout" \
-variable debug.debugoutput -command { Ng_SetDebugParameters } -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 } -variable debug.haltexistingline -command { Ng_SetDebugParameters }
ttk::checkbutton $f.cb1.haltoverlap -text "Halt on Overlap" \ ttk::checkbutton $f.cb1.haltoverlap -text "Halt on Overlap" \
-variable debug.haltoverlap -command { Ng_SetDebugParameters } -variable debug.haltoverlap -command { Ng_SetDebugParameters }

View File

@ -1831,7 +1831,7 @@ const char * ngscript[] = {""
,"-variable debug.slowchecks -command { Ng_SetDebugParameters }\n" ,"-variable debug.slowchecks -command { Ng_SetDebugParameters }\n"
,"ttk::checkbutton $f.cb1.debugoutput -text \"Debugging outout\" \\\n" ,"ttk::checkbutton $f.cb1.debugoutput -text \"Debugging outout\" \\\n"
,"-variable debug.debugoutput -command { Ng_SetDebugParameters }\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" ,"-variable debug.haltexistingline -command { Ng_SetDebugParameters }\n"
,"ttk::checkbutton $f.cb1.haltoverlap -text \"Halt on Overlap\" \\\n" ,"ttk::checkbutton $f.cb1.haltoverlap -text \"Halt on Overlap\" \\\n"
,"-variable debug.haltoverlap -command { Ng_SetDebugParameters }\n" ,"-variable debug.haltoverlap -command { Ng_SetDebugParameters }\n"