Commit e6590119 authored by luzpaz's avatar luzpaz Committed by luz.paz
Browse files

Misc. typo fixes

This commit removes double whitespace from source comments + fixes some other typos.
parent 2dc295e2
......@@ -38,7 +38,7 @@ public:
void PrintSelf(ostream& os, vtkIndent indent) override;
protected:
vtkCellData() {} //make sure constructor and desctructor are protected
vtkCellData() {} //make sure constructor and destructor are protected
~vtkCellData() override {}
private:
......
......@@ -39,7 +39,7 @@ public:
vtkPixelTransfer(){}
/**
* for memory to memory transfers. Conveinience api for working
* for memory to memory transfers. Convenience api for working
* with vtk type enum rather than c-data types and simple extents.
*/
static
......@@ -52,7 +52,7 @@ public:
void *destData);
/**
* for memory to memory transfers. Conveinience api for working
* for memory to memory transfers. Convenience api for working
* with vtk type enum rather than c-data types.
*/
static
......
......@@ -177,7 +177,7 @@ public:
* Given a position x, return the id of the point closest to it. This method
* is used when performing incremental point insertion. Note that -1
* indicates that no point was found.
* This method is thread safe if BuildLocator() is directly or
* This method is thread safe if BuildLocator() is directly or
* indirectly called from a single thread first.
*/
vtkIdType FindClosestInsertedPoint(const double x[3]) override;
......
......@@ -19,7 +19,7 @@ lineActor.GetProperty().SetColor(red)
# Create implicit model with vtkImplicitModeller. This computes a
# scalar field which is the distance from the generating geometry. The
# contour filter then extracts the geoemtry at the distance value 0.25
# contour filter then extracts the geometry at the distance value 0.25
# from the generating geometry.
imp = vtk.vtkImplicitModeller()
imp.SetInputConnection(reader.GetOutputPort())
......
......@@ -77,7 +77,7 @@ int main()
// manipulated and then assigned to the actor. In this way, a single
// property can be shared among many actors. Note also that we use the
// same mapper as the first actor did. This way we avoid duplicating
// geometry, which may save lots of memory if the geoemtry is large.
// geometry, which may save lots of memory if the geometry is large.
vtkActor *coneActor2 = vtkActor::New();
coneActor2->SetMapper(coneMapper);
coneActor2->GetProperty()->SetColor(0.2, 0.63, 0.79);
......
......@@ -72,7 +72,7 @@ public class Cone4 {
// manipulated and then assigned to the actor. In this way, a single
// property can be shared among many actors. Note also that we use the
// same mapper as the first actor did. This way we avoid duplicating
// geometry, which may save lots of memory if the geoemtry is large.
// geometry, which may save lots of memory if the geometry is large.
vtkActor coneActor2 = new vtkActor();
coneActor2.SetMapper(coneMapper);
coneActor2.GetProperty().SetColor(0.2, 0.63, 0.79);
......
......@@ -56,7 +56,7 @@ property.SetSpecularPower(20)
# manipulated and then assigned to the actor. In this way, a single
# property can be shared among many actors. Note also that we use the
# same mapper as the first actor did. This way we avoid duplicating
# geometry, which may save lots of memory if the geoemtry is large.
# geometry, which may save lots of memory if the geometry is large.
coneActor2 = vtk.vtkActor()
coneActor2.SetMapper(coneMapper)
coneActor2.GetProperty().SetColor(0.2, 0.63, 0.79)
......
......@@ -58,7 +58,7 @@ property SetSpecularPower 20
# manipulated and then assigned to the actor. In this way, a single
# property can be shared among many actors. Note also that we use the
# same mapper as the first actor did. This way we avoid duplicating
# geometry, which may save lots of memory if the geoemtry is large.
# geometry, which may save lots of memory if the geometry is large.
vtkActor coneActor2
coneActor2 SetMapper coneMapper
[coneActor2 GetProperty] SetColor 0.2 0.63 0.79
......
......@@ -504,7 +504,7 @@ void vtkQuadricClustering::AddTriangle(vtkIdType *binIds, double *pt0, double *p
this->InitializeQuadric(this->QuadricArray[binIds[i]].Quadric);
}
if (this->QuadricArray[binIds[i]].Dimension == 2)
{ // Points and segments supercede triangles.
{ // Points and segments supersede triangles.
this->AddQuadric(binIds[i], quadric);
}
}
......@@ -647,7 +647,7 @@ void vtkQuadricClustering::AddEdge(vtkIdType *binIds, double *pt0, double *pt1,
vtkIdType edgePtIds[2];
double length2, tmp;
double d[3];
double m[3]; // The mid point of the segement.(p1 or p2 could be used also).
double m[3]; // The mid point of the segment.(p1 or p2 could be used also).
double md; // The dot product of m and d.
double q[9];
......@@ -658,7 +658,7 @@ void vtkQuadricClustering::AddEdge(vtkIdType *binIds, double *pt0, double *pt1,
d[1] = pt1[1] - pt0[1];
d[2] = pt1[2] - pt0[2];
// Compute the length^2 of the line segement.
// Compute the length^2 of the line segment.
length2 = d[0]*d[0] + d[1]*d[1] + d[2]*d[2];
if (length2 == 0.0)
......@@ -711,7 +711,7 @@ void vtkQuadricClustering::AddEdge(vtkIdType *binIds, double *pt0, double *pt1,
this->InitializeQuadric(this->QuadricArray[binIds[i]].Quadric);
}
if (this->QuadricArray[binIds[i]].Dimension == 1)
{ // Points supercede segements.
{ // Points supersede segements.
this->AddQuadric(binIds[i], q);
}
}
......@@ -828,7 +828,7 @@ void vtkQuadricClustering::AddVertex(vtkIdType binId, double *pt,
this->InitializeQuadric(this->QuadricArray[binId].Quadric);
}
if (this->QuadricArray[binId].Dimension == 0)
{ // Points supercede all other types of quadrics.
{ // Points supersede all other types of quadrics.
this->AddQuadric(binId, q);
}
......
......@@ -396,7 +396,7 @@ public:
virtual double GetPrevIntegrationTime();
/**
* Convienience setter for integration time,
* Convenience setter for integration time,
* do not use unless manual particle shifting
* One using this method may want to consider
* modifing EquationVariable[numVals] which
......
......@@ -120,7 +120,7 @@ int TestPUnstructuredGridGhostCellsGenerator(int argc, char* argv[])
if (ghostGenerator->GetOutput()->GetCellGhostArray() == nullptr)
{
cerr << "Ghost were not generated but were explicitely requested on process "
cerr << "Ghost were not generated but were explicitly requested on process "
<< controller->GetLocalProcessId() << endl;
ret = EXIT_FAILURE;
}
......
......@@ -33,7 +33,7 @@
*
* @sa
* vtkFiltersPointsFilter vtkRadiusOutlierRemoval vtkStatisticalOutlierRemoval
* vtkThresholdPoints vtkImplicitFunction vtkExtractGeoemtry
* vtkThresholdPoints vtkImplicitFunction vtkExtractGeometry
* vtkFitImplicitFunction
*/
......
......@@ -43,7 +43,7 @@
*
* @sa
* vtkPointCloudFilter vtkRadiusOutlierRemoval vtkStatisticalOutlierRemoval
* vtkThresholdPoints vtkImplicitFunction vtkExtractGeoemtry
* vtkThresholdPoints vtkImplicitFunction vtkExtractGeometry
* vtkFitImplicitFunction
*/
......
......@@ -102,5 +102,5 @@ bool IsInt(ADIOS_DATATYPES ta)
ta == adios_unsigned_integer || ta == adios_unsigned_long;
}
} // End namespace Tye
} // End namespace Type
} // End namespace ADIOS
......@@ -359,7 +359,7 @@ int vtkEnSightGoldBinaryReader::ReadGeometryFile(const char* fileName, int timeS
}
realId = this->InsertNewPartId(partId);
// Increment the number of geoemtry parts such that the measured geomtry,
// Increment the number of geometry parts such that the measured geometry,
// if any, can be properly combined into a vtkMultiBlockDataSet object.
// --- fix to bug #7453
this->NumberOfGeometryParts ++;
......
......@@ -14,7 +14,7 @@
=========================================================================*/
/**
* @class vtkEnSightMasterServerReader
* @brief reader for compund EnSight files
* @brief reader for compound EnSight files
*/
#ifndef vtkEnSightMasterServerReader_h
......
......@@ -761,7 +761,7 @@ void vtkTecplotReader::GetArraysFromPointPackingZone
pointers.clear();
zoneData.clear();
// geoemtry: 3D point coordinates (note that this array must be initialized
// geometry: 3D point coordinates (note that this array must be initialized
// since only 2D coordinates might be provided by a Tecplot file)
theNodes->SetNumberOfPoints( numNodes );
float * cordsPtr = static_cast< float * > ( theNodes->GetVoidPointer( 0 ) );
......@@ -891,7 +891,7 @@ void vtkTecplotReader::GetArraysFromBlockPackingZone( int numNodes, int numCells
zoneData.clear();
// geoemtry: 3D point coordinates (note that this array must be initialized
// geometry: 3D point coordinates (note that this array must be initialized
// since only 2D coordinates might be provided by a Tecplot file)
theNodes->SetNumberOfPoints( numNodes );
float * cordsPtr = static_cast< float * > ( theNodes->GetVoidPointer( 0 ) );
......
......@@ -150,7 +150,7 @@ public:
//@{
/**
* All the data sets stored in the multiblock output share the same point
* data. For convienience, the point coordinates (vtkPoints) and point data
* data. For convenience, the point coordinates (vtkPoints) and point data
* (vtkPointData) are saved under these keys in the vtkInformation of the
* output data set.
*/
......
......@@ -100,7 +100,7 @@ public:
//@{
/**
* Specify whether the geoemtry changes each timestep
* Specify whether the geometry changes each timestep
* if false, geometry is only written at timestep 0
*/
vtkSetMacro(TransientGeometry,bool);
......
......@@ -388,7 +388,7 @@ bool vtkXMLCompositeDataReader::DataSetIsValidForBlockStrategy(unsigned int idx)
{
// Account for earlier blocks that have an overflowed dataset:
const unsigned int overflowOffset = blockSizeOverflow * overflowBlocks;
// Number of preceeding blocks that don't overflow:
// Number of preceding blocks that don't overflow:
const unsigned int regularBlocks = this->Internal->Piece - overflowBlocks;
// Offset due to regular blocks:
const unsigned int regularOffset = blockSize * regularBlocks;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment