Skip to content

Commit

Permalink
doxy and misc. typos pt2
Browse files Browse the repository at this point in the history
doxy and misc. typos pt2
  • Loading branch information
luzpaz authored and cquammen committed Mar 15, 2017
1 parent dac1771 commit 424d4b7
Show file tree
Hide file tree
Showing 249 changed files with 328 additions and 328 deletions.
2 changes: 1 addition & 1 deletion Accelerators/Vtkm/vtkmlib/ArrayConverters.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ vtkm::cont::Field Convert(vtkDataArray* input, int association)
// We need to properly deduce the ValueType of the array. This means
// that we need to switch on Float/Double/Int, and then figure out the
// number of components. The upside is that the Convert Method can internally
// figure out the number of components, and not have to generate alot
// figure out the number of components, and not have to generate a lot
// of template to do so

// Investigate using vtkArrayDispatch, AOS for all types, and than SOA for
Expand Down
2 changes: 1 addition & 1 deletion CMake/CheckCXXSourceRuns.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ MACRO(CHECK_CXX_SOURCE_RUNS SOURCE VAR COMMENT)
SET(${VAR} 1 CACHE INTERNAL "Test ${COMMENT}")
MESSAGE(STATUS "Performing Test ${COMMENT} - Success")
FILE(APPEND ${CMAKE_BINARY_DIR}/CMakeFiles/CMakeOutput.log
"Performing C++ SOURCE FILE Test ${COMMENT} succeded with the following output:\n"
"Performing C++ SOURCE FILE Test ${COMMENT} succeeded with the following output:\n"
"${OUTPUT}\n"
"Source file was:\n${SOURCE}\n")
ELSE()
Expand Down
2 changes: 1 addition & 1 deletion CMake/FindMPI.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ include(FindPackageHandleStandardArgs)
#
# The compilers are detected in this order:
#
# 1. Try to find the most generic availble MPI compiler, as this is usually set up by
# 1. Try to find the most generic available MPI compiler, as this is usually set up by
# cluster admins. e.g., if plain old mpicc is available, we'll use it and assume it's
# the right compiler.
#
Expand Down
2 changes: 1 addition & 1 deletion CMake/FindTBB.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ endif ()
# will never adequately match the user's setup, so there is no feasible way
# to detect the "best" version to use. The user will have to manually
# select the right files. (Chances are the distributions are shipping their
# custom version of tbb, anyway, so the problem is probably nonexistant.)
# custom version of tbb, anyway, so the problem is probably nonexistent.)
if (WIN32 AND MSVC)
set(COMPILER_PREFIX "vc7.1")
if (MSVC_VERSION EQUAL 1400)
Expand Down
2 changes: 1 addition & 1 deletion CMake/NewCMake/FindHDF5.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -405,7 +405,7 @@ if(NOT HDF5_FOUND AND NOT HDF5_ROOT)
#if we detect that occurrence clear the suffix
if(_suffix AND NOT TARGET ${HDF5_${_lang}_TARGET}${_suffix})
if(NOT TARGET ${HDF5_${_lang}_TARGET})
#cant find this component with our without the suffix
#can't find this component with our without the suffix
#so bail out, and let the following locate HDF5
set(HDF5_FOUND FALSE)
break()
Expand Down
2 changes: 1 addition & 1 deletion CMake/VTKGenerateExportHeader.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
# Generates a file called other_name_export.h containing the macros
# OTHER_NAME_EXPORT, OTHER_NAME_NO_EXPORT and OTHER_NAME_DEPRECATED etc.
#
# The BASE_NAME may be overridden by specifiying other options in the function.
# The BASE_NAME may be overridden by specifying other options in the function.
# For example:
#
# add_library(somelib someclass.cpp)
Expand Down
2 changes: 1 addition & 1 deletion CMake/vtkCompilerExtras.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ if(CMAKE_COMPILER_IS_GNUCXX)

include(CheckCXXCompilerFlag)

# Addtional warnings for GCC
# Additional warnings for GCC
set(CMAKE_CXX_FLAGS_WARN "-Wnon-virtual-dtor -Wno-long-long -ansi -Wcast-align -Wchar-subscripts -Wall -Wextra -Wpointer-arith -Wformat-security -Woverloaded-virtual -Wshadow -Wunused-parameter -fno-check-new -fno-common")

