Skip to content

Commit

Permalink
Doxygen for make_Vector
Browse files Browse the repository at this point in the history
  • Loading branch information
ax3l committed Sep 19, 2023
1 parent b7891ce commit 3760484
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/Base/Vector.H
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,15 @@ namespace
}
}

/** Register an ``amrex::Vector`` type with pybind11.
*
* Specialized for a specific data type ``T`` and memory ``Allocator``.
*
* @tparam T data type per vector element
* @tparam Allocator the memory allocator, e.g., an AMReX Arena or std::allocator
* @param m the pyAMReX pybind11 module object
* @param typestr a unique suffix for the type ``T`` and ``Allocator``
*/
template <class T, class Allocator = std::allocator<T> >
void make_Vector(py::module &m, std::string typestr)
{
Expand Down

0 comments on commit 3760484

Please sign in to comment.