Commit 35af19e0 authored by luz.paz's avatar luz.paz
Browse files

Misc. typos

found via `codespell` 
parent 826a02ce
......@@ -224,7 +224,7 @@ if(CMAKE_C_COMPILER_LOADED)
endforeach()
set(OpenMP_C_FLAGS "${OpenMP_C_FLAGS_INTERNAL}"
CACHE STRING "C compiler flags for OpenMP parallization")
CACHE STRING "C compiler flags for OpenMP parallelization")
list(APPEND _OPENMP_REQUIRED_VARS OpenMP_C_FLAGS)
unset(OpenMP_C_FLAG_CANDIDATES)
......@@ -273,7 +273,7 @@ if(CMAKE_CXX_COMPILER_LOADED)
endforeach()
set(OpenMP_CXX_FLAGS "${OpenMP_CXX_FLAGS_INTERNAL}"
CACHE STRING "C++ compiler flags for OpenMP parallization")
CACHE STRING "C++ compiler flags for OpenMP parallelization")
list(APPEND _OPENMP_REQUIRED_VARS OpenMP_CXX_FLAGS)
unset(OpenMP_CXX_FLAG_CANDIDATES)
......@@ -322,7 +322,7 @@ if(CMAKE_Fortran_COMPILER_LOADED)
endforeach()
set(OpenMP_Fortran_FLAGS "${OpenMP_Fortran_FLAGS_INTERNAL}"
CACHE STRING "Fortran compiler flags for OpenMP parallization")
CACHE STRING "Fortran compiler flags for OpenMP parallelization")
list(APPEND _OPENMP_REQUIRED_VARS OpenMP_Fortran_FLAGS)
unset(OpenMP_Fortran_FLAG_CANDIDATES)
......
......@@ -37,7 +37,7 @@
# ----------------------------------------------------------------------------
# Note:
# PostgreSQL_ADDITIONAL_VERSIONS is a variable that can be used to set the
# version mumber of the implementation of PostgreSQL.
# version number of the implementation of PostgreSQL.
# In Windows the default installation of PostgreSQL uses that as part of the path.
# E.g C:\Program Files\PostgreSQL\8.4.
# Currently, the following version numbers are known to this module:
......
......@@ -15,7 +15,7 @@ endif()
# Ensure a framework path is set
if (NOT EXISTS "@CMAKE_FRAMEWORK_INSTALL_PREFIX@")
message(FATAL_ERROR
"Please specifiy a CMAKE_FRAMEWORK_INSTALL_PREFIX.")
"Please specify a CMAKE_FRAMEWORK_INSTALL_PREFIX.")
endif()
# Glob all input libs
......
......@@ -43,7 +43,7 @@ function(vtk_add_java_wrapping module_name module_srcs module_hdrs)
vtk_target_export(${module_name}Java)
set_property(TARGET ${module_name}Java APPEND
PROPERTY INCLUDE_DIRECTORIES ${_java_include_dirs})
# Force JavaClasses to build in the right order by adding a depenency.
# Force JavaClasses to build in the right order by adding a dependency.
add_dependencies(${module_name}JavaJavaClasses ${module_name}Java)
if(${module_name}_IMPLEMENTS)
set_property(TARGET ${module_name}Java PROPERTY COMPILE_DEFINITIONS
......
......@@ -172,7 +172,7 @@ endforeach()
if (NOT VTK_BUILD_ALL_MODULES_FOR_TESTS)
# If VTK_BUILD_ALL_MODULES_FOR_TESTS is OFF, it implies that we didn't add any
# test modules to the dependecy graph. We now add the test modules for all
# test modules to the dependency graph. We now add the test modules for all
# enabled modules if all the test dependencies are already satisfied
# (BUG #13297).
foreach(vtk-module IN LISTS VTK_MODULES_ENABLED)
......
......@@ -39,7 +39,7 @@ mark_as_advanced(VTK_OPENGL_HAS_OSMESA)
set(default_has_egl OFF)
if(DEFINED VTK_USE_OFFSCREEN_EGL AND VTK_USE_OFFSCREEN_EGL)
message(DEPRECATION "`VTK_USE_OFFSCREEN_EGL` cache variable is replaced by "
"`VTK_OPENGL_HAS_EGL`. Plase use it instead. The new name "
"`VTK_OPENGL_HAS_EGL`. Please use it instead. The new name "
"better reflects the variable's purpose.")
set(default_has_egl ${VTK_USE_OFFSCREEN_EGL})
endif()
......@@ -121,7 +121,7 @@ if(VTK_OPENGL_HAS_EGL)
endif()
if(VTK_CAN_DO_ONSCREEN)
# OpenGL libraries are explicity needed if windowing system-based API is being
# OpenGL libraries are explicitly needed if windowing system-based API is being
# used. Otherwise, if only doing OFFSCREEN, the GL API is provided by the
# offscreen library be it EGL or OSMESA.
find_package(OpenGL REQUIRED)
......
......@@ -13,7 +13,7 @@
if(MPIEXEC)
set(VTK_MPIRUN_EXE ${MPIEXEC} CACHE FILEPATH "The full path to mpirun command" FORCE)
set(VTK_MPI_PRENUMPROC_FLAGS ${MPIEXEC_PREFLAGS} CACHE STRING
"These flags will be directly before the number of processess flag (see ${CMAKE_CURRENT_SOURCE_DIR}/CMakeLists.txt for more info.)" FORCE)
"These flags will be directly before the number of processes flag (see ${CMAKE_CURRENT_SOURCE_DIR}/CMakeLists.txt for more info.)" FORCE)
if(NOT ${MPI_NUMPROC_FLAG})
set(VTK_MPI_NUMPROC_FLAG "-np" CACHE STRING
"Flag used by mpi to specify the number of processes, the next option will be the number of processes. (see ${CMAKE_CURRENT_SOURCE_DIR}/CMakeLists.txt for more info.)" FORCE)
......
......@@ -156,7 +156,7 @@ public:
//@{
/**
* Get the vtkTextProperty that governs how the axis lables are displayed.
* Get the vtkTextProperty that governs how the axis labels are displayed.
* Note that the alignment properties are not used.
*/
vtkGetObjectMacro(LabelProperties, vtkTextProperty);
......
......@@ -812,7 +812,7 @@ void vtkScatterPlotMatrix::SetInput(vtkTable *table)
{
if(table && table->GetNumberOfRows() == 0)
{
// do nothing if the table is emtpy
// do nothing if the table is empty
return;
}
......
......@@ -20,7 +20,7 @@
vtkStandardNewMacro(vtkKochanekSpline);
//----------------------------------------------------------------------------
// Construct a KochanekSpline wth the following defaults:
// Construct a KochanekSpline with the following defaults:
// DefaultBias = 0,
// DefaultTension = 0,
// DefaultContinuity = 0.
......
......@@ -130,7 +130,7 @@ static Slot* LookupSlot(HashTableArray *array, ThreadIdType threadId,
size_t mask = array->Size - 1u;
Slot *slot = nullptr;
// since load factor is maintained bellow 0.5, this loop should hit an
// since load factor is maintained below 0.5, this loop should hit an
// empty slot if the queried slot does not exist in this array
for (size_t idx = hash & mask; ; idx = (idx + 1) & mask) // linear probing
{
......
......@@ -19,7 +19,7 @@ int TestDataArrayComponentNames(int,char *[])
if ( array->GetComponentName(-1) != nullptr || array->GetComponentName(3) != nullptr )
{
cerr
<< " Unable to return nullptr when asking for a component name outside the the valid range";
<< " Unable to return nullptr when asking for a component name outside the valid range";
array->Delete();
return 1;
}
......
......@@ -214,7 +214,7 @@ int TestErrorsAndWarnings()
array->AddObserver(vtkCommand::ErrorEvent, errorObserver);
array->AddObserver(vtkCommand::WarningEvent, errorObserver);
// ERROR: Not implmented
// ERROR: Not implemented
array->SetVoidArray(nullptr, 1, 1);
if (errorObserver->GetError())
{
......@@ -228,7 +228,7 @@ int TestErrorsAndWarnings()
}
errorObserver->Clear();
// ERROR: Not implmented
// ERROR: Not implemented
array->NewIterator();
if (errorObserver->GetError())
{
......
......@@ -481,7 +481,7 @@ def CheckPythonVersion(ver):
Check the Python version.
:param: ver - the minimum required version number as hexadecimal.
:return: True if if the Python version is greater than or equal to ver.
:return: True if the Python version is greater than or equal to ver.
'''
if sys.hexversion < ver:
return False
......
......@@ -389,7 +389,7 @@ def CheckPythonVersion(ver):
Check the Python version.
:param: ver - the minimum required version number as hexadecimal.
:return: True if if the Python version is greater than or equal to ver.
:return: True if the Python version is greater than or equal to ver.
'''
if sys.hexversion < ver:
return False
......
......@@ -63,7 +63,7 @@ class TestSubclass(Testing.vtkTest):
self.assertEqual(id(o.GetExtraObject()), id(extra))
def testCallUnboundMethods(self):
"""Test calling an unbound method in an overridded method"""
"""Test calling an unbound method in an overridden method"""
o = vtkCustomObject()
a = vtk.vtkIntArray()
o.SetExtraObject(a)
......
......@@ -119,7 +119,7 @@ void vtkAbstractArray::SetComponentName( vtkIdType component, const char *name )
this->ComponentNames->resize( index+1, nullptr );
}
//replace an exisiting element
//replace an existing element
vtkStdString *compName = this->ComponentNames->at(index);
if ( !compName )
{
......
......@@ -545,13 +545,13 @@ public:
/**
* Copy information instance. Arrays use information objects
* in a variety of ways. It is important to have flexibility in
* this regard because certain keys should not be coppied, while
* this regard because certain keys should not be copied, while
* others must be.
* NOTE: Subclasses must always call their superclass's CopyInformation
* method, so that all classes in the hierarchy get a chance to remove
* keys they do not wish to be coppied. The subclass will not need to
* explicilty copy the keys as it's handled here.
* keys they do not wish to be copied. The subclass will not need to
* explicitly copy the keys as it's handled here.
*/
virtual int CopyInformation(vtkInformation *infoFrom, int deep=1);
......
......@@ -115,7 +115,7 @@ public:
* Triggers a Tick event if currenttime >= StartTime and
* currenttime <= EndTime.
* Whenever the state of the cue changes,
* either StartEvent or EndEvent is triggerred depending upon
* either StartEvent or EndEvent is triggered depending upon
* whether the cue entered Active state or quit active state respectively.
* The current time is relative to the start of the container Scene
* (when in Relative time mode) or is normalized
......
......@@ -101,7 +101,7 @@ public:
/**
* Resizes the array to the given extents (number of dimensions and
* size of each dimension). Note that concrete implementations of
* vtkArray may place constraints on the the extents that they will
* vtkArray may place constraints on the extents that they will
* store, so you cannot assume that GetExtents() will always return
* the same value passed to Resize().
......
Supports Markdown
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