# This flag is useful as not returning from a non-void function is an error
Expand Down
4 changes: 2 additions & 2 deletions CMake/vtkDetermineCompilerFlags.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -93,11 +93,11 @@ ENDIF()

IF(CMAKE_CXX_COMPILER_ID STREQUAL "PGI")
# --diag_suppress=236 is for constant value asserts used for error handling
# This can be restricted to the implementation and doesn't need to propogate
# This can be restricted to the implementation and doesn't need to propagate
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} --diag_suppress=236")

# --diag_suppress=381 is for redundant semi-colons used in macros
# This needs to propogate to anything that includes VTK headers
# This needs to propagate to anything that includes VTK headers
SET(VTK_REQUIRED_CXX_FLAGS "${VTK_REQUIRED_CXX_FLAGS} --diag_suppress=381")
ENDIF()

Expand Down
2 changes: 1 addition & 1 deletion CMake/vtkExternalModuleMacros.cmake
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# This file ensures the appropriate variables are set up for a project extending
# VTK before including vtkModuleMacros. This is the preferred way for a project
# building aginst VTK to use the CMake infrastructure provided for module
# building against VTK to use the CMake infrastructure provided for module
# developers.

if(NOT VTK_FOUND)
Expand Down
2 changes: 1 addition & 1 deletion CMake/vtkModuleMacros.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -880,7 +880,7 @@ macro(vtk_module_third_party _pkg)
endif()

#a workaround for bad FindHDF5 behavior in which deb or opt can
#end up empty. cmake >= 2.8.12.2 makes this uneccessary
#end up empty. cmake >= 2.8.12.2 makes this unnecessary
string(REGEX MATCH "debug;.*optimized;.*"
_remove_deb_opt "${vtk${_lower}_LIBRARIES}")
if (_remove_deb_opt)
Expand Down
2 changes: 1 addition & 1 deletion Charts/Core/vtkContextArea.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ vtkRecti vtkContextArea::ComputeExpandedDrawAreaGeometry(vtkContext2D *painter)
// Shorter names for compact readability:
vtkRecti &geo = this->Geometry;

// Set the axes positions. We iterate upto 3 times to converge on the margins.
// Set the axes positions. We iterate up to 3 times to converge on the margins.
vtkRecti draw(this->DrawAreaGeometry); // Start with last attempt
vtkRecti lastDraw;
for (int pass = 0; pass < 3; ++pass)
Expand Down
2 changes: 1 addition & 1 deletion Common/Core/Testing/Cxx/TestTimePointUtility.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ int TestTimePointUtility(int, char *[])
continue;
}

// The dates October 5, 1582 thru October 14, 1582 do not exist
// The dates October 5, 1582 through October 14, 1582 do not exist
if (y == 1582)
{
if (m == 10)
Expand Down
2 changes: 1 addition & 1 deletion Common/Core/vtkArrayIterator.h
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ class VTKCOMMONCORE_EXPORT vtkArrayIterator : public vtkObject
* After Initialize() has been called, the iterator is valid
* so long as the Array has not been modified
* (except using the iterator itself).
* If the array is modified, the iterator must be re-intialized.
* If the array is modified, the iterator must be re-initialized.
*/
virtual void Initialize(vtkAbstractArray* array) = 0;

Expand Down
2 changes: 1 addition & 1 deletion Common/Core/vtkArrayIteratorTemplate.h
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ class VTKCOMMONCORE_EXPORT vtkArrayIteratorTemplate : public vtkArrayIterator
* After Initialize() has been called, the iterator is valid
* so long as the Array has not been modified
* (except using the iterator itself).
* If the array is modified, the iterator must be re-intialized.
* If the array is modified, the iterator must be re-initialized.
*/
void Initialize(vtkAbstractArray* array) VTK_OVERRIDE;

Expand Down
2 changes: 1 addition & 1 deletion Common/Core/vtkBitArrayIterator.h
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ class VTKCOMMONCORE_EXPORT vtkBitArrayIterator : public vtkArrayIterator
* After Initialize() has been called, the iterator is valid
* so long as the Array has not been modified
* (except using the iterator itself).
* If the array is modified, the iterator must be re-intialized.
* If the array is modified, the iterator must be re-initialized.
*/
void Initialize(vtkAbstractArray* array) VTK_OVERRIDE;

Expand Down
8 changes: 4 additions & 4 deletions Common/Core/vtkObjectFactory.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -398,7 +398,7 @@ void vtkObjectFactory::PrintSelf(ostream& os, vtkIndent indent)
for(int i =0; i < num; i++)
{
os << indent << "Class : " << this->GetClassOverrideName(i) << endl;
os << indent << "Overriden with: " << this->GetClassOverrideWithName(i)
os << indent << "Overridden with: " << this->GetClassOverrideWithName(i)
<< endl;
os << indent << "Enable flag: " << this->GetEnableFlag(i) << endl;
os << endl;
Expand Down Expand Up @@ -587,7 +587,7 @@ void vtkObjectFactory::Disable(const char* className)
}
}

