InitialElementIds.hpp
1 // Distributed under the MIT License.
2 // See LICENSE.txt for details.
3 
4 #pragma once
5 
6 #include <array>
7 #include <cstddef>
8 #include <vector>
9 
10 /// \cond
11 template <size_t VolumeDim>
12 class ElementId;
13 /// \endcond
14 
15 /// \ingroup ComputationalDomainGroup
16 /// \brief Create the `ElementId`s of the a single Block
17 template <size_t VolumeDim>
19  size_t block_id, std::array<size_t, VolumeDim> initial_ref_levs) noexcept;
20 
21 /// \ingroup ComputationalDomainGroup
22 /// \brief Create the `ElementId`s of the initial computational domain.
23 template <size_t VolumeDim>
26  initial_refinement_levels) noexcept;
An ElementId uniquely labels an Element. It is constructed from the BlockId of the Block to which the...
Definition: ElementId.hpp:36
std::vector< ElementId< VolumeDim > > initial_element_ids(size_t block_id, std::array< size_t, VolumeDim > initial_ref_levs) noexcept
Create the ElementIds of the a single Block.