![]() |
IgANet
IgANets - Isogeometric Analysis Networks
|
Multi-patch container class. More...
#include </home/runner/work/iganet/iganet/include/multipatch.hpp>
Public Member Functions | |
MultiPatch () | |
Default constructor. | |
MultiPatch (const MultiPatch &other) | |
Copy constructor. | |
MultiPatch (MultiPatch &&other) | |
Move constructor. | |
auto | begin () |
Returns an iterator to the patches. | |
void | clear () |
Removes all patches. | |
auto | end () |
Returns an iterator to the end of the patches. | |
std::size_t | nboundaries () const |
Returns the number of outer boundaries. | |
std::size_t | ninterfaces () const |
Returns the number of interfaces. | |
std::size_t | npatches () const |
Returns the number of patches. | |
Patch & | patch (std::size_t index) |
Returns a non-constant reference to a single patch. | |
const Patch & | patch (std::size_t index) const |
Returns a constant reference to a single patch. | |
std::vector< std::shared_ptr< Patch > > & | patches () const |
Returns a constant reference to the vector of patches. | |
auto | rbegin () |
Returns a reverse iterator to the patches. | |
auto | rend () |
Returns a reverse iterator to the end of the patches. | |
Private Attributes | |
std::vector< std::shared_ptr< Patch > > | patches_ |
Vector of single-patch objects. | |
Multi-patch container class.
This class implements a container for a set of patches and their topology, that is, the interface connections and outer boundary faces.
|
inline |
Default constructor.
|
inline |
Copy constructor.
|
inline |
Move constructor.
|
inline |
Adds a single patch.
|
inline |
Adds a single patch.
|
inline |
Returns an iterator to the patches.
|
inline |
Returns a const-iterator to the patches.
|
inlinenoexcept |
Returns a const-iterator to the patches.
|
inlinenoexcept |
Returns a const-iterator to the end of the patches.
|
inline |
Removes all patches.
|
inlinenoexcept |
Returns a reverse const-iterator to the patches.
|
inlinenoexcept |
Returns a reverse const-iterator to the end of the patches.
|
inline |
Returns an iterator to the end of the patches.
|
inline |
Returns a const-iterator to the end of the patches.
|
inline |
Returns the index of a given single patch.
|
inline |
Returns the index of a given single patch.
|
inline |
Returns the number of outer boundaries.
|
inline |
Returns the number of interfaces.
|
inline |
Returns the number of patches.
|
inline |
Returns a non-constant reference to a single patch.
|
inline |
Returns a constant reference to a single patch.
|
inline |
Returns a constant reference to the vector of patches.
|
inline |
Returns a reverse iterator to the patches.
|
inline |
Returns a reverse const-iterator to the patches.
|
inline |
Returns a reverse iterator to the end of the patches.
|
inline |
Returns a reverse const-iterator to the end of the patches.
|
private |
Vector of single-patch objects.