|
Reference documentation for deal.II version 9.2.0
|
\(\newcommand{\dealvcentcolon}{\mathrel{\mathop{:}}}\)
\(\newcommand{\dealcoloneq}{\dealvcentcolon\mathrel{\mkern-1.2mu}=}\)
\(\newcommand{\jump}[1]{\left[\!\left[ #1 \right]\!\right]}\)
\(\newcommand{\average}[1]{\left\{\!\left\{ #1 \right\}\!\right\}}\)
Go to the documentation of this file.
16 #ifndef dealii_fe_component_mask_h
17 #define dealii_fe_component_mask_h
119 set(
const unsigned int index,
const bool value);
145 bool operator[](
const unsigned int component_index)
const;
230 "The number of selected components in a mask "
231 "must be greater than zero.");
241 friend std::ostream &
263 : component_mask(component_mask)
268 const bool initializer)
325 [](
const bool selected) { return selected; });
#define DeclExceptionMsg(Exception, defaulttext)
bool represents_n_components(const unsigned int n) const
ComponentMask operator&(const ComponentMask &mask) const
unsigned int n_selected_components(const unsigned int overall_number_of_components=numbers::invalid_unsigned_int) const
bool represents_the_all_selected_mask() const
#define AssertIndexRange(index, range)
unsigned int n_components(const DoFHandler< dim, spacedim > &dh)
ComponentMask operator|(const ComponentMask &mask) const
friend std::ostream & operator<<(std::ostream &out, const ComponentMask &mask)
std::size_t memory_consumption() const
unsigned int size() const
static ::ExceptionBase & ExcMessage(std::string arg1)
bool operator!=(const ComponentMask &mask) const
#define DEAL_II_NAMESPACE_OPEN
void set(const unsigned int index, const bool value)
#define AssertDimension(dim1, dim2)
unsigned int first_selected_component(const unsigned int overall_number_of_components=numbers::invalid_unsigned_int) const
static ::ExceptionBase & ExcNoComponentSelected()
bool operator==(const ComponentMask &mask) const
#define Assert(cond, exc)
OutputOperator< VectorType > & operator<<(OutputOperator< VectorType > &out, unsigned int step)
bool operator[](const unsigned int component_index) const
static const unsigned int invalid_unsigned_int
#define DEAL_II_NAMESPACE_CLOSE
std::vector< bool > component_mask