Go to the source code of this file.
|
template<size_t from_dim, size_t to_dim, size_t thru_dim, size_t D> |
std::set< size_t > | flecsi::topo::unstructured_impl::entity_neighbors (const definition< D > &md, size_t entity_id) |
|
template<size_t from_dim, size_t to_dim, size_t thru_dim, size_t D, typename U , typename = std::enable_if_t<util::is_iterative_container_v<U>>> |
std::set< size_t > | flecsi::topo::unstructured_impl::entity_neighbors (const definition< D > &md, U &&indices) |
|
template<size_t from_dim, size_t to_dim, size_t D> |
std::set< size_t > | flecsi::topo::unstructured_impl::entity_referencers (const definition< D > &md, size_t id) |
|
template<size_t from_dim, size_t to_dim, size_t D, typename U > |
std::set< size_t > | flecsi::topo::unstructured_impl::entity_closure (const definition< D > &md, U &&indices) |
|
◆ entity_closure()
template<size_t from_dim, size_t to_dim, size_t D, typename U >
std::set<size_t> flecsi::topo::unstructured_impl::entity_closure |
( |
const definition< D > & |
md, |
|
|
U && |
indices |
|
) |
| |
Return the union of all vertices that are referenced by at least one of the entities in the given set of indices.
- Template Parameters
-
by_dim | The topological dimension of the entities that reference the vertex. |
- Parameters
-
md | The mesh definition containing the topological connectivity information. |
indices | The entity indeces. |
◆ entity_neighbors() [1/2]
template<size_t from_dim, size_t to_dim, size_t thru_dim, size_t D>
std::set<size_t> flecsi::topo::unstructured_impl::entity_neighbors |
( |
const definition< D > & |
md, |
|
|
size_t |
entity_id |
|
) |
| |
Find the neighbors of the given entity id.
- Template Parameters
-
from_dim | The topological dimension of the entity for which the neighbor information is being requested. |
to_dim | The topological dimension to search for neighbors. |
thru_dim | The topological dimension through which the neighbor connection exists. |
- Parameters
-
md | The mesh definition containing the topological connectivity information. |
entity_id | The id of the entity in from_dim for which the neighbors are to be found. |
◆ entity_neighbors() [2/2]
template<size_t from_dim, size_t to_dim, size_t thru_dim, size_t D, typename U , typename = std::enable_if_t<util::is_iterative_container_v<U>>>
std::set<size_t> flecsi::topo::unstructured_impl::entity_neighbors |
( |
const definition< D > & |
md, |
|
|
U && |
indices |
|
) |
| |
Return the dependency closure of the given set.
- Template Parameters
-
from_dim | The topological dimension of the entity for which the neighbor information is being requested. |
to_dim | The topological dimension to search for neighbors. |
thru_dim | The topological dimension through which the neighbor connection exists. |
- Parameters
-
md | The mesh definition containing the topological connectivity information. |
indices | The entity indices of the initial set. |
intersections | The number of intersections that constitute a neighboring entity. |
◆ entity_referencers()
template<size_t from_dim, size_t to_dim, size_t D>
std::set<size_t> flecsi::topo::unstructured_impl::entity_referencers |
( |
const definition< D > & |
md, |
|
|
size_t |
id |
|
) |
| |
Return the cells that reference the given vertex id.
- Template Parameters
-
by_dim | The topological dimension of the entities that reference the vertex. |
- Parameters
-
md | The mesh definition containing the topological connectivity information. |
id | The id of the vertex. |