|
FEAT 3
Finite Element Analysis Toolbox
|
Target set class. More...
#include <target_set.hpp>
Public Member Functions | |
| TargetSet () | |
| standard constructor More... | |
| TargetSet (Index num_entities) | |
| Constructor. More... | |
| TargetSet (TargetSet &&other) | |
| move constructor More... | |
| virtual | ~TargetSet () |
| virtual destructor More... | |
| std::size_t | bytes () const |
| TargetSet | clone () const |
| Index * | get_indices () |
| const Index * | get_indices () const |
| Index | get_num_entities () const |
| Returns the number of entities. More... | |
| TargetSet & | operator= (TargetSet &&other) |
| move-assignment operator More... | |
| Index & | operator[] (Index i) |
| Returns a target index. More... | |
| const Index & | operator[] (Index i) const |
| Returns a target index. More... | |
| void | permute_map (const Adjacency::Permutation &inv_perm) |
Protected Member Functions | |
| TargetSet (const std::vector< Index > &idx) | |
| internal clone constructor More... | |
Protected Attributes | |
| std::vector< Index > | _indices |
| Index vector. _indices[i] = j means that entity i represents entity j in the parent. More... | |
Target set class.
A MeshPart refers to its parent mesh through several TargetSets.
Definition at line 26 of file target_set.hpp.
|
inlineexplicitprotected |
internal clone constructor
Definition at line 33 of file target_set.hpp.
|
inline |
|
inlineexplicit |
Constructor.
| [in] | num_entities | The number of entities that are to be indexed. |
Definition at line 51 of file target_set.hpp.
|
inline |
move constructor
Definition at line 57 of file target_set.hpp.
|
inlinevirtual |
virtual destructor
Definition at line 75 of file target_set.hpp.
|
inline |
Definition at line 86 of file target_set.hpp.
References _indices.
|
inline |
Definition at line 80 of file target_set.hpp.
References TargetSet().
|
inline |
Definition at line 100 of file target_set.hpp.
References _indices.
Referenced by FEAT::Geometry::MeshPartOperations< MeshType_ >::join_elements().
|
inline |
Definition at line 106 of file target_set.hpp.
References _indices.
|
inline |
Returns the number of entities.
Definition at line 92 of file target_set.hpp.
References _indices.
Referenced by FEAT::Geometry::PatchPartMap::PatchPartMap(), FEAT::Assembly::StokesFBMAssembler< MeshType_ >::_add_fbm_target_set(), FEAT::Geometry::DistributedMeshDistortion< MeshType_ >::_calc_boundary_facets(), FEAT::Geometry::DistributedUmbrellaSmoother< MeshType_ >::_calc_boundary_facets(), FEAT::Geometry::DistributedMeshDistortion< MeshType_ >::_calc_shortest_edge(), FEAT::Geometry::DistributedMeshDistortion< MeshType_ >::_calc_vertex_owners(), FEAT::Control::Domain::CGALDomainControl< DomainLevel_ >::_compute_base_mesh_coloring(), FEAT::Control::Domain::VoxelDomainControl< DomainLevel_ >::_compute_base_mesh_coloring(), FEAT::Control::Domain::CGALDomainControl< DomainLevel_ >::_compute_base_mesh_layering(), FEAT::Control::Domain::VoxelDomainControl< DomainLevel_ >::_compute_base_mesh_layering(), FEAT::Control::Domain::CGALDomainControl< DomainLevel_ >::_compute_refined_mesh_coloring(), FEAT::Control::Domain::VoxelDomainControl< DomainLevel_ >::_compute_refined_mesh_coloring(), FEAT::Control::Domain::CGALDomainControl< DomainLevel_ >::_compute_refined_mesh_layering(), FEAT::Control::Domain::VoxelDomainControl< DomainLevel_ >::_compute_refined_mesh_layering(), FEAT::Control::Domain::CGALDomainControl< DomainLevel_ >::_extract_patch_coloring(), FEAT::Control::Domain::VoxelDomainControl< DomainLevel_ >::_extract_patch_coloring(), FEAT::Control::Domain::CGALDomainControl< DomainLevel_ >::_extract_patch_layering(), FEAT::Control::Domain::VoxelDomainControl< DomainLevel_ >::_extract_patch_layering(), FEAT::Geometry::DistributedMeshDistortion< MeshType_ >::_synchronize(), FEAT::Geometry::MaskedBoundaryFactory< ParentMesh_ >::add_mask_meshpart(), FEAT::Geometry::GlobalMaskedBoundaryFactory< ParentMesh_ >::add_mask_meshpart(), FEAT::Geometry::PatchPartMap::build(), FEAT::Geometry::PatchPartMap::fill_target_set(), FEAT::Geometry::MeshPartOperations< MeshType_ >::join_elements(), operator[](), and FEAT::Assembly::StokesFBMAssembler< MeshType_ >::sync().
move-assignment operator
Definition at line 63 of file target_set.hpp.
References _indices, and FEAT::Geometry::other.
Returns a target index.
| [in] | i | The index of the entity whose target index is to be returned. |
i. Definition at line 120 of file target_set.hpp.
References _indices, ASSERT, and get_num_entities().
Returns a target index.
| [in] | i | The index of the entity whose target index is to be returned. |
i. Definition at line 127 of file target_set.hpp.
References _indices, ASSERT, and get_num_entities().
|
inline |
Definition at line 133 of file target_set.hpp.
|
protected |
Index vector. _indices[i] = j means that entity i represents entity j in the parent.
Definition at line 30 of file target_set.hpp.
Referenced by bytes(), get_indices(), get_num_entities(), operator=(), and operator[]().