16 #ifndef dealii_fe_component_mask_h 17 #define dealii_fe_component_mask_h 19 #include <deal.II/base/config.h> 20 #include <deal.II/base/exceptions.h> 21 #include <deal.II/base/memory_consumption.h> 26 DEAL_II_NAMESPACE_OPEN
111 const bool initializer);
116 void set (
const unsigned int index,
const bool value);
126 unsigned int size ()
const;
141 bool operator[] (
const unsigned int component_index)
const;
221 "The number of selected components in a mask " 222 "must be greater than zero.");
257 component_mask (component_mask)
263 const bool initializer)
436 DEAL_II_NAMESPACE_CLOSE
static const unsigned int invalid_unsigned_int
#define AssertDimension(dim1, dim2)
bool operator==(const ComponentMask &mask) const
bool operator[](const unsigned int component_index) const
bool operator!=(const ComponentMask &mask) const
std::vector< bool > component_mask
#define AssertIndexRange(index, range)
ComponentMask operator|(const ComponentMask &mask) const
bool represents_n_components(const unsigned int n) const
bool represents_the_all_selected_mask() const
void set(const unsigned int index, const bool value)
static ::ExceptionBase & ExcMessage(std::string arg1)
#define Assert(cond, exc)
#define DeclExceptionMsg(Exception, defaulttext)
static ::ExceptionBase & ExcNoComponentSelected()
unsigned int size() const
std::size_t memory_consumption() const
OutputOperator< VectorType > & operator<<(OutputOperator< VectorType > &out, unsigned int step)
unsigned int first_selected_component(const unsigned int overall_number_of_components=numbers::invalid_unsigned_int) const
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 n_components(const DoFHandler< dim, spacedim > &dh)
friend std::ostream & operator<<(std::ostream &out, const ComponentMask &mask)