41 #ifndef DTK_STKMESHENTITYITERATOR_HPP 42 #define DTK_STKMESHENTITYITERATOR_HPP 47 #include "DTK_Entity.hpp" 48 #include "DTK_EntityIterator.hpp" 49 #include "DTK_STKMeshEntityIteratorRange.hpp" 51 #include <Teuchos_Ptr.hpp> 52 #include <Teuchos_RCP.hpp> 54 #include <stk_mesh/base/BulkData.hpp> 55 #include <stk_mesh/base/Entity.hpp> 77 const Teuchos::RCP<STKMeshEntityIteratorRange> &entity_range,
78 const Teuchos::Ptr<stk::mesh::BulkData> &bulk_data,
95 Entity &operator*(
void)
override;
98 Entity *operator->(
void)
override;
114 std::unique_ptr<EntityIterator> clone()
const override;
118 Teuchos::RCP<STKMeshEntityIteratorRange> d_entity_range;
121 std::vector<stk::mesh::Entity>::const_iterator d_stk_entity_it;
124 Teuchos::Ptr<stk::mesh::BulkData> d_bulk_data;
134 #endif // end DTK_STKMESHENTITYITERATOR_HPP Geometric entity interface definition.
Entity iterator interface.
STK mesh entity iterator implementation.
STKMeshEntityIterator()
Default constructor.
std::function< bool(Entity)> PredicateFunction
Predicate function typedef.
STKMeshEntityIterator & operator=(const STKMeshEntityIterator &rhs)
Assignment operator.