17 #ifndef __deal2__fe_component_mask_h
18 #define __deal2__fe_component_mask_h
20 #include <deal.II/base/config.h>
22 #include <deal.II/base/memory_consumption.h>
99 const bool initializer);
110 unsigned int size ()
const;
127 bool operator[] (
const unsigned int component_index)
const;
257 component_mask (component_mask)
263 const bool initializer)
265 component_mask (n_components, initializer)
428 DEAL_II_NAMESPACE_CLOSE
ComponentMask operator&(const ComponentMask &mask) const
bool operator!=(const ComponentMask &mask) const
static const unsigned int invalid_unsigned_int
#define AssertDimension(dim1, dim2)
DeclException0(ExcNoComponentSelected)
unsigned int n_selected_components(const unsigned int overall_number_of_components=numbers::invalid_unsigned_int) const
std::vector< bool > component_mask
::ExceptionBase & ExcMessage(std::string arg1)
bool represents_n_components(const unsigned int n) const
#define Assert(cond, exc)
unsigned int size() const
::ExceptionBase & ExcIndexRange(int arg1, int arg2, int arg3)
bool represents_the_all_selected_mask() const
unsigned int first_selected_component(const unsigned int overall_number_of_components=numbers::invalid_unsigned_int) const
OS & operator<<(OS &o, const Event &e)
bool operator[](const unsigned int component_index) const
std::size_t memory_consumption() const
bool operator==(const ComponentMask &mask) 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)