v0.14.0
Public Member Functions | Public Attributes | List of all members
MoFEM::FiniteElement_change_bit_add Struct Reference

Add field to data. More...

#include <src/multi_indices/FEMultiIndices.hpp>

Collaboration diagram for MoFEM::FiniteElement_change_bit_add:
[legend]

Public Member Functions

 FiniteElement_change_bit_add (const BitFieldId f_id_data)
 
void operator() (boost::shared_ptr< FiniteElement > &fe)
 

Public Attributes

BitFieldId fIdData
 

Detailed Description

Add field to data.

Definition at line 896 of file FEMultiIndices.hpp.

Constructor & Destructor Documentation

◆ FiniteElement_change_bit_add()

MoFEM::FiniteElement_change_bit_add::FiniteElement_change_bit_add ( const BitFieldId  f_id_data)
inline

Definition at line 898 of file FEMultiIndices.hpp.

899  : fIdData(f_id_data){};

Member Function Documentation

◆ operator()()

void MoFEM::FiniteElement_change_bit_add::operator() ( boost::shared_ptr< FiniteElement > &  fe)

Definition at line 380 of file FEMultiIndices.cpp.

381  {
382  *static_cast<BitFieldId *>(fe->tag_BitFieldId_data) |= fIdData;
383 }

Member Data Documentation

◆ fIdData

BitFieldId MoFEM::FiniteElement_change_bit_add::fIdData

Definition at line 897 of file FEMultiIndices.hpp.


The documentation for this struct was generated from the following files:
MoFEM::Types::BitFieldId
std::bitset< BITFIELDID_SIZE > BitFieldId
Field Id.
Definition: Types.hpp:42
MoFEM::FiniteElement_change_bit_add::fIdData
BitFieldId fIdData
Definition: FEMultiIndices.hpp:897