message: cleanup: small docs/naming changes
diff: @@ -72,7 +72,7 @@ bool operator!=(const Array<T>& lhs, const Array<T>& rhs);
  * \note For a multi-component array container, where each element
  * is a tuple of 1 or more components, Axom provides the MCArray class.
  *
  - * The Array class mirrors std::array, with future support for GPUs
  + * The Array class mirrors std::vector, with future support for GPUs
  * in-development.
  *
  * Depending on which constructor is used, the Array object can have two
  @@ -92,7 +92,7 @@ bool operator!=(const Array<T>& lhs, const Array<T>& rhs);
  * `shrink()`.
  *
  * \warning Reallocations tend to be costly operations in terms of performance.
  - * Use `reserve()` when the number of nodes is known a priori, or
  + * Use `reserve()` when the number of elements is known a priori, or
  * use a constructor that takes an actual size and capacity when possible.
  *
  * \note The Array destructor deallocates and returns all memory associated
  @@ -150,7 +150,7 @@ public:
  *
  * \post capacity() >= size()
  * \post size() == num_elements
  - * \post getResizeRatio() == DEFAULT_RESIZE_RATIO
  + * \post resizeRatio() == DEFAULT_RESIZE_RATIO
  */
  Array(IndexType num_elements,
  IndexType capacity = 0,
  @@ -192,7 +192,7 @@ public:
  * \pre data != nullptr
  * \pre num_elements > 0
  *
  - * \post getResizeRatio == 0.0
  + * \post resizeRatio == 0.0
  *
  * \note a capacity is specified for the number of elements to store in the
  * array and does not correspond to the actual bytesize.
  @@ -539,21 +539,13 @@ public:
  /*!
  * \brief Returns an ArrayIterator to the first element of the Array
  */
  - ArrayIterator begin()
  - {
  - assert(m_data != nullptr);
  - return ArrayIterator(0, this);
  - }
  + ArrayIterator begin() { return ArrayIterator(0, this); }
  /*!
  * \brief Returns an ArrayIterator to the element following the last
  * element of the Array.
  */
  - ArrayIterator end()
  - {
  - assert(m_data != nullptr);
  - return ArrayIterator(size(), this);
  - }
  + ArrayIterator end() { return ArrayIterator(size(), this); }
  /*!
  * \brief Shrink the capacity to be equal to the size.
  @@ -589,7 +581,7 @@ public:
  /*!
  * \brief Get the ratio by which the capacity increases upon dynamic resize.
  */
  - double getResizeRatio() const { return m_resize_ratio; }
  + double resizeRatio() const { return m_resize_ratio; }
  /*!
  * \brief Set the ratio by which the capacity increases upon dynamic resize.
  @@ -601,7 +593,7 @@ public:
  /*!
  * \brief Get the ID for the umpire allocator
  */
  - int getAllocatorID() const { return m_allocator_id; }
  + int allocatorID() const { return m_allocator_id; }
  /*!
  * \brief Return true iff the external buffer constructor was called.
  @@ -673,7 +665,7 @@ protected:
  *
  * \post capacity() >= size()
  * \post size() == num_elements
  - * \post getResizeRatio() == DEFAULT_RESIZE_RATIO
  + * \post resizeRatio() == DEFAULT_RESIZE_RATIO
  */
  void initialize(IndexType num_elements, IndexType capacity);
  @@ -1222,7 +1214,7 @@ std::ostream& operator<<(std::ostream& os, const Array<T>& arr)
  template <typename T>
  bool operator==(const Array<T>& lhs, const Array<T>& rhs)
  {
  - if(lhs.getAllocatorID() != rhs.getAllocatorID())
  + if(lhs.allocatorID() != rhs.allocatorID())
  {
  return false;
  }
  