12#ifndef DUMUX_BOUNDARY_FLAG_HH
13#define DUMUX_BOUNDARY_FLAG_HH
31 : flag_(invalidFlag_) {}
33 template<
class Intersection>
38 flag_ = i.boundarySegmentIndex();
43 operator bool()
const {
return flag_ != invalidFlag_; }
46 static constexpr value_type invalidFlag_ = std::numeric_limits<value_type>::max();
Boundary flag to store e.g. in sub control volume faces.
Definition: boundaryflag.hh:58
Class for accessing boundary flags.
Definition: boundaryflag.hh:26
std::size_t value_type
Definition: boundaryflag.hh:28
BoundarySegmentIndexFlag(const Intersection &i)
Definition: boundaryflag.hh:34
BoundarySegmentIndexFlag()
Definition: boundaryflag.hh:30
value_type get() const
Definition: boundaryflag.hh:41