Wildmeshing Toolkit
Loading...
Searching...
No Matches
FacesIterable.hpp
Go to the documentation of this file.
1
#pragma once
2
3
#include <
wmtk/Mesh.hpp
>
4
#include <
wmtk/simplex/Simplex.hpp
>
5
#include <
wmtk/simplex/SimplexCollection.hpp
>
6
7
namespace
wmtk::simplex
{
8
9
10
class
FacesIterable
11
{
12
public
:
13
FacesIterable
(
const
Mesh
& mesh,
const
Simplex
& simplex);
14
15
auto
begin
() {
return
m_collection
.
simplex_vector
().begin(); }
16
auto
end
() {
return
m_collection
.
simplex_vector
().end(); }
17
18
private
:
19
SimplexCollection
m_collection
;
20
};
21
22
}
// namespace wmtk::simplex
Mesh.hpp
Simplex.hpp
SimplexCollection.hpp
wmtk::Mesh
Definition
Mesh.hpp:95
wmtk::simplex::FacesIterable
Definition
FacesIterable.hpp:11
wmtk::simplex::FacesIterable::begin
auto begin()
Definition
FacesIterable.hpp:15
wmtk::simplex::FacesIterable::m_collection
SimplexCollection m_collection
Definition
FacesIterable.hpp:19
wmtk::simplex::FacesIterable::end
auto end()
Definition
FacesIterable.hpp:16
wmtk::simplex::SimplexCollection
Definition
SimplexCollection.hpp:11
wmtk::simplex::SimplexCollection::simplex_vector
const std::vector< Simplex > & simplex_vector() const
Return const reference to the simplex vector.
Definition
SimplexCollection.hpp:25
wmtk::simplex::Simplex
Definition
Simplex.hpp:22
wmtk::simplex
Definition
Cell.hpp:7
src
wmtk
simplex
iterable
FacesIterable.hpp
Generated by
1.9.8