16#ifndef dealii_fe_component_mask_h
17#define dealii_fe_component_mask_h
117 set(
const unsigned int index,
const bool value);
228 "The number of selected components in a mask "
229 "must be greater than zero.");
239 friend std::ostream &
261 : component_mask(component_mask)
266 const bool initializer)
267 : component_mask(n_components, initializer)
323 [](
const bool selected) { return selected; });
OutputOperator< VectorType > & operator<<(OutputOperator< VectorType > &out, unsigned int step)
bool operator[](const unsigned int component_index) const
ComponentMask(const unsigned int n_components, const bool initializer)
bool represents_n_components(const unsigned int n) const
ComponentMask operator&(const ComponentMask &mask) const
void set(const unsigned int index, const bool value)
std::size_t memory_consumption() const
bool represents_the_all_selected_mask() const
bool operator!=(const ComponentMask &mask) const
std::vector< bool > component_mask
unsigned int size() const
friend std::ostream & operator<<(std::ostream &out, const ComponentMask &mask)
ComponentMask(const std::vector< bool > &component_mask)
unsigned int n_selected_components(const unsigned int overall_number_of_components=numbers::invalid_unsigned_int) const
ComponentMask operator|(const ComponentMask &mask) const
unsigned int first_selected_component(const unsigned int overall_number_of_components=numbers::invalid_unsigned_int) const
bool operator==(const ComponentMask &mask) const
#define DEAL_II_NAMESPACE_OPEN
#define DEAL_II_NAMESPACE_CLOSE
#define Assert(cond, exc)
#define AssertDimension(dim1, dim2)
#define AssertIndexRange(index, range)
#define DeclExceptionMsg(Exception, defaulttext)
static ::ExceptionBase & ExcNoComponentSelected()
static ::ExceptionBase & ExcMessage(std::string arg1)
static const unsigned int invalid_unsigned_int