Fixed Far::TopologyRefiner::GetNumLevels()

This method now returns the number of _farLevels where previously
it returned the number of _levels. This is primarily a semantic
difference, as the two containers should have equal size. But this
method is intended to accompany Far::TopologyRefiner::GetLevel()
which returns a reference to an element in _farLevels;
This commit is contained in:
David G Yu 2016-01-22 17:38:58 -08:00
parent 423d7eff79
commit 3aaf491dda

View File

@ -66,7 +66,7 @@ public:
bool IsUniform() const { return _isUniform; }
/// \brief Returns the number of refinement levels
int GetNumLevels() const { return (int)_levels.size(); }
int GetNumLevels() const { return (int)_farLevels.size(); }
/// \brief Returns the highest level of refinement
int GetMaxLevel() const { return _maxLevel; }