| FEAT 3
    Finite Element Analysis Toolbox | 
Structured Index-Set class template. More...
#include <struct_index_set.hpp>
| Classes | |
| class | ImageIterator | 
| ImageIterator implementation for Adjactor interface.  More... | |
| class | IndexTupleType | 
| Index tuple class for structured meshes.  More... | |
| Public Types | |
| typedef Shape::FaceTraits< ShapeType, cell_dim_ >::ShapeType | CellType | 
| cell type  More... | |
| typedef Shape::Hypercube< shape_dim_ > | ShapeType | 
| shape type  More... | |
| Public Member Functions | |
| StructIndexSet (const Index num_slices[]) | |
| Constructor.  More... | |
| StructIndexSet (StructIndexSet &&other) | |
| move constructor  More... | |
| std::size_t | bytes () const | 
| void | copy_to (IndexSet< num_indices > &idx_set) const | 
| Copies this index set into a (conformal) index set.  More... | |
| Index | get_index_bound () const | 
| Returns the index bound.  More... | |
| Index | get_num_entities () const | 
| Returns the number of entities.  More... | |
| int | get_num_indices () const | 
| Returns the number of indices per entity.  More... | |
| Index | get_num_nodes_domain () const | 
| Returns the number of domain nodes.   More... | |
| Index | get_num_nodes_image () const | 
| Returns the number of image nodes.   More... | |
| ImageIterator | image_begin (Index domain_node) const | 
| Returns an iterator for the first adjacent image node.   More... | |
| ImageIterator | image_end (Index domain_node) const | 
| Returns an iterator for the first position past the last adjacent image node.   More... | |
| Index | operator() (Index i, int j) const | 
| Maps a face index.  More... | |
| StructIndexSet & | operator= (StructIndexSet &&other) | 
| move-assignment operator  More... | |
| IndexTupleType | operator[] (Index i) const | 
| Returns an index tuple.  More... | |
| Static Public Attributes | |
| static constexpr int | num_indices = Shape::FaceTraits<CellType, face_dim_>::count | 
| number of indices  More... | |
| Private Attributes | |
| Index | _index_bound | 
| index bound  More... | |
| Index | _num_entities | 
| number of entities  More... | |
| Index | _num_slices [shape_dim_] | 
| number of slices  More... | |
Structured Index-Set class template.
This class provides the functionality of an IndexSet for the StructuredMesh class template.
Definition at line 29 of file struct_index_set.hpp.
| typedef Shape::FaceTraits<ShapeType,cell_dim_>::ShapeType FEAT::Geometry::StructIndexSet< shape_dim_, cell_dim_, face_dim_ >::CellType | 
cell type
Definition at line 39 of file struct_index_set.hpp.
| typedef Shape::Hypercube<shape_dim_> FEAT::Geometry::StructIndexSet< shape_dim_, cell_dim_, face_dim_ >::ShapeType | 
shape type
Definition at line 37 of file struct_index_set.hpp.
| 
 | inlineexplicit | 
Constructor.
| [in] | num_slices | Specifies the number of slices in each direction. | 
Definition at line 145 of file struct_index_set.hpp.
References FEAT::Geometry::StructIndexSet< shape_dim_, cell_dim_, face_dim_ >::_num_slices.
| 
 | inline | 
move constructor
Definition at line 156 of file struct_index_set.hpp.
References FEAT::Geometry::StructIndexSet< shape_dim_, cell_dim_, face_dim_ >::_num_slices, and FEAT::Geometry::other.
| 
 | inline | 
Definition at line 183 of file struct_index_set.hpp.
| 
 | inline | 
Copies this index set into a (conformal) index set.
| [in,out] | A | transient reference to the index set that receives the copy. Must be allocated to correct sizes. | 
Definition at line 258 of file struct_index_set.hpp.
References FEAT::Geometry::StructIndexSet< shape_dim_, cell_dim_, face_dim_ >::_num_entities, FEAT::Geometry::StructIndexSet< shape_dim_, cell_dim_, face_dim_ >::_num_slices, FEAT::Geometry::IndexSet< num_indices_ >::get_index_bound(), FEAT::Geometry::IndexSet< num_indices_ >::get_num_entities(), FEAT::Geometry::StructIndexSet< shape_dim_, cell_dim_, face_dim_ >::num_indices, and XASSERT.
| 
 | inline | 
Returns the index bound.
Definition at line 213 of file struct_index_set.hpp.
References FEAT::Geometry::StructIndexSet< shape_dim_, cell_dim_, face_dim_ >::_index_bound.
| 
 | inline | 
Returns the number of entities.
Definition at line 203 of file struct_index_set.hpp.
References FEAT::Geometry::StructIndexSet< shape_dim_, cell_dim_, face_dim_ >::_num_entities.
| 
 | inline | 
Returns the number of indices per entity.
Definition at line 193 of file struct_index_set.hpp.
References FEAT::Geometry::StructIndexSet< shape_dim_, cell_dim_, face_dim_ >::num_indices.
| 
 | inline | 
Returns the number of domain nodes.
Definition at line 275 of file struct_index_set.hpp.
References FEAT::Geometry::StructIndexSet< shape_dim_, cell_dim_, face_dim_ >::_num_entities.
| 
 | inline | 
Returns the number of image nodes.
Definition at line 281 of file struct_index_set.hpp.
References FEAT::Geometry::StructIndexSet< shape_dim_, cell_dim_, face_dim_ >::_index_bound.
| 
 | inline | 
