FEAT 3
Finite Element Analysis Toolbox
Loading...
Searching...
No Matches
FEAT::Geometry::VertexMarking< Shape_ > Struct Template Reference

Public Member Functions

 VertexMarking (const SubdivisionLevelTuple< num_vertices > &tuple)
 
 VertexMarking (std::bitset< num_vertices > markings)
 
 VertexMarking (std::uint64_t markings)
 
bool covers (const VertexMarking &other) const
 
std::size_t distance (const VertexMarking &other) const
 
bool is_vertex_marked (int vertex) const
 

Static Public Member Functions

static VertexMarking all_marked ()
 

Public Attributes

std::bitset< num_vertices > bits
 

Static Public Attributes

static constexpr int num_vertices = Shape::FaceTraits<Shape_, 0>::count
 

Friends

template<typename S_ >
std::ostream & operator<< (std::ostream &, const VertexMarking< S_ > &)
 
template<typename S_ >
bool operator== (const VertexMarking< S_ > &, const VertexMarking< S_ > &)
 

Detailed Description

template<typename Shape_>
struct FEAT::Geometry::VertexMarking< Shape_ >

Definition at line 43 of file refinement_types.hpp.

Constructor & Destructor Documentation

◆ VertexMarking() [1/3]

template<typename Shape_ >
FEAT::Geometry::VertexMarking< Shape_ >::VertexMarking ( std::uint64_t  markings)
inlineexplicit

Definition at line 55 of file refinement_types.hpp.

◆ VertexMarking() [2/3]

template<typename Shape_ >
FEAT::Geometry::VertexMarking< Shape_ >::VertexMarking ( std::bitset< num_vertices >  markings)
inlineexplicit

Definition at line 59 of file refinement_types.hpp.

◆ VertexMarking() [3/3]

template<typename Shape_ >
FEAT::Geometry::VertexMarking< Shape_ >::VertexMarking ( const SubdivisionLevelTuple< num_vertices > &  tuple)
inlineexplicit

Definition at line 63 of file refinement_types.hpp.

Member Function Documentation

◆ all_marked()

template<typename Shape_ >
static VertexMarking FEAT::Geometry::VertexMarking< Shape_ >::all_marked ( )
inlinestatic

Definition at line 71 of file refinement_types.hpp.

◆ covers()

template<typename Shape_ >
bool FEAT::Geometry::VertexMarking< Shape_ >::covers ( const VertexMarking< Shape_ > &  other) const
inline

Definition at line 76 of file refinement_types.hpp.

◆ distance()

template<typename Shape_ >
std::size_t FEAT::Geometry::VertexMarking< Shape_ >::distance ( const VertexMarking< Shape_ > &  other) const
inline

Definition at line 88 of file refinement_types.hpp.

◆ is_vertex_marked()

template<typename Shape_ >
bool FEAT::Geometry::VertexMarking< Shape_ >::is_vertex_marked ( int  vertex) const
inline

Definition at line 82 of file refinement_types.hpp.

Member Data Documentation

◆ bits

template<typename Shape_ >
std::bitset<num_vertices> FEAT::Geometry::VertexMarking< Shape_ >::bits

Definition at line 47 of file refinement_types.hpp.

◆ num_vertices

template<typename Shape_ >
constexpr int FEAT::Geometry::VertexMarking< Shape_ >::num_vertices = Shape::FaceTraits<Shape_, 0>::count
staticconstexpr

Definition at line 45 of file refinement_types.hpp.


The documentation for this struct was generated from the following file: