Skip to content
Snippets Groups Projects
Commit 3b15bce1 authored by samuel.hayden's avatar samuel.hayden
Browse files

Removed commented out code

parent 97c23902
No related branches found
No related tags found
No related merge requests found
......@@ -31,42 +31,6 @@ void ParseInputFile::parsePositions(size_t nPositions)
_hasPositions = true;
}
//void ParseInputFile::determineRadii()
//{
// if (_radii.size() != 1)
// {
// std::cout << "[Error](determineRadii) Radii already determined";
// return;
// }
//
// _radii.resize(_points.size());
// for (size_t i = 1; i < _points.size(); i++)
// _radii[i] = _radii[0];
// _hasRadii = true;
//}
//
//void ParseInputFile::determinePositions()
//{
// if (_nx == 0 || _ny == 0 || _nz == 0)
// {
// std::cout << "[Error](determinePositions) Number of cells not defined" << std::endl;
// return;
// }
// if (_cx == 0.0 || _cy == 0.0 || _cz == 0.0)
// {
// std::cout << "[Error](determinePositions) Cell size not defined" << std::endl;
// return;
// }
//
// size_t nPoints = _nx * _ny * _nz;
// _points.reserve(nPoints);
// for (size_t k = 0; k < _nz; k++)
// for (size_t j = 0; j < _ny; j++)
// for (size_t i = 0; i < _nx; i++)
// _points.emplace_back(_cx * i, _cy * j, _cz * k);
// _hasPositions = true;
//}
/* Parsed Data */
ParseInputFile::ParseInputFile(std::string filepath)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment