CreateInitialElement.hpp
1 // Distributed under the MIT License.
2 // See LICENSE.txt for details.
3 
4 #pragma once
5 
6 #include <cstddef>
7 
8 #include "Domain/Element.hpp"
9 
10 /// \cond
11 template <size_t Dim, typename TargetFrame>
12 class Block;
13 template <size_t Dim>
14 class ElementId;
15 /// \endcond
16 
17 /*!
18  * \ingroup ComputationalDomainGroup
19  * \brief Creates an initial element of a Block.
20  */
21 template <size_t VolumeDim, typename TargetFrame>
23  const ElementId<VolumeDim>& element_id,
24  const Block<VolumeDim, TargetFrame>& block) noexcept;
An ElementId uniquely labels an Element. It is constructed from the BlockId of the Block to which the...
Definition: ElementId.hpp:36
Element< VolumeDim > create_initial_element(const ElementId< VolumeDim > &element_id, const Block< VolumeDim, TargetFrame > &block) noexcept
Creates an initial element of a Block.
Definition: CreateInitialElement.cpp:27
A spectral element with knowledge of its neighbors.
Definition: Element.hpp:29
A Block<VolumeDim> is a region of a VolumeDim-dimensional computational domain that defines the root ...
Definition: Block.hpp:42
Defines class Element.