Returns an iterator for the first adjacent image node.
| [in] | domain_node | The index of the domain node whose image node iterator is to be returned. | 
domain_node, or image_end(domain_node) if no adjacent image nodes exist.  Definition at line 287 of file struct_index_set.hpp.
References FEAT::Geometry::StructIndexSet< shape_dim_, cell_dim_, face_dim_ >::_num_entities, FEAT::Geometry::StructIndexSet< shape_dim_, cell_dim_, face_dim_ >::_num_slices, and ASSERT.
| 
 | inline | 
Returns an iterator for the first position past the last adjacent image node.
| [in] | domain_node | The index of the domain node whose image node iterator is to be returned. | 
domain_node.  Definition at line 294 of file struct_index_set.hpp.
References FEAT::Geometry::StructIndexSet< shape_dim_, cell_dim_, face_dim_ >::_num_entities, FEAT::Geometry::StructIndexSet< shape_dim_, cell_dim_, face_dim_ >::_num_slices, ASSERT, and FEAT::Geometry::StructIndexSet< shape_dim_, cell_dim_, face_dim_ >::num_indices.
| 
 | inline | 
Maps a face index.
| [in] | i | The index of the entity whose face index is to be returned. | 
| [in] | j | The index of the local face that is to be mapped. | 
j on entity i. Definition at line 245 of file struct_index_set.hpp.
References FEAT::Geometry::StructIndexSet< shape_dim_, cell_dim_, face_dim_ >::_num_entities, FEAT::Geometry::StructIndexSet< shape_dim_, cell_dim_, face_dim_ >::_num_slices, ASSERT, and FEAT::Geometry::StructIndexSet< shape_dim_, cell_dim_, face_dim_ >::num_indices.
| 
 | inline | 
move-assignment operator
Definition at line 167 of file struct_index_set.hpp.
References FEAT::Geometry::StructIndexSet< shape_dim_, cell_dim_, face_dim_ >::_index_bound, FEAT::Geometry::StructIndexSet< shape_dim_, cell_dim_, face_dim_ >::_num_entities, FEAT::Geometry::StructIndexSet< shape_dim_, cell_dim_, face_dim_ >::_num_slices, and FEAT::Geometry::other.
| 
 | inline | 
Returns an index tuple.
| [in] | i | The index of the entity whose index tuple is to be returned. | 
Definition at line 227 of file struct_index_set.hpp.
References FEAT::Geometry::StructIndexSet< shape_dim_, cell_dim_, face_dim_ >::_num_entities, FEAT::Geometry::StructIndexSet< shape_dim_, cell_dim_, face_dim_ >::_num_slices, and ASSERT.
| 
 | private | 
index bound
Definition at line 136 of file struct_index_set.hpp.
Referenced by FEAT::Geometry::StructIndexSet< shape_dim_, cell_dim_, face_dim_ >::get_index_bound(), FEAT::Geometry::StructIndexSet< shape_dim_, cell_dim_, face_dim_ >::get_num_nodes_image(), and FEAT::Geometry::StructIndexSet< shape_dim_, cell_dim_, face_dim_ >::operator=().
| 
 | private | 
number of entities
Definition at line 134 of file struct_index_set.hpp.
Referenced by FEAT::Geometry::StructIndexSet< shape_dim_, cell_dim_, face_dim_ >::copy_to(), FEAT::Geometry::StructIndexSet< shape_dim_, cell_dim_, face_dim_ >::get_num_entities(), FEAT::Geometry::StructIndexSet< shape_dim_, cell_dim_, face_dim_ >::get_num_nodes_domain(), FEAT::Geometry::StructIndexSet< shape_dim_, cell_dim_, face_dim_ >::image_begin(), FEAT::Geometry::StructIndexSet< shape_dim_, cell_dim_, face_dim_ >::image_end(), FEAT::Geometry::StructIndexSet< shape_dim_, cell_dim_, face_dim_ >::operator()(), FEAT::Geometry::StructIndexSet< shape_dim_, cell_dim_, face_dim_ >::operator=(), and FEAT::Geometry::StructIndexSet< shape_dim_, cell_dim_, face_dim_ >::operator[]().
| 
 | private | 
number of slices
Definition at line 132 of file struct_index_set.hpp.
Referenced by FEAT::Geometry::StructIndexSet< shape_dim_, cell_dim_, face_dim_ >::StructIndexSet(), FEAT::Geometry::StructIndexSet< shape_dim_, cell_dim_, face_dim_ >::copy_to(), FEAT::Geometry::StructIndexSet< shape_dim_, cell_dim_, face_dim_ >::image_begin(), FEAT::Geometry::StructIndexSet< shape_dim_, cell_dim_, face_dim_ >::image_end(), FEAT::Geometry::StructIndexSet< shape_dim_, cell_dim_, face_dim_ >::operator()(), FEAT::Geometry::StructIndexSet< shape_dim_, cell_dim_, face_dim_ >::operator=(), and FEAT::Geometry::StructIndexSet< shape_dim_, cell_dim_, face_dim_ >::operator[]().
| 
 | staticconstexpr | 
number of indices
Definition at line 41 of file struct_index_set.hpp.
Referenced by FEAT::Geometry::StructIndexSet< shape_dim_, cell_dim_, face_dim_ >::copy_to(), FEAT::Geometry::StructIndexSet< shape_dim_, cell_dim_, face_dim_ >::get_num_indices(), FEAT::Geometry::StructIndexSet< shape_dim_, cell_dim_, face_dim_ >::image_end(), and FEAT::Geometry::StructIndexSet< shape_dim_, cell_dim_, face_dim_ >::operator()().