Commit bd6903eb authored by Sean McBride's avatar Sean McBride
Browse files

Corrected some slightly-wrong (70-90 char long) function separator comments

Used this script then manually reverted changes to ThirdParty and the like:

find . -iname "*.cxx" -exec sed -i '' s:^//-----------------------------------------------------------------------------$:\/\/\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-:g {} +
find . -iname "*.cxx" -exec sed -i '' s:^//----------------------------------------------------------------------------$:\/\/\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-:g {} +
find . -iname "*.cxx" -exec sed -i '' s:^//---------------------------------------------------------------------------$:\/\/\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-:g {} +
find . -iname "*.cxx" -exec sed -i '' s:^//--------------------------------------------------------------------------$:\/\/\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-:g {} +
find . -iname "*.cxx" -exec sed -i '' s:^//-------------------------------------------------------------------------$:\/\/\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-:g {} +
find . -iname "*.cxx" -exec sed -i '' s:^//------------------------------------------------------------------------$:\/\/\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-:g {} +
find . -iname "*.cxx" -exec sed -i '' s:^//-----------------------------------------------------------------------$:\/\/\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-:g {} +
find . -iname "*.cxx" -exec sed -i '' s:^//----------------------------------------------------------------------$:\/\/\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-:g {} +
find . -iname "*.cxx" -exec sed -i '' s:^//---------------------------------------------------------------------$:\/\/\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-:g {} +
find . -iname "*.cxx" -exec sed -i '' s:^//--------------------------------------------------------------------$:\/\/\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-:g {} +
find . -iname "*.cxx" -exec sed -i '' s:^//-------------------------------------------------------------------------------$:\/\/\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-:g {} +
find . -iname "*.cxx" -exec sed -i '' s:^//--------------------------------------------------------------------------------$:\/\/\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-:g {} +
find . -iname "*.cxx" -exec sed -i '' s:^//---------------------------------------------------------------------------------$:\/\/\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-:g {} +
find . -iname "*.cxx" -exec sed -i '' s:^//----------------------------------------------------------------------------------$:\/\/\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-:g {} +
find . -iname "*.cxx" -exec sed -i '' s:^//-----------------------------------------------------------------------------------$:\/\/\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-:g {} +
find . -iname "*.cxx" -exec sed -i '' s:^//------------------------------------------------------------------------------------$:\/\/\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-:g {} +
find . -iname "*.cxx" -exec sed -i '' s:^//-------------------------------------------------------------------------------------$:\/\/\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-:g {} +
find . -iname "*.cxx" -exec sed -i '' s:^//--------------------------------------------------------------------------------------$:\/\/\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-:g {} +
find . -iname "*.cxx" -exec sed -i '' s:^//---------------------------------------------------------------------------------------$:\/\/\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-:g {} +

