126 throw std::runtime_error(
"Did not find the patch index");
Multi-patch container class.
Definition multipatch.hpp:24
MultiPatch(const MultiPatch &other)
Copy constructor.
Definition multipatch.hpp:31
auto rbegin() const
Returns a reverse const-iterator to the patches.
Definition multipatch.hpp:60
std::size_t findPatchIndex(const Patch *patch) const
Returns the index of a given single patch.
Definition multipatch.hpp:123
auto rend()
Returns a reverse iterator to the end of the patches.
Definition multipatch.hpp:65
void clear()
Removes all patches.
Definition multipatch.hpp:100
std::size_t npatches() const
Returns the number of patches.
Definition multipatch.hpp:75
auto crbegin() const noexcept
Returns a reverse const-iterator to the patches.
Definition multipatch.hpp:61
auto end() const
Returns a const-iterator to the end of the patches.
Definition multipatch.hpp:51
std::size_t findPatchIndex(const Patch &patch) const
Returns the index of a given single patch.
Definition multipatch.hpp:119
MultiPatch()
Default constructor.
Definition multipatch.hpp:28
auto begin()
Returns an iterator to the patches.
Definition multipatch.hpp:38
std::size_t addPatch(std::shared_ptr< Patch > patch)
Adds a single patch.
Definition multipatch.hpp:86
const Patch & patch(std::size_t index) const
Returns a constant reference to a single patch.
Definition multipatch.hpp:109
std::size_t ninterfaces() const
Returns the number of interfaces.
Definition multipatch.hpp:78
auto rend() const
Returns a reverse const-iterator to the end of the patches.
Definition multipatch.hpp:69
std::vector< std::shared_ptr< Patch > > patches_
Vector of single-patch objects.
Definition multipatch.hpp:134
std::size_t addPatch(std::unique_ptr< Patch > patch)
Adds a single patch.
Definition multipatch.hpp:92
auto rbegin()
Returns a reverse iterator to the patches.
Definition multipatch.hpp:56
auto begin() const
Returns a const-iterator to the patches.
Definition multipatch.hpp:42
std::vector< std::shared_ptr< Patch > > & patches() const
Returns a constant reference to the vector of patches.
Definition multipatch.hpp:115
std::size_t nboundaries() const
Returns the number of outer boundaries.
Definition multipatch.hpp:81
MultiPatch(MultiPatch &&other)
Move constructor.
Definition multipatch.hpp:34
auto cbegin() const noexcept
Returns a const-iterator to the patches.
Definition multipatch.hpp:43
Patch & patch(std::size_t index)
Returns a non-constant reference to a single patch.
Definition multipatch.hpp:103
auto crend() const noexcept
Returns a reverse const-iterator to the end of the patches.
Definition multipatch.hpp:70
auto cend() const noexcept
Returns a const-iterator to the end of the patches.
Definition multipatch.hpp:52
auto end()
Returns an iterator to the end of the patches.
Definition multipatch.hpp:47
Definition boundary.hpp:22
constexpr bool is_SplineType_v
Alias to the value of is_SplineType.
Definition bspline.hpp:3243