|
EBGeometry
Compact, header-only C++ library for fast evaluation of signed distance functions
|
connectedComponents(): the connected components of a tape's regions, or of groups of them (host only). More...
#include <cstdint>#include <memory>#include <vector>#include "EBGeometry_BoundingVolumes.hpp"#include "EBGeometry_Domain.hpp"#include "EBGeometry_Macros.hpp"#include "EBGeometry_Tape.hpp"#include "EBGeometry_Vec.hpp"#include "EBGeometry_ConnectedComponentsImplem.hpp"

Go to the source code of this file.
Classes | |
| struct | EBGeometry::ComponentOptions< T > |
| How connectedComponents() resolves the space it searches. More... | |
| struct | EBGeometry::ConnectedComponent< T > |
| One connected component: a connected part of space where every point is in one region (or one group of regions). More... | |
| class | EBGeometry::ConnectedComponents< T > |
| The connected components of the regions of a tape, or of groups of them (see connectedComponents()): how many each has, and for each its volume, box, a point in it, whether it reaches the box searched, and the components it touches. More... | |
Namespaces | |
| namespace | EBGeometry |
| Namespace containing all of EBGeometry's functionality. | |
Functions | |
| template<class T > | |
| ConnectedComponents< T > | EBGeometry::ComponentsDetail::label (const std::shared_ptr< const Cells< T > > &a_cells, const std::vector< uint32_t > &a_groupOf, uint32_t a_numGroups) |
| The components of a search's cells for a grouping of the regions. | |
| template<class T , class... UserPrimitives> | |
| ConnectedComponents< T > | EBGeometry::connectedComponents (const Tape< T, UserPrimitives... > &a_tape, const ComponentOptions< T > &a_options) |
| The connected components of every region of a tape, the outside (region 0) included: its enclosed cavities, and the separate bodies of a region. | |
| template<class T , class... UserPrimitives> | |
| ConnectedComponents< T > | EBGeometry::connectedComponents (const Tape< T, UserPrimitives... > &a_tape, const std::vector< uint32_t > &a_groupOf, const ComponentOptions< T > &a_options) |
| The connected components of groups of a tape's regions: regions of one group that touch form one component (materials: a_groupOf[r] the material of region r, say). | |
| template<class T , class... UserPrimitives> | |
| ConnectedComponents< T > | EBGeometry::connectedComponents (const Domain< T, UserPrimitives... > &a_domain, const ComponentOptions< T > &a_options) |
| The connected components of a domain's subdomains, and of the regions it excludes: group s is subdomain s, group getNumSubdomainFunctions() - 1 the excluded regions (Domain::Excluded). | |
connectedComponents(): the connected components of a tape's regions, or of groups of them (host only).
| ConnectedComponents< T > EBGeometry::ComponentsDetail::label | ( | const std::shared_ptr< const Cells< T > > & | a_cells, |
| const std::vector< uint32_t > & | a_groupOf, | ||
| uint32_t | a_numGroups | ||
| ) |
The components of a search's cells for a grouping of the regions.
Internal helper; not part of the public API.
| T | Floating-point precision. |
| [in] | a_cells | The cells. |
| [in] | a_groupOf | Each region's group. |
| [in] | a_numGroups | The number of groups, at least one more than the largest given (0: just that). |