|
FEAT 3
Finite Element Analysis Toolbox
|
IndexSet interface for adaptive meshes. More...
#include <adaptive_mesh_layer.hpp>
Classes | |
| class | AdaptiveIndexSetAdjactor |
| Adjactor for AdaptiveIndexSet. More... | |
Public Types | |
| using | AdaptiveMeshType = AdaptiveMeshType_ |
| Type of underlying mesh. More... | |
| using | ImageIterator = AdaptiveIndexSetAdjactor |
| Adjactor type. More... | |
| using | IndexTupleType = AdaptiveIndexTuple< AdaptiveMeshType, cell_dim_, face_dim_ > |
| Tuple type. More... | |
Public Member Functions | |
| AdaptiveIndexSet (AdaptiveIndexSet &&other)=default | |
| AdaptiveIndexSet (const AdaptiveIndexSet &other)=default | |
| AdaptiveIndexSet (std::shared_ptr< AdaptiveMeshType > mesh, Layer layer) | |
| Constructor. More... | |
| std::size_t | bytes () const |
| Returns the size of dynamically allocated memory in bytes. More... | |
| AdaptiveIndexSet | clone () const |
| Returns a clone of this index set. More... | |
| Index | get_index_bound () const |
| Returns the maximum index of any face returned by this index set. 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 |
| Index | get_num_nodes_image () const |
| AdaptiveIndexSetAdjactor | image_begin (Index domain_node) const |
| AdaptiveIndexSetAdjactor | image_end (Index domain_node) const |
| Index | operator() (Index i, int j) |
| access operator More... | |
| Index | operator() (Index i, int j) const |
| access operator More... | |
| AdaptiveIndexSet & | operator= (AdaptiveIndexSet &&other)=default |
| AdaptiveIndexSet & | operator= (const AdaptiveIndexSet &other)=default |
| IndexTupleType | operator[] (Index i) |
| Returns an adaptive index tuple. More... | |
| IndexTupleType | operator[] (Index i) const |
| Returns an adaptive index tuple. More... | |
| void | permute (const Adjacency::Permutation &perm, const Adjacency::Permutation &inv_perm_face) |
Static Public Member Functions | |
| static String | name () |
Static Public Attributes | |
| static constexpr int | num_indices = Shape::FaceTraits<Shape::Hypercube<cell_dim_>, face_dim_>::count |
| Number of indices per entry. More... | |
Private Attributes | |
| std::optional< Adjacency::Permutation > | _inverse_face_permutation |
| Layer | _layer |
| std::shared_ptr< AdaptiveMeshType > | _mesh |
| std::optional< Adjacency::Permutation > | _permutation |
IndexSet interface for adaptive meshes.
This class template is a compatability layer between the AdaptiveMesh class and the rest of FEAT. It presents a normal IndexSet interface for a single layer of an AdaptiveMesh. This allows using the AdaptiveMeshLayer like any other mesh class.
Definition at line 278 of file adaptive_mesh_layer.hpp.
| using FEAT::Geometry::AdaptiveIndexSet< AdaptiveMeshType_, cell_dim_, face_dim_ >::AdaptiveMeshType = AdaptiveMeshType_ |
Type of underlying mesh.
Definition at line 282 of file adaptive_mesh_layer.hpp.
| using FEAT::Geometry::AdaptiveIndexSet< AdaptiveMeshType_, cell_dim_, face_dim_ >::ImageIterator = AdaptiveIndexSetAdjactor |
Adjactor type.
Definition at line 331 of file adaptive_mesh_layer.hpp.
| using FEAT::Geometry::AdaptiveIndexSet< AdaptiveMeshType_, cell_dim_, face_dim_ >::IndexTupleType = AdaptiveIndexTuple<AdaptiveMeshType, cell_dim_, face_dim_> |
Tuple type.
Definition at line 334 of file adaptive_mesh_layer.hpp.
|
inline |
Constructor.
| [in] | mesh | Underlying mesh |
| [in] | Layer | Layer this index set refers to |
Definition at line 351 of file adaptive_mesh_layer.hpp.
|
inline |
Returns the size of dynamically allocated memory in bytes.
Definition at line 376 of file adaptive_mesh_layer.hpp.
|
inline |
Returns a clone of this index set.
Definition at line 368 of file adaptive_mesh_layer.hpp.
|
inline |
Returns the maximum index of any face returned by this index set.
Definition at line 460 of file adaptive_mesh_layer.hpp.
|
inline |
Returns the number of entities.
Definition at line 444 of file adaptive_mesh_layer.hpp.
Referenced by FEAT::Geometry::AdaptiveIndexSet< AdaptiveMeshType_, cell_dim_, face_dim_ >::operator[]().
|
inline |
Returns the number of indices per entity.
Definition at line 452 of file adaptive_mesh_layer.hpp.
References FEAT::Geometry::AdaptiveIndexSet< AdaptiveMeshType_, cell_dim_, face_dim_ >::num_indices.
|
inline |
Definition at line 501 of file adaptive_mesh_layer.hpp.
|
inline |
Definition at line 506 of file adaptive_mesh_layer.hpp.
|
inline |
Definition at line 511 of file adaptive_mesh_layer.hpp.
|
inline |
Definition at line 516 of file adaptive_mesh_layer.hpp.
|
inlinestatic |
Definition at line 494 of file adaptive_mesh_layer.hpp.
|
inline |
access operator
Definition at line 382 of file adaptive_mesh_layer.hpp.
|
inline |
access operator
Definition at line 396 of file adaptive_mesh_layer.hpp.
|
inline |
Returns an adaptive index tuple.
| [in] | i | The index of the tuples entity |
Definition at line 416 of file adaptive_mesh_layer.hpp.
References ASSERT, and FEAT::Geometry::AdaptiveIndexSet< AdaptiveMeshType_, cell_dim_, face_dim_ >::get_num_entities().
|
inline |
Returns an adaptive index tuple.
| [in] | i | The index of the tuples entity |
Definition at line 429 of file adaptive_mesh_layer.hpp.
References ASSERT, and FEAT::Geometry::AdaptiveIndexSet< AdaptiveMeshType_, cell_dim_, face_dim_ >::get_num_entities().
|
inline |
Definition at line 471 of file adaptive_mesh_layer.hpp.
|
private |
Definition at line 342 of file adaptive_mesh_layer.hpp.
|
private |
Definition at line 339 of file adaptive_mesh_layer.hpp.
|
private |
Definition at line 338 of file adaptive_mesh_layer.hpp.
|
private |
Definition at line 341 of file adaptive_mesh_layer.hpp.
|
staticconstexpr |
Number of indices per entry.
Definition at line 285 of file adaptive_mesh_layer.hpp.
Referenced by FEAT::Geometry::AdaptiveIndexSet< AdaptiveMeshType_, cell_dim_, face_dim_ >::get_num_indices().