// 1,0 is the class overriden by className
// 1,0 is the class overridden by className
int vtkObjectFactory::HasOverride(const char* className)
{
for(int i =0; i < this->OverrideArrayLength; i++)
Expand All @@ -600,7 +600,7 @@ int vtkObjectFactory::HasOverride(const char* className)
return 0;
}

// 1,0 is the class overriden by className/subclassName pair
// 1,0 is the class overridden by className/subclassName pair
int vtkObjectFactory::HasOverride(const char* className,
const char* subclassName)
{
Expand Down Expand Up @@ -629,7 +629,7 @@ vtkObjectFactoryCollection* vtkObjectFactory::GetRegisteredFactories()
}


// 1,0 is the className overriden by any registered factories
// 1,0 is the className overridden by any registered factories
int vtkObjectFactory::HasOverrideAny(const char* className)
{
vtkObjectFactory* factory;
Expand Down
6 changes: 3 additions & 3 deletions Common/Core/vtkOverrideInformation.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
* @brief Factory object override information
*
* vtkOverrideInformation is used to represent the information about
* a class which is overriden in a vtkObjectFactory.
* a class which is overridden in a vtkObjectFactory.
*
*/

Expand All @@ -40,9 +40,9 @@ class VTKCOMMONCORE_EXPORT vtkOverrideInformation : public vtkObject
void PrintSelf(ostream& os, vtkIndent indent) VTK_OVERRIDE;

/**
* Returns the name of the class being overriden. For example,
* Returns the name of the class being overridden. For example,
* if you had a factory that provided an override for
* vtkVertex, then this funciton would return "vtkVertex"
* vtkVertex, then this function would return "vtkVertex"
*/
const char* GetClassOverrideName()
{
Expand Down
2 changes: 1 addition & 1 deletion Common/Core/vtkSortDataArray.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ vtkIdType* vtkSortDataArray::InitializeSortIndices(vtkIdType num)


//---------------------------------------------------------------------------
// Efficent function for generating sort ordering specialized to single
// Efficient function for generating sort ordering specialized to single
// component arrays.
void vtkSortDataArray::
GenerateSort1Indices(int dataType, void *dataIn, vtkIdType numKeys,
Expand Down
2 changes: 1 addition & 1 deletion Common/DataModel/Testing/Cxx/TestAMRBox.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ int TestAMRBoxCoarsenRefineOperators()
hi[0] = hi[1] = hi[2] = 33;
Construct3DAMRBox( Ar, lo, hi );

// Save the intial AMR box to A0
// Save the initial AMR box to A0
A0 = A;

// Refine the AMR box to Ar
Expand Down
2 changes: 1 addition & 1 deletion Common/DataModel/vtkAMRInformation.h
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ class VTKCOMMONDATAMODEL_EXPORT vtkAMRInformation : public vtkObject
double Bounds[6]; //the bounds of the entire domain

//-------------------------------------------------------------------------
// Auxillary information that be computed
// Auxiliary information that be computed
//-------------------------------------------------------------------------
vtkSmartPointer<vtkIntArray> Refinement; //refinement ratio between two adjacent levels
vtkSmartPointer<vtkUnsignedIntArray> BlockLevel; //only necessary if need to call ComputeIndexPair
Expand Down
2 changes: 1 addition & 1 deletion Common/DataModel/vtkAnimationScene.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ void vtkAnimationScene::Play()
(this->PlayMode == PLAYMODE_SEQUENCE)? (1.0 / this->FrameRate) : 1;
do
{
this->Initialize(); // Set the Scene in unintialized mode.
this->Initialize(); // Set the Scene in uninitialized mode.
this->AnimationTimer->StartTimer();
double timer_start_time = currenttime;
double deltatime = 0.0;
Expand Down
2 changes: 1 addition & 1 deletion Common/DataModel/vtkArrayListTemplate.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
* performs the initial magic of constructing input and output arrays. Then
* the input attributes, and output attributes, are passed to initialize the
* internal structures. Essentially these internal structures are pairs of
* arrays of the same type, which can be efficently accessed and
* arrays of the same type, which can be efficiently accessed and
* assigned. The operations on these array pairs (e.g., interpolation) occur
* using a typeless, virtual dispatch base class.
*
Expand Down
2 changes: 1 addition & 1 deletion Common/DataModel/vtkCellIterator.h
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
* ~~~
*
* The example above pulls in bits of information as needed to filter out cells
* that aren't relevent. The least expensive lookups are performed first
* that aren't relevant. The least expensive lookups are performed first
* (cell type, then point ids, then points/full cell) to prevent wasted cycles
* fetching unnecessary data. Also note that at the end of the loop, the
* iterator must be deleted as these iterators are vtkObject subclasses.
Expand Down
2 changes: 1 addition & 1 deletion Common/DataModel/vtkCompositeDataSet.h
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ class VTKCOMMONDATAMODEL_EXPORT vtkCompositeDataSet : public vtkDataObject

/**
* Copies the tree structure from the input. All pointers to non-composite
* data objects are intialized to NULL. This also shallow copies the meta data
* data objects are initialized to NULL. This also shallow copies the meta data
* associated with all the nodes.
*/
virtual void CopyStructure(vtkCompositeDataSet* input)=0;
Expand Down
2 changes: 1 addition & 1 deletion Common/DataModel/vtkDataObjectTree.h
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ class VTKCOMMONDATAMODEL_EXPORT vtkDataObjectTree : public vtkCompositeDataSet

/**
* Copies the tree structure from the input. All pointers to non-composite
* data objects are intialized to NULL. This also shallow copies the meta data
* data objects are initialized to NULL. This also shallow copies the meta data
* associated with all the nodes.
*/
void CopyStructure(vtkCompositeDataSet* input) VTK_OVERRIDE;
Expand Down
2 changes: 1 addition & 1 deletion Common/DataModel/vtkDataSet.h
Original file line number Diff line number Diff line change
Expand Up @@ -502,7 +502,7 @@ class VTKCOMMONDATAMODEL_EXPORT vtkDataSet : public vtkDataObject

//@{
/**
* These arrays pointers are caches used to avoid a string comparision (when
* These arrays pointers are caches used to avoid a string comparison (when
* getting ghost arrays using GetArray(name))
*/
vtkUnsignedCharArray* PointGhostArray;
Expand Down
2 changes: 1 addition & 1 deletion Common/DataModel/vtkDataSetAttributes.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -1812,7 +1812,7 @@ vtkDataSetAttributes::FieldList::~FieldList()
}

//----------------------------------------------------------------------------
// To perform intersection of attribute data, use IntializeFieldList() to grab
// To perform intersection of attribute data, use InitializeFieldList() to grab
// an initial vtkDataSetAttributes. Then use IntersectFieldList() to add (and
// intersect) additional vtkDataSetAttributes.
void vtkDataSetAttributes::FieldList::InitializeFieldList(
Expand Down
2 changes: 1 addition & 1 deletion Common/DataModel/vtkEdgeTable.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -429,7 +429,7 @@ void vtkEdgeTable::InsertEdge(vtkIdType p1, vtkIdType p2, void* ptr)


//----------------------------------------------------------------------------
// Intialize traversal of edges in table.
// Initialize traversal of edges in table.
void vtkEdgeTable::InitTraversal()
{
this->Position[0] = 0;
Expand Down
2 changes: 1 addition & 1 deletion Common/DataModel/vtkEdgeTable.h
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ class VTKCOMMONDATAMODEL_EXPORT vtkEdgeTable : public vtkObject
//@}

/**
* Intialize traversal of edges in table.
* Initialize traversal of edges in table.
*/
void InitTraversal();

Expand Down
2 changes: 1 addition & 1 deletion Common/DataModel/vtkExtractStructuredGridHelper.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
#include <cassert>
#include <vector>

// Some usefull extent macros
// Some useful extent macros
#define EMIN(ext, dim) (ext[2*dim])
#define EMAX(ext, dim) (ext[2*dim+1])
#define IMIN(ext) (ext[0])
Expand Down
2 changes: 1 addition & 1 deletion Common/DataModel/vtkGenericAttributeCollection.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,7 @@ void vtkGenericAttributeCollection::DeepCopy(vtkGenericAttributeCollection *othe
}
this->AttributeInternalVector->Vector[i]->DeepCopy(
other->AttributeInternalVector->Vector[i]);
// Dont need to copy the contents of AttributeIndices: it will be
// Don't need to copy the contents of AttributeIndices: it will be
// recomputed because of the following Moditied call.
}
this->Modified();
Expand Down
2 changes: 1 addition & 1 deletion Common/DataModel/vtkHierarchicalBoxDataSet.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* @brief Backwards compatibility class
*
*
* An empty class for backwards compatiblity
* An empty class for backwards compatibility
*
* @sa
* vtkUniformGridAM vtkOverlappingAMR vtkNonOverlappingAMR
Expand Down
2 changes: 1 addition & 1 deletion Common/DataModel/vtkKdNode.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -412,7 +412,7 @@ double vtkKdNode::_GetDistance2ToBoundary(
}
}

// if there are no inner boundaries we dont want to square.
// if there are no inner boundaries we don't want to square.
if(minDistance != VTK_FLOAT_MAX)
{
minDistance *= minDistance;
Expand Down
2 changes: 1 addition & 1 deletion Common/DataModel/vtkMappedUnstructuredGrid.h
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
* Note that since the implementation class is used as a compile-time template
* parameter in vtkMappedUnstructuredGrid, the above methods do not need be
* virtuals. The compiler will statically bind the calls, making dynamic vtable
* lookups unneccessary and giving a slight performance boost.
* lookups unnecessary and giving a slight performance boost.
*
* Adapting a filter or algorithm to safely traverse the
* vtkMappedUnstructuredGrid's topology requires removing calls the following
Expand Down
2 changes: 1 addition & 1 deletion Common/DataModel/vtkOctreePointLocatorNode.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -415,7 +415,7 @@ double vtkOctreePointLocatorNode::_GetDistance2ToBoundary(
}
}

// if there are no inner boundaries we dont want to square.
// if there are no inner boundaries we don't want to square.
if(minDistance != VTK_FLOAT_MAX)
{
minDistance *= minDistance;
Expand Down
2 changes: 1 addition & 1 deletion Common/DataModel/vtkOverlappingAMR.h
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ class VTKCOMMONDATAMODEL_EXPORT vtkOverlappingAMR: public vtkUniformGridAMR
bool FindGrid(double q[3], unsigned int& level, unsigned int& gridId);

/**
* Get/Set the interal representation of amr meta meta data
* Get/Set the internal representation of amr meta meta data
*/
vtkAMRInformation* GetAMRInfo() VTK_OVERRIDE
{ return Superclass::GetAMRInfo();}
Expand Down
4 changes: 2 additions & 2 deletions Common/DataModel/vtkPixelExtent.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ void vtkPixelExtent::Merge(deque<vtkPixelExtent> &exts)
vtkPixelExtent &ext0 = tmpExts[t];
if (ext0.Empty())
{
// was merged in preceeding pass
// was merged in preceding pass
continue;
}

Expand All @@ -279,7 +279,7 @@ void vtkPixelExtent::Merge(deque<vtkPixelExtent> &exts)
vtkPixelExtent &ext1 = tmpExts[c];
if (ext1.Empty())
{
// was merged in preceeding pass
// was merged in preceding pass
continue;
}

Expand Down
2 changes: 1 addition & 1 deletion Common/DataModel/vtkPixelTransfer.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
*
*
* Class to handle non-contiguous data transfers of data described
* by pixel extents within a process. For transfering data between
* by pixel extents within a process. For transferring data between
* processes see vtkPPixelTransfer.
*
* @sa
Expand Down
Loading

0 comments on commit 424d4b7

Please sign in to comment.