find . -iname "*.cxx" -exec sed -i '' s:^//\ -----------------------------------------------------------------------------$:\/\/\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-:g {} +
find . -iname "*.cxx" -exec sed -i '' s:^//\ ----------------------------------------------------------------------------$:\/\/\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-:g {} +
find . -iname "*.cxx" -exec sed -i '' s:^//\ ---------------------------------------------------------------------------$:\/\/\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-:g {} +
find . -iname "*.cxx" -exec sed -i '' s:^//\ --------------------------------------------------------------------------$:\/\/\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-:g {} +
find . -iname "*.cxx" -exec sed -i '' s:^//\ -------------------------------------------------------------------------$:\/\/\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-:g {} +
find . -iname "*.cxx" -exec sed -i '' s:^//\ ------------------------------------------------------------------------$:\/\/\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-:g {} +
find . -iname "*.cxx" -exec sed -i '' s:^//\ -----------------------------------------------------------------------$:\/\/\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-:g {} +
find . -iname "*.cxx" -exec sed -i '' s:^//\ ----------------------------------------------------------------------$:\/\/\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-:g {} +
find . -iname "*.cxx" -exec sed -i '' s:^//\ ---------------------------------------------------------------------$:\/\/\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-:g {} +
find . -iname "*.cxx" -exec sed -i '' s:^//\ --------------------------------------------------------------------$:\/\/\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-:g {} +
find . -iname "*.cxx" -exec sed -i '' s:^//\ -------------------------------------------------------------------------------$:\/\/\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-:g {} +
find . -iname "*.cxx" -exec sed -i '' s:^//\ --------------------------------------------------------------------------------$:\/\/\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-:g {} +
find . -iname "*.cxx" -exec sed -i '' s:^//\ ---------------------------------------------------------------------------------$:\/\/\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-:g {} +
find . -iname "*.cxx" -exec sed -i '' s:^//\ ----------------------------------------------------------------------------------$:\/\/\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-:g {} +
find . -iname "*.cxx" -exec sed -i '' s:^//\ -----------------------------------------------------------------------------------$:\/\/\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-:g {} +
find . -iname "*.cxx" -exec sed -i '' s:^//\ ------------------------------------------------------------------------------------$:\/\/\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-:g {} +
find . -iname "*.cxx" -exec sed -i '' s:^//\ -------------------------------------------------------------------------------------$:\/\/\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-:g {} +
find . -iname "*.cxx" -exec sed -i '' s:^//\ --------------------------------------------------------------------------------------$:\/\/\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-:g {} +
find . -iname "*.cxx" -exec sed -i '' s:^//\ ---------------------------------------------------------------------------------------$:\/\/\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-:g {} +
parent 4f20d209
......@@ -10,7 +10,7 @@
namespace
{
//-----------------------------------------------------------------------------
//------------------------------------------------------------------------------
class TestError
{
public:
......@@ -41,7 +41,7 @@ inline bool IsEqualFloat(double a, double b, double e = 1e-6f)
return (std::abs(a - b) <= e);
}
//-----------------------------------------------------------------------------
//------------------------------------------------------------------------------
template <typename ArrayHandleType>
void TestWithArrayHandle(const ArrayHandleType& vtkmArray)
{
......@@ -78,7 +78,7 @@ void TestWithArrayHandle(const ArrayHandleType& vtkmArray)
} // anonymous namespace
//-----------------------------------------------------------------------------
//------------------------------------------------------------------------------
int TestVTKMDataArray(int, char*[])
try
{
......
......@@ -27,7 +27,7 @@
namespace
{
//-----------------------------------------------------------------------------
//------------------------------------------------------------------------------
class TestError
{
public:
......@@ -58,7 +58,7 @@ inline bool IsEqualFloat(double a, double b, double e = 1e-6f)
return (std::abs(a - b) <= e);
}
//-----------------------------------------------------------------------------
//------------------------------------------------------------------------------
inline void TestEqualCells(vtkCell* c1, vtkCell* c2)
{
TEST_VERIFY(c1->GetCellType() == c2->GetCellType(), "Cell types don't match");
......@@ -235,7 +235,7 @@ void TestDataSets(vtkDataSet* dsVtk, vtkDataSet* dsVtkm)
}
}
//-----------------------------------------------------------------------------
//------------------------------------------------------------------------------
inline void CoordsCopy(const vtkm::cont::CoordinateSystem& coords, vtkPoints* points)
{
auto ptsPortal = coords.GetData().ReadPortal();
......@@ -267,7 +267,7 @@ inline void FieldCopy(
}
}
//-----------------------------------------------------------------------------
//------------------------------------------------------------------------------
vtkm::cont::testing::MakeTestDataSet Maker;
void TestUniformDataSet()
......@@ -375,7 +375,7 @@ void TestExplicitDataSet()
} // anonymous namespace
//-----------------------------------------------------------------------------
//------------------------------------------------------------------------------
int TestVTKMDataSet(int, char*[])
try
{
......
......@@ -37,7 +37,7 @@ namespace
{
double Tolerance = 0.00001;
//-----------------------------------------------------------------------------
//------------------------------------------------------------------------------
int IsGradientCorrect(vtkDoubleArray* gradients, vtkDoubleArray* correct)
{
int numberOfComponents = gradients->GetNumberOfComponents();
......@@ -91,7 +91,7 @@ int IsGradientCorrect(vtkDoubleArray* gradients, vtkDoubleArray* correct)
return 1;
}
//-----------------------------------------------------------------------------
//------------------------------------------------------------------------------
// we assume that the gradients are correct and so we can compute the "real"
// vorticity from it
int IsVorticityCorrect(vtkDoubleArray* gradients, vtkDoubleArray* vorticity)
......@@ -128,7 +128,7 @@ int IsVorticityCorrect(vtkDoubleArray* gradients, vtkDoubleArray* vorticity)
return 1;
}
//-----------------------------------------------------------------------------
//------------------------------------------------------------------------------
// we assume that the gradients are correct and so we can compute the "real"
// Q criterion from it
int IsQCriterionCorrect(vtkDoubleArray* gradients, vtkDoubleArray* qCriterion)
......@@ -163,7 +163,7 @@ int IsQCriterionCorrect(vtkDoubleArray* gradients, vtkDoubleArray* qCriterion)
return 1;
}
//-----------------------------------------------------------------------------
//------------------------------------------------------------------------------
// we assume that the gradients are correct and so we can compute the "real"
// divergence from it
int IsDivergenceCorrect(vtkDoubleArray* gradients, vtkDoubleArray* divergence)
......@@ -190,7 +190,7 @@ int IsDivergenceCorrect(vtkDoubleArray* gradients, vtkDoubleArray* divergence)
return 1;
}
//-----------------------------------------------------------------------------
//------------------------------------------------------------------------------
int PerformTest(vtkDataSet* grid)
{
// Cleaning out the existing field data so that I can replace it with
......@@ -272,7 +272,7 @@ int PerformTest(vtkDataSet* grid)
}
} // end local namespace
//-----------------------------------------------------------------------------
//------------------------------------------------------------------------------
int TestVTKMGradient(int /* argc */, char* /* argv */[])
{
vtkDataSet* grid = nullptr;
......
......@@ -43,7 +43,7 @@ namespace
{
double Tolerance = 0.00001;
//-----------------------------------------------------------------------------
//------------------------------------------------------------------------------
void CreateCellData(vtkDataSet* grid, int numberOfComponents, int offset, const char* arrayName)
{
vtkIdType numberOfCells = grid->GetNumberOfCells();
......@@ -68,7 +68,7 @@ void CreateCellData(vtkDataSet* grid, int numberOfComponents, int offset, const
grid->GetCellData()->AddArray(array);
}
//-----------------------------------------------------------------------------
//------------------------------------------------------------------------------
void CreatePointData(vtkDataSet* grid, int numberOfComponents, int offset, const char* arrayName)
{
vtkIdType numberOfPoints = grid->GetNumberOfPoints();
......@@ -90,7 +90,7 @@ void CreatePointData(vtkDataSet* grid, int numberOfComponents, int offset, const
grid->GetPointData()->AddArray(array);
}
//-----------------------------------------------------------------------------
//------------------------------------------------------------------------------
int IsGradientCorrect(vtkDoubleArray* gradients, vtkDoubleArray* correct)
{
int numberOfComponents = gradients->GetNumberOfComponents();
......@@ -144,7 +144,7 @@ int IsGradientCorrect(vtkDoubleArray* gradients, vtkDoubleArray* correct)
return 1;
}
//-----------------------------------------------------------------------------
//------------------------------------------------------------------------------
// we assume that the gradients are correct and so we can compute the "real"
// vorticity from it
int IsVorticityCorrect(vtkDoubleArray* gradients, vtkDoubleArray* vorticity)
......@@ -181,7 +181,7 @@ int IsVorticityCorrect(vtkDoubleArray* gradients, vtkDoubleArray* vorticity)
return 1;
}
//-----------------------------------------------------------------------------
//------------------------------------------------------------------------------
// we assume that the gradients are correct and so we can compute the "real"
// Q criterion from it
int IsQCriterionCorrect(vtkDoubleArray* gradients, vtkDoubleArray* qCriterion)
......@@ -216,7 +216,7 @@ int IsQCriterionCorrect(vtkDoubleArray* gradients, vtkDoubleArray* qCriterion)
return 1;
}
//-----------------------------------------------------------------------------
//------------------------------------------------------------------------------
// we assume that the gradients are correct and so we can compute the "real"
// divergence from it
int IsDivergenceCorrect(vtkDoubleArray* gradients, vtkDoubleArray* divergence)
......@@ -243,7 +243,7 @@ int IsDivergenceCorrect(vtkDoubleArray* gradients, vtkDoubleArray* divergence)
return 1;
}
//-----------------------------------------------------------------------------
//------------------------------------------------------------------------------
int PerformTest(vtkDataSet* grid)
{
// Cleaning out the existing field data so that I can replace it with
......@@ -371,7 +371,7 @@ int PerformTest(vtkDataSet* grid)
}
} // end local namespace
//-----------------------------------------------------------------------------
//------------------------------------------------------------------------------
int TestVTKMGradientAndVorticity(int argc, char* argv[])
{
int i;
......
......@@ -16,7 +16,7 @@
#include <array>
#include <functional>
//-----------------------------------------------------------------------------
//------------------------------------------------------------------------------
int TestVTKMImplicitDataArray(int, char*[])
{
typedef std::function<double(const std::array<double, 3>&)> ScalarFunction;
......
......@@ -73,7 +73,7 @@ vtkmClip::vtkmClip()
//------------------------------------------------------------------------------
vtkmClip::~vtkmClip() = default;
//----------------------------------------------------------------------------
//------------------------------------------------------------------------------
vtkMTimeType vtkmClip::GetMTime()
{
vtkMTimeType mTime = this->Superclass::GetMTime();
......@@ -84,7 +84,7 @@ vtkMTimeType vtkmClip::GetMTime()
return mTime;
}
//----------------------------------------------------------------------------
//------------------------------------------------------------------------------
void vtkmClip::SetClipFunction(vtkImplicitFunction* clipFunction)
{
if (this->ClipFunction != clipFunction)
......
......@@ -66,7 +66,7 @@ struct vtkmDataSet::DataMembers
VtkmLocator<vtkm::cont::CellLocator> CellLocator;
};
//----------------------------------------------------------------------------
//------------------------------------------------------------------------------
vtkmDataSet::vtkmDataSet()
: Internals(new DataMembers)
{
......@@ -84,7 +84,7 @@ void vtkmDataSet::PrintSelf(ostream& os, vtkIndent indent)
this->Internals->Coordinates.PrintSummary(os);
}
//----------------------------------------------------------------------------
//------------------------------------------------------------------------------
void vtkmDataSet::SetVtkmDataSet(const vtkm::cont::DataSet& ds)
{
this->Internals->CellSet = ds.GetCellSet();
......@@ -102,7 +102,7 @@ vtkm::cont::DataSet vtkmDataSet::GetVtkmDataSet() const
return ds;
}
//----------------------------------------------------------------------------
//------------------------------------------------------------------------------
void vtkmDataSet::CopyStructure(vtkDataSet* ds)
{
auto vtkmds = vtkmDataSet::SafeDownCast(ds);
......
......@@ -50,7 +50,7 @@ vtkmHistogram::vtkmHistogram()
//------------------------------------------------------------------------------
vtkmHistogram::~vtkmHistogram() = default;
//-----------------------------------------------------------------------------
//------------------------------------------------------------------------------
int vtkmHistogram::FillInputPortInformation(int port, vtkInformation* info)
{
this->Superclass::FillInputPortInformation(port, info);
......
......@@ -29,7 +29,7 @@
#include "vtkTable.h"
#include <algorithm>
//----------------------------------------------------------------------------
//------------------------------------------------------------------------------
int TestAreaPlot(int, char*[])
{
// Set up a 2D scene, add an XY chart to it
......
......@@ -26,7 +26,7 @@
#include <vector>
//----------------------------------------------------------------------------
//------------------------------------------------------------------------------
int TestAxes(int, char*[])
{
int status = EXIT_SUCCESS;
......
......@@ -21,7 +21,7 @@
#include "vtkRenderWindowInteractor.h"
#include "vtkTextProperty.h"
//----------------------------------------------------------------------------
//------------------------------------------------------------------------------
int TestAxes2(int, char*[])
{
int status = EXIT_SUCCESS;
......
......@@ -49,7 +49,7 @@ const double densities[] = {
};
// clang-format on
//----------------------------------------------------------------------------
//------------------------------------------------------------------------------
int TestBagPlot(int, char*[])
{
// Set up a 2D scene, add an XY chart to it
......
......@@ -34,7 +34,7 @@ static int data_2009[] = { 9058, 9474, 9979, 9408, 8900, 11569, 14688, 12231, 10
static int data_2010[] = { 9058, 10941, 9979, 10270, 8900, 11228, 14688, 12231, 10160, 9585, 9384,
8590 };
//----------------------------------------------------------------------------
//------------------------------------------------------------------------------
int TestBarGraph(int, char*[])
{
// Set up a 2D scene, add an XY chart to it
......
......@@ -33,7 +33,7 @@ static int data_2009[] = { 9058, 9474, 9979, 9408, 8900, 11569, 14688, 12231, 10
static int data_2010[] = { 9058, 10941, 9979, 10270, 8900, 11228, 14688, 12231, 10160, 9585, 9384,
8590 };
//----------------------------------------------------------------------------
//------------------------------------------------------------------------------
int TestBarGraphHorizontal(int, char*[])
{
// Set up a 2D scene, add an XY chart to it
......
......@@ -35,7 +35,7 @@ static int data_2009[] = { 9058, 9474, 9979, 9408, 8900, 11569, 14688, 12231, 10
static int data_2010[] = { 9058, 10941, 9979, 10270, 8900, 11228, 14688, 12231, 10160, 9585, 9384,
8590 };
//----------------------------------------------------------------------------
//------------------------------------------------------------------------------
int TestBarGraphSelection(int, char*[])
{
// Set up a 2D scene, add an XY chart to it
......
......@@ -28,7 +28,7 @@
#include "vtkStringArray.h"
#include "vtkTable.h"
//----------------------------------------------------------------------------
//------------------------------------------------------------------------------
int TestBoxPlot(int, char*[])
{
// Set up a 2D scene, add an XY chart to it
......
......@@ -34,7 +34,7 @@
#include "vtkTestErrorObserver.h"
//----------------------------------------------------------------------------
//------------------------------------------------------------------------------
int TestBoxPlot2(int, char*[])
{
// Set up a 2D scene, add an XY chart to it
......
......@@ -29,7 +29,7 @@
#include "vtkRegressionTestImage.h"
//----------------------------------------------------------------------------
//------------------------------------------------------------------------------
int TestCategoryLegend(int argc, char* argv[])
{
vtkNew<vtkVariantArray> values;
......
......@@ -24,7 +24,7 @@
#include "vtkRenderWindowInteractor.h"
#include "vtkTable.h"
//----------------------------------------------------------------------------
//------------------------------------------------------------------------------
int TestChartBadPoints(int, char*[])
{
// Set up a 2D scene, add an XY chart to it
......
......@@ -27,7 +27,7 @@
#include "vtkAxis.h"
//----------------------------------------------------------------------------
//------------------------------------------------------------------------------
int TestChartDouble(int, char*[])
{
// Set up a 2D scene, add an XY chart to it
......
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