v0.14.0 |
Generic attribute data structure. More...
#include <src/multi_indices/MaterialBlocks.hpp>
Public Member Functions | |
virtual MoFEMErrorCode | fill_data (const std::vector< double > &attributes) |
get data from structure More... | |
virtual MoFEMErrorCode | set_data (void *tag_ptr, unsigned int size) const |
set data on structure More... | |
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... | |
virtual std::size_t | getSizeOfData () const =0 |
get data structure size More... | |
virtual const void * | getDataPtr () const =0 |
get pointer to data structure More... | |
GenericAttributeData (const CubitBCType type, const unsigned int min_number_of_atributes) | |
Public Attributes | |
const CubitBCType | tYpe |
Type of data (f.e. MAT_ELATIC) More... | |
unsigned int | minNumberOfAtributes |
minimal number of attributes More... | |
Generic attribute data structure.
Definition at line 17 of file MaterialBlocks.hpp.
|
inline |
Definition at line 74 of file MaterialBlocks.hpp.
|
inlinevirtual |
get data from structure
attributes | vector of doubles |
Reimplemented in MoFEM::Mat_Elastic_EberleinHolzapfel1, MoFEM::Mat_Interf, MoFEM::Mat_Elastic_TransIso, MoFEM::Block_BodyForces, MoFEM::Mat_Moisture, MoFEM::Mat_Thermal, MoFEM::Mat_Elastic, and MoFEM::BlockSetAttributes.
Definition at line 24 of file MaterialBlocks.hpp.
|
pure virtual |
get pointer to data structure
Implemented in MoFEM::Mat_Elastic_EberleinHolzapfel1, MoFEM::Mat_Interf, MoFEM::Mat_Elastic_TransIso, MoFEM::Block_BodyForces, MoFEM::Mat_Moisture, MoFEM::Mat_Thermal, MoFEM::Mat_Elastic, and MoFEM::BlockSetAttributes.
|
inlinevirtual |
get minimal number of attributes which blockset has to have
Definition at line 58 of file MaterialBlocks.hpp.
|
pure virtual |
get data structure size
Implemented in MoFEM::Mat_Elastic_EberleinHolzapfel1, MoFEM::Mat_Interf, MoFEM::Mat_Elastic_TransIso, MoFEM::Block_BodyForces, MoFEM::Mat_Moisture, MoFEM::Mat_Thermal, MoFEM::Mat_Elastic, and MoFEM::BlockSetAttributes.
|
inlinevirtual |
|
inlinevirtual |
set data on structure
tag_ptr | pointer to tag on meshset |
size | size of data in bytes |
Reimplemented in MoFEM::Mat_Interf, MoFEM::Mat_Elastic_TransIso, MoFEM::Block_BodyForces, MoFEM::Mat_Thermal, MoFEM::Mat_Elastic, and MoFEM::BlockSetAttributes.
Definition at line 37 of file MaterialBlocks.hpp.
unsigned int MoFEM::GenericAttributeData::minNumberOfAtributes |
minimal number of attributes
Definition at line 52 of file MaterialBlocks.hpp.
const CubitBCType MoFEM::GenericAttributeData::tYpe |
Type of data (f.e. MAT_ELATIC)
Definition at line 44 of file MaterialBlocks.hpp.