v0.14.0 |
Body force data structure. More...
#include <src/multi_indices/MaterialBlocks.hpp>
Public Member Functions | |
struct | __attribute__ ((packed)) _data_ |
body forces More... | |
std::size_t | getSizeOfData () const |
get data structure size More... | |
const void * | getDataPtr () const |
get pointer to data structure More... | |
Block_BodyForces () | |
MoFEMErrorCode | fill_data (const std::vector< double > &attributes) |
get data from structure More... | |
MoFEMErrorCode | set_data (void *tag_ptr, unsigned int size) const |
set data on structure More... | |
Public Member Functions inherited from MoFEM::GenericAttributeData | |
virtual const CubitBCType & | getType () const |
get data type More... | |
virtual unsigned int | getMinMumberOfAtributes () const |
get minimal number of attributes which blockset has to have More... | |
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) More... | |
unsigned int | minNumberOfAtributes |
minimal number of attributes More... | |
Friends | |
std::ostream & | operator<< (std::ostream &os, const Block_BodyForces &e) |
Print Mat_Elastic data. More... | |
Body force data structure.
Definition at line 313 of file MaterialBlocks.hpp.
|
inline |
Definition at line 334 of file MaterialBlocks.hpp.
|
inline |
body forces
< material density
< acceleration X
< acceleration Y
< acceleration Z
Definition at line 318 of file MaterialBlocks.hpp.
|
inlinevirtual |
get data from structure
attributes | vector of doubles |
Reimplemented from MoFEM::GenericAttributeData.
Definition at line 336 of file MaterialBlocks.hpp.
|
inlinevirtual |
get pointer to data structure
Implements MoFEM::GenericAttributeData.
Definition at line 332 of file MaterialBlocks.hpp.
|
inlinevirtual |
get data structure size
Implements MoFEM::GenericAttributeData.
Definition at line 331 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 352 of file MaterialBlocks.hpp.
|
friend |
_data_ MoFEM::Block_BodyForces::data |
Definition at line 328 of file MaterialBlocks.hpp.