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
98 const bool initializer);
103 void set (
const unsigned int index,
const bool value);
113 unsigned int size ()
const;
128 bool operator[] (
const unsigned int component_index)
const;
208 "The number of selected components in a mask " 209 "must be greater than zero.");
249 component_mask (component_mask)
255 const bool initializer)
428 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)