![]() |
v0.15.0 |
Arbitrary block attributes data structure. More...
#include "src/multi_indices/MaterialBlocks.hpp"
Public Member Functions | |
| struct | __attribute__ ((packed)) _data_ |
| generic block attributes | |
| std::size_t | getSizeOfData () const |
| get data structure size | |
| const void * | getDataPtr () const |
| get pointer to data structure | |
| BlockSetAttributes () | |
| MoFEMErrorCode | fill_data (const std::vector< double > &attributes) |
| get data from structure | |
| MoFEMErrorCode | set_data (void *tag_ptr, unsigned int size) const |
| set data on structure | |
Public Member Functions inherited from MoFEM::GenericAttributeData | |
| virtual const CubitBCType & | getType () const |
| get data type | |
| virtual unsigned int | getMinMumberOfAtributes () const |
| get minimal number of attributes which blockset has to have | |
| GenericAttributeData (const CubitBCType type, const unsigned int min_number_of_atributes) | |
Public Attributes | |
| _data_ | data |
Public Attributes inherited from MoFEM::GenericAttributeData | |
| const CubitBCType | tYpe |
| Type of data (f.e. MAT_ELATIC) | |
| unsigned int | minNumberOfAtributes |
| minimal number of attributes | |
Friends | |
| std::ostream & | operator<< (std::ostream &os, const BlockSetAttributes &e) |
| Print data. | |
Arbitrary block attributes data structure.
Definition at line 81 of file MaterialBlocks.hpp.
|
inline |
Definition at line 104 of file MaterialBlocks.hpp.
|
inline |
generic block attributes
Definition at line 74 of file MaterialBlocks.hpp.
|
inlinevirtual |
get data from structure
| attributes | vector of doubles |
Reimplemented from MoFEM::GenericAttributeData.
Definition at line 108 of file MaterialBlocks.hpp.
|
inlinevirtual |
get pointer to data structure
Implements MoFEM::GenericAttributeData.
Definition at line 102 of file MaterialBlocks.hpp.
|
inlinevirtual |
get data structure size
Implements MoFEM::GenericAttributeData.
Definition at line 101 of file MaterialBlocks.hpp.
|
inlinevirtual |
set data on structure
| tag_ptr | pointer to tag on meshset |
| size | size of data in bytes |
Reimplemented from MoFEM::GenericAttributeData.
Definition at line 119 of file MaterialBlocks.hpp.
|
friend |
Print data.
Definition at line 8 of file MaterialBlocks.cpp.
| _data_ MoFEM::BlockSetAttributes::data |
Definition at line 99 of file MaterialBlocks.hpp.