Definition of the pressure bc data structure.
More...
#include <src/multi_indices/BCData.hpp>
Definition of the pressure bc data structure.
- Examples
- add_cubit_meshsets.cpp, and cubit_bc_test.cpp.
Definition at line 379 of file BCData.hpp.
◆ PressureCubitBcData()
MoFEM::PressureCubitBcData::PressureCubitBcData |
( |
| ) |
|
|
inline |
◆ __attribute__()
struct MoFEM::PressureCubitBcData::__attribute__ |
( |
(packed) |
| ) |
|
|
inline |
◆ fill_data()
MoFEMErrorCode MoFEM::PressureCubitBcData::fill_data |
( |
const std::vector< char > & |
bc_data | ) |
|
|
inlinevirtual |
get data from structure
- Parameters
-
attributes | vector of doubles |
- Returns
- error code
Reimplemented from MoFEM::GenericCubitBcData.
Definition at line 398 of file BCData.hpp.
401 if (bc_data.size() !=
sizeof(
data)) {
404 memcpy(&
data, &bc_data[0],
sizeof(
data));
◆ getDataPtr()
const void* MoFEM::PressureCubitBcData::getDataPtr |
( |
| ) |
const |
|
inlinevirtual |
◆ getSizeOfData()
std::size_t MoFEM::PressureCubitBcData::getSizeOfData |
( |
| ) |
const |
|
inlinevirtual |
◆ set_data()
MoFEMErrorCode MoFEM::PressureCubitBcData::set_data |
( |
void * |
tag_ptr, |
|
|
unsigned int |
size |
|
) |
| const |
|
inlinevirtual |
set data on structure
- Parameters
-
tag_ptr | pointer to tag on meshset |
size | size of data in bytes |
- Returns
- error code
Reimplemented from MoFEM::GenericCubitBcData.
Definition at line 408 of file BCData.hpp.
410 if (size !=
sizeof(
data)) {
413 memcpy(tag_ptr, &
data, size);
◆ operator<<
Print pressure bc data.
Definition at line 170 of file BCData.cpp.
172 os <<
"P r e s s u r e \n \n";
173 os <<
"Pressure flag2: " << (
int)e.data.flag2 <<
"\n";
174 os <<
"Pressure value: " << e.data.value1 <<
"\n \n";
◆ data
_data_ MoFEM::PressureCubitBcData::data |
The documentation for this struct was generated from the following file: