v0.15.0
Loading...
Searching...
No Matches
MoFEM::CubitMeshSets Struct Reference

this struct keeps basic methods for moab meshset about material and boundary conditions More...

#include "src/multi_indices/BCMultiIndices.hpp"

Collaboration diagram for MoFEM::CubitMeshSets:
[legend]

Public Member Functions

 CubitMeshSets (Interface &moab, const EntityHandle meshset)
 
 CubitMeshSets (Interface &moab, const CubitBCType cubit_bc_type, const int msId)
 
int getMeshsetId () const
 get meshset id as it set in preprocessing software
 
CubitBCType getBcType () const
 get type of meshset
 
EntityHandle getMeshset () const
 get bc meshset
 
unsigned long int getBcTypeULong () const
 get bc meshset type
 
unsigned long int getMaskedBcTypeULong () const
 get meshset type and mask
 
DEPRECATED unsigned long int getMaksedBcTypeULong () const
 
unsigned int getMeshsetEntitiesDimension () const
 Get the meshset entities dimension.
 
MoFEMErrorCode getMeshsetIdEntitiesByDimension (Interface &moab, const int dimension, Range &entities, const bool recursive=false) const
 get entities form meshset
 
MoFEMErrorCode getMeshsetIdEntitiesByDimension (Interface &moab, Range &entities, const bool recursive=false) const
 get entities form meshset
 
MoFEMErrorCode getMeshsetIdEntitiesByType (Interface &moab, const EntityType type, Range &entities, const bool recursive=false) const
 get entities by type
 
MoFEMErrorCode getTypeFromBcData (const std::vector< char > &bc_data, CubitBCType &type) const
 Function that returns the CubitBCType type of the contents of bc_data.
 
MoFEMErrorCode getTypeFromBcData (CubitBCType &type) const
 Function that returns the CubitBCType type of the contents of bc_data.
 
MoFEMErrorCode getBcData (std::vector< char > &bc_data) const
 get bc_data vector from MoFEM database
 
MoFEMErrorCode getBlockHeaderData (std::vector< unsigned int > &material_data) const
 get block_headers vector from MoFEM database
 
MoFEMErrorCode printBlockHeaderData (std::ostream &os) const
 print material_data int stream given by os
 
MoFEMErrorCode printBcData (std::ostream &os) const
 print bc_data int stream given by os
 
MoFEMErrorCode getTypeFromName (const std::string &name, CubitBCType &type) const
 Function that returns the CubitBCType type of the block name, sideset name etc.
 
MoFEMErrorCode getTypeFromName (CubitBCType &type) const
 Function that returns the CubitBCType type of the block name, sideset name etc.
 
MoFEMErrorCode getAttributes (std::vector< double > &attributes) const
 get Cubit block attributes
 
MoFEMErrorCode setAttributes (moab::Interface &moab, const std::vector< double > &attributes)
 cet Cubit block attributes
 
MoFEMErrorCode printAttributes (std::ostream &os) const
 print the attributes vector
 
std::string getName () const
 get name of block, sideset etc. (this is set in Cubit block properties)
 
MoFEMErrorCode printName (std::ostream &os) const
 print name of block, sideset etc. (this is set in Cubit setting properties)
 
template<class ATTRIBUTE_TYPE >
MoFEMErrorCode getAttributeDataStructure (ATTRIBUTE_TYPE &data) const
 fill data structure with data saved on meshset
 
template<class ATTRIBUTE_TYPE >
MoFEMErrorCode setAttributeDataStructure (const ATTRIBUTE_TYPE &data)
 fill meshset data with data on structure
 
template<class CUBIT_BC_DATA_TYPE >
MoFEMErrorCode getBcDataStructure (CUBIT_BC_DATA_TYPE &data) const
 
template<class CUBIT_BC_DATA_TYPE >
MoFEMErrorCode setBcDataStructure (CUBIT_BC_DATA_TYPE &data)
 
MoFEMErrorCode getTagsHandlers (Interface &moab)
 

Public Attributes

EntityHandle meshset
 
CubitBCType cubitBcType
 
std::vector< Tagtag_handles
 vector of tag handles to types of data passed from cubit
 
int * msId = nullptr
 cubit meshset ID
 
char * tagBcData = nullptr
 
int tagBcSize
 
unsigned int * tagBlockHeaderData = nullptr
 
doubletagBlockAttributes = nullptr
 
int tagBlockAttributesSize
 
char * tagName = nullptr
 
const CubitBCType meshsetsMask
 
Tag nsTag
 
Tag ssTag
 
Tag nsTag_data
 
Tag ssTag_data
 
Tag bhTag
 
Tag bhTag_header
 
Tag thBlockAttribs
 
Tag entityNameTag
 

Friends

std::ostream & operator<< (std::ostream &os, const CubitMeshSets &e)
 

Detailed Description

this struct keeps basic methods for moab meshset about material and boundary conditions

Definition at line 19 of file BCMultiIndices.hpp.

Constructor & Destructor Documentation

◆ CubitMeshSets() [1/2]

MoFEM::CubitMeshSets::CubitMeshSets ( Interface & moab,
const EntityHandle meshset )

◆ CubitMeshSets() [2/2]

MoFEM::CubitMeshSets::CubitMeshSets ( Interface & moab,
const CubitBCType cubit_bc_type,
const int msId )

Member Function Documentation

◆ getAttributeDataStructure()

template<class ATTRIBUTE_TYPE >
MoFEMErrorCode MoFEM::CubitMeshSets::getAttributeDataStructure ( ATTRIBUTE_TYPE & data) const
inline

fill data structure with data saved on meshset

Definition at line 268 of file BCMultiIndices.hpp.

268 {
270 if ((cubitBcType & data.getType()).none()) {
271 SETERRQ(PETSC_COMM_SELF, MOFEM_DATA_INCONSISTENCY,
272 "attributes are not for ATTRIBUTE_TYPE structure");
273 }
274 std::vector<double> attributes;
275 CHKERR getAttributes(attributes);
276 CHKERR data.fill_data(attributes);
278 }
#define MoFEMFunctionBegin
First executable line of each MoFEM function, used for error handling. Final line of MoFEM functions ...
@ MOFEM_DATA_INCONSISTENCY
Definition definitions.h:31
#define MoFEMFunctionReturn(a)
Last executable line of each PETSc function used for error handling. Replaces return()
#define CHKERR
Inline error check.
MoFEMErrorCode getAttributes(std::vector< double > &attributes) const
get Cubit block attributes

◆ getAttributes()

MoFEMErrorCode MoFEM::CubitMeshSets::getAttributes ( std::vector< double > & attributes) const

get Cubit block attributes

Parameters
attributesis the vector where the block attribute data will be stored

Definition at line 286 of file BCMultiIndices.cpp.

286 {
288 attributes.resize(tagBlockAttributesSize);
289 if (tagBlockAttributesSize > 0) {
291 attributes.begin());
292 }
294}

◆ getBcData()

MoFEMErrorCode MoFEM::CubitMeshSets::getBcData ( std::vector< char > & bc_data) const

get bc_data vector from MoFEM database

Parameters
bc_datais the in/out vector were bc_data will be stored

Definition at line 172 of file BCMultiIndices.cpp.

172 {
174 bc_data.resize(tagBcSize);
175 copy(&tagBcData[0], &tagBcData[tagBcSize], bc_data.begin());
177}

◆ getBcDataStructure()

template<class CUBIT_BC_DATA_TYPE >
MoFEMErrorCode MoFEM::CubitMeshSets::getBcDataStructure ( CUBIT_BC_DATA_TYPE & data) const
inline

Definition at line 296 of file BCMultiIndices.hpp.

296 {
298
299 if ((cubitBcType & data.tYpe).none()) {
300 SETERRQ(PETSC_COMM_SELF, MOFEM_DATA_INCONSISTENCY,
301 "bc_data are not for CUBIT_BC_DATA_TYPE structure");
302 }
303 std::vector<char> bc_data;
304 getBcData(bc_data);
305 ierr = data.fill_data(bc_data);
306 CHKERRG(ierr);
308 }
#define MoFEMFunctionReturnHot(a)
Last executable line of each PETSc function used for error handling. Replaces return()
#define CHKERRG(n)
Check error code of MoFEM/MOAB/PETSc function.
#define MoFEMFunctionBeginHot
First executable line of each MoFEM function, used for error handling. Final line of MoFEM functions ...
static MoFEMErrorCodeGeneric< PetscErrorCode > ierr
MoFEMErrorCode getBcData(std::vector< char > &bc_data) const
get bc_data vector from MoFEM database

◆ getBcType()

CubitBCType MoFEM::CubitMeshSets::getBcType ( ) const
inline

get type of meshset

Deprecated
use getMeshsetId() instead

See CubitBC for set of types of meshsets.

Returns
meshset type

Definition at line 56 of file BCMultiIndices.hpp.

56{ return cubitBcType; }

◆ getBcTypeULong()

unsigned long int MoFEM::CubitMeshSets::getBcTypeULong ( ) const
inline

get bc meshset type

Returns
return type as unsigned int

Definition at line 68 of file BCMultiIndices.hpp.

68 {
69 return cubitBcType.to_ulong();
70 }

◆ getBlockHeaderData()

MoFEMErrorCode MoFEM::CubitMeshSets::getBlockHeaderData ( std::vector< unsigned int > & material_data) const

get block_headers vector from MoFEM database

Parameters
material_datais the in/out vector were the material data will be stored

Definition at line 179 of file BCMultiIndices.cpp.

180 {
182 material_data.resize(3);
183 copy(&tagBlockHeaderData[0], &tagBlockHeaderData[3], material_data.begin());
185}
unsigned int * tagBlockHeaderData

◆ getMaksedBcTypeULong()

DEPRECATED unsigned long int MoFEM::CubitMeshSets::getMaksedBcTypeULong ( ) const
inline
Deprecated
use getMaskedBcTypeULong

Definition at line 81 of file BCMultiIndices.hpp.

81 {
82 return (cubitBcType & meshsetsMask).to_ulong();
83 }
const CubitBCType meshsetsMask

◆ getMaskedBcTypeULong()

unsigned long int MoFEM::CubitMeshSets::getMaskedBcTypeULong ( ) const
inline

get meshset type and mask

Returns
type is returned as unsigned integer

Definition at line 76 of file BCMultiIndices.hpp.

76 {
77 return (cubitBcType & meshsetsMask).to_ulong();
78 }

◆ getMeshset()

EntityHandle MoFEM::CubitMeshSets::getMeshset ( ) const
inline

get bc meshset

Returns
meshset entity handle

Definition at line 62 of file BCMultiIndices.hpp.

62{ return meshset; }

◆ getMeshsetEntitiesDimension()

unsigned int MoFEM::CubitMeshSets::getMeshsetEntitiesDimension ( ) const
inline

Get the meshset entities dimension.

Note
If dimension is -1, then dimension for meshset ins undetermined.
Returns
unsigned int

Definition at line 92 of file BCMultiIndices.hpp.

92 {
94 return tagBlockHeaderData[2];
95 else
96 return -1;
97 }

◆ getMeshsetId()

int MoFEM::CubitMeshSets::getMeshsetId ( ) const
inline

get meshset id as it set in preprocessing software

Returns
id of meshset

Definition at line 43 of file BCMultiIndices.hpp.

43{ return msId ? *msId : -1; }
int * msId
cubit meshset ID

◆ getMeshsetIdEntitiesByDimension() [1/2]

MoFEMErrorCode MoFEM::CubitMeshSets::getMeshsetIdEntitiesByDimension ( Interface & moab,
const int dimension,
Range & entities,
const bool recursive = false ) const

get entities form meshset

Parameters
moabmoab instance
dimensiondimension of entities
entitiesrange of returned entities
recursivetrue if meshset should be searched recursively
Returns
error code

◆ getMeshsetIdEntitiesByDimension() [2/2]

MoFEMErrorCode MoFEM::CubitMeshSets::getMeshsetIdEntitiesByDimension ( Interface & moab,
Range & entities,
const bool recursive = false ) const

get entities form meshset

Use if meshset have predefined dimension

Parameters
moabmoab instance
entitiesrange of returned entities
recursivetrue if meshset should be searched recursively
Returns
error code

◆ getMeshsetIdEntitiesByType()

MoFEMErrorCode MoFEM::CubitMeshSets::getMeshsetIdEntitiesByType ( Interface & moab,
const EntityType type,
Range & entities,
const bool recursive = false ) const

get entities by type

Parameters
moabmoab instance
typetype of entity
entitiesreturned entities
recursivetrue if meshset should be searched recursively
Returns
error code

Definition at line 160 of file BCMultiIndices.cpp.

162 {
164 rval = moab.get_entities_by_type(meshset, type, entities, recursive);
165 if (rval != MB_SUCCESS) {
166 MOFEM_LOG("SELF", Sev::error) << "bc set " << *this;
167 }
168 CHKERR rval;
170}
#define MOFEM_LOG(channel, severity)
Log.
static MoFEMErrorCodeGeneric< moab::ErrorCode > rval

◆ getName()

std::string MoFEM::CubitMeshSets::getName ( ) const

get name of block, sideset etc. (this is set in Cubit block properties)

Block Name Conventions:

Materials are defined with block names starting with MAT_ e.g. MAT_ELASTIC_abcd.

List of materials/solution procedures

Block name / Number of attributes / (1) Attribute 1, (2) Attribute 2 etc.

MAT_ELASTIC / 10 / (1) Young's modulus (2) Poisson's ratio (3) User attribute 8 ... (10) User attribute 8

MAT_ELASTIC_TRANSISO / 5 / (1) Young's modulus in xy plane (Ep) (2) Young's modulus in z-direction (Ez) (3) Poisson's ratio in xy plane (vp) (4) Poisson's ratio in z-direction (vpz) (5) Shear modulus in z-direction (Gzp)

MAT_INTERF / 1 / (1) Elastic modulus multiplier

To be extended as appropriate

Definition at line 209 of file BCMultiIndices.cpp.

209 {
210 if (tagName != nullptr) {
211 return std::string(tagName);
212 } else {
213 return "NoNameSet";
214 }
215}

◆ getTagsHandlers()

MoFEMErrorCode MoFEM::CubitMeshSets::getTagsHandlers ( Interface & moab)

Definition at line 8 of file BCMultiIndices.cpp.

8 {
10 CHKERR moab.tag_get_handle(DIRICHLET_SET_TAG_NAME, nsTag);
11 CHKERR moab.tag_get_handle(NEUMANN_SET_TAG_NAME, ssTag);
12 CHKERR moab.tag_get_handle(
13 (std::string(DIRICHLET_SET_TAG_NAME) + "__BC_DATA").c_str(), nsTag_data);
14 CHKERR moab.tag_get_handle(
15 (std::string(NEUMANN_SET_TAG_NAME) + "__BC_DATA").c_str(), ssTag_data);
16 CHKERR moab.tag_get_handle(MATERIAL_SET_TAG_NAME, bhTag);
17 CHKERR moab.tag_get_handle(BLOCK_HEADER, bhTag_header);
18 CHKERR moab.tag_get_handle(BLOCK_ATTRIBUTES, thBlockAttribs);
19 CHKERR moab.tag_get_handle(NAME_TAG_NAME, entityNameTag);
21}

◆ getTypeFromBcData() [1/2]

MoFEMErrorCode MoFEM::CubitMeshSets::getTypeFromBcData ( const std::vector< char > & bc_data,
CubitBCType & type ) const

Function that returns the CubitBCType type of the contents of bc_data.

Definition at line 226 of file BCMultiIndices.cpp.

227 {
229
230 // See CubitBCType in common.hpp
231 if (bc_data.size() == 0) {
233 }
234
238 if (strcmp(&bc_data[0], "Displacement") == 0)
240 else if (strcmp(&bc_data[0], "Force") == 0)
241 type |= FORCESET;
242 else if (strcmp(&bc_data[0], "Velocity") == 0)
243 type |= VELOCITYSET;
244 else if (strcmp(&bc_data[0], "Acceleration") == 0)
246 else if (strcmp(&bc_data[0], "Temperature") == 0)
248 else if (strcmp(&bc_data[0], "Pressure") == 0)
249 type |= PRESSURESET;
250 else if (strcmp(&bc_data[0], "HeatFlux") == 0)
251 type |= HEATFLUXSET;
252 else if (strcmp(&bc_data[0], "cfd_bc") == 0)
254 else
255 type |= UNKNOWNNAME;
256
258}
@ TEMPERATURESET
@ PRESSURESET
@ ACCELERATIONSET
@ FORCESET
@ HEATFLUXSET
@ UNKNOWNNAME
@ VELOCITYSET
@ DISPLACEMENTSET
@ INTERFACESET

◆ getTypeFromBcData() [2/2]

MoFEMErrorCode MoFEM::CubitMeshSets::getTypeFromBcData ( CubitBCType & type) const

Function that returns the CubitBCType type of the contents of bc_data.

Definition at line 259 of file BCMultiIndices.cpp.

259 {
261 std::vector<char> bc_data;
262 CHKERR getBcData(bc_data);
263 CHKERR getTypeFromBcData(bc_data, type);
265}
MoFEMErrorCode getTypeFromBcData(const std::vector< char > &bc_data, CubitBCType &type) const
Function that returns the CubitBCType type of the contents of bc_data.

◆ getTypeFromName() [1/2]

MoFEMErrorCode MoFEM::CubitMeshSets::getTypeFromName ( const std::string & name,
CubitBCType & type ) const

Function that returns the CubitBCType type of the block name, sideset name etc.

Definition at line 324 of file BCMultiIndices.cpp.

325 {
327 // See CubitBCType in common.hpp
330
331 if (name.compare(0, 11, "MAT_ELASTIC") == 0) {
333 } else if (name.compare(0, 11, "MAT_THERMAL") == 0) {
335 } else if (name.compare(0, 12, "MAT_MOISTURE") == 0) {
337 } else if (name.compare(0, 10, "MAT_INTERF") == 0) {
339 } else if (name.compare(0, 11, "BODY_FORCES") == 0) {
341 }
342 // To be extended as appropriate
343 else {
344 type |= UNKNOWNNAME;
345 }
347}
@ BODYFORCESSET
block name is "BODY_FORCES"
@ MAT_ELASTICSET
block name is "MAT_ELASTIC"
@ MAT_INTERFSET
@ MAT_THERMALSET
block name is "MAT_THERMAL"
@ MAT_MOISTURESET
block name is "MAT_MOISTURE"

◆ getTypeFromName() [2/2]

MoFEMErrorCode MoFEM::CubitMeshSets::getTypeFromName ( CubitBCType & type) const

Function that returns the CubitBCType type of the block name, sideset name etc.

Definition at line 349 of file BCMultiIndices.cpp.

349 {
351 std::string name = getName();
352 CHKERR getTypeFromName(name, type);
354}
MoFEMErrorCode getTypeFromName(const std::string &name, CubitBCType &type) const
Function that returns the CubitBCType type of the block name, sideset name etc.
std::string getName() const
get name of block, sideset etc. (this is set in Cubit block properties)

◆ printAttributes()

MoFEMErrorCode MoFEM::CubitMeshSets::printAttributes ( std::ostream & os) const

print the attributes vector

f.e. it->printAttributes(cout), i.e. printing to standard output f.e. it->printAttributes(std::cerr), i.e. printing to standard error output

Definition at line 310 of file BCMultiIndices.cpp.

310 {
312 std::vector<double> attributes;
313 CHKERR getAttributes(attributes);
314 os << std::endl;
315 os << "Block attributes" << std::endl;
316 os << "----------------" << std::endl;
317 for (unsigned int ii = 0; ii < attributes.size(); ii++) {
318 os << "attr. no: " << ii + 1 << " value: " << attributes[ii] << std::endl;
319 }
320 os << std::endl;
322}

◆ printBcData()

MoFEMErrorCode MoFEM::CubitMeshSets::printBcData ( std::ostream & os) const

print bc_data int stream given by os

f.e. it->printBcData(cout), i.e. printing to standard output f.e. it->printBcData(std::cerr), i.e. printing to standard error output

Definition at line 267 of file BCMultiIndices.cpp.

267 {
269 std::vector<char> bc_data;
270 CHKERR getBcData(bc_data);
271 os << "bc_data = ";
272 std::vector<char>::iterator vit = bc_data.begin();
273 for (; vit != bc_data.end(); vit++) {
274 os << std::hex << (int)((unsigned char)*vit) << " ";
275 }
276 os << ": ";
277 vit = bc_data.begin();
278 for (; vit != bc_data.end(); vit++) {
279 os << *vit;
280 }
281 os << std::endl;
283}

◆ printBlockHeaderData()

MoFEMErrorCode MoFEM::CubitMeshSets::printBlockHeaderData ( std::ostream & os) const

print material_data int stream given by os

f.e. it->print_Cubit_material_data(cout), i.e. printing to standard output f.e. it->print_Cubit_material_data(std::cerr), i.e. printing to standard error output

Definition at line 187 of file BCMultiIndices.cpp.

187 {
189 if (tagBlockHeaderData != nullptr) {
190 std::vector<unsigned int> material_data;
191 getBlockHeaderData(material_data);
192 os << "block_header_data = ";
193 std::vector<unsigned int>::iterator vit = material_data.begin();
194 for (; vit != material_data.end(); vit++) {
195 os << std::hex << (int)((unsigned int)*vit) << " ";
196 }
197 os << ": ";
198 vit = material_data.begin();
199 for (; vit != material_data.end(); vit++) {
200 os << *vit;
201 }
202 os << std::endl;
203 } else {
204 os << "no block header data" << std::endl;
205 }
207}
MoFEMErrorCode getBlockHeaderData(std::vector< unsigned int > &material_data) const
get block_headers vector from MoFEM database

◆ printName()

MoFEMErrorCode MoFEM::CubitMeshSets::printName ( std::ostream & os) const

print name of block, sideset etc. (this is set in Cubit setting properties)

e.g. it->printName(cout), i.e. printing to standard output e.g it->printName(std::cerr), i.e. printing to standard error output

Definition at line 217 of file BCMultiIndices.cpp.

217 {
219 std::string name = getName();
220 os << std::endl;
221 os << "Block name: " << name << std::endl;
223}

◆ setAttributeDataStructure()

template<class ATTRIBUTE_TYPE >
MoFEMErrorCode MoFEM::CubitMeshSets::setAttributeDataStructure ( const ATTRIBUTE_TYPE & data)
inline

fill meshset data with data on structure

Definition at line 284 of file BCMultiIndices.hpp.

284 {
286 if ((cubitBcType & data.getType()).none()) {
287 SETERRQ(PETSC_COMM_SELF, MOFEM_DATA_INCONSISTENCY,
288 "attributes are not for ATTRIBUTE_TYPE structure");
289 }
290 double *ptr = const_cast<double *>(tagBlockAttributes);
291 CHKERR data.set_data(ptr, 8 * tagBlockAttributesSize);
293 }

◆ setAttributes()

MoFEMErrorCode MoFEM::CubitMeshSets::setAttributes ( moab::Interface & moab,
const std::vector< double > & attributes )

cet Cubit block attributes

Parameters
attributesis the vector where the block attribute data will be stored

Definition at line 297 of file BCMultiIndices.cpp.

298 {
299
301 int tag_size[] = {(int)attributes.size()};
302 void const *tag_data[] = {&*attributes.begin()};
303 CHKERR moab.tag_set_by_ptr(thBlockAttribs, &meshset, 1, tag_data, tag_size);
304 CHKERR moab.tag_get_by_ptr(thBlockAttribs, &meshset, 1,
305 (const void **)&tagBlockAttributes,
308}

◆ setBcDataStructure()

template<class CUBIT_BC_DATA_TYPE >
MoFEMErrorCode MoFEM::CubitMeshSets::setBcDataStructure ( CUBIT_BC_DATA_TYPE & data)
inline

Definition at line 311 of file BCMultiIndices.hpp.

311 {
313
314 char *ptr = const_cast<char *>(tagBcData);
315 ierr = data.set_data(ptr, tagBcSize);
316 CHKERRG(ierr);
318 }

Friends And Related Symbol Documentation

◆ operator<<

std::ostream & operator<< ( std::ostream & os,
const CubitMeshSets & e )
friend

Definition at line 356 of file BCMultiIndices.cpp.

356 {
357 // get name of cubit meshset
358 std::ostringstream ss;
359 unsigned jj = 0;
360 while (1 << jj != LASTSET_BC) {
361 const CubitBCType jj_bc_type = 1 << jj;
362 if ((e.cubitBcType & jj_bc_type).any()) {
363 string bc_type_name;
364 ss << " " << string(CubitBCNames[jj + 1]);
365 }
366 ++jj;
367 }
368
369 // push data to stream
370 os << "meshset " << e.meshset << " type" << ss.str();
371 if (e.msId != nullptr)
372 os << " msId " << *(e.msId);
373 if (e.tagName != nullptr) {
374 os << " name " << e.getName();
375 }
376 if (e.tagBlockHeaderData != nullptr) {
377 os << " block header: ";
378 os << " blockCol = " << e.tagBlockHeaderData[0];
379 os << " blockMat = " << e.tagBlockHeaderData[1];
380 os << " blockDimension = " << e.tagBlockHeaderData[2];
381 }
382 return os;
383}
@ LASTSET_BC
static const char *const CubitBCNames[]
Names of types of sets and boundary conditions.
std::bitset< 32 > CubitBCType
Definition Types.hpp:52

Member Data Documentation

◆ bhTag

Tag MoFEM::CubitMeshSets::bhTag

Definition at line 322 of file BCMultiIndices.hpp.

◆ bhTag_header

Tag MoFEM::CubitMeshSets::bhTag_header

Definition at line 322 of file BCMultiIndices.hpp.

◆ cubitBcType

CubitBCType MoFEM::CubitMeshSets::cubitBcType

type of meshset from cubit NodeSet, BlockSet, SideSet and more

Definition at line 22 of file BCMultiIndices.hpp.

◆ entityNameTag

Tag MoFEM::CubitMeshSets::entityNameTag

Definition at line 323 of file BCMultiIndices.hpp.

◆ meshset

EntityHandle MoFEM::CubitMeshSets::meshset

Definition at line 21 of file BCMultiIndices.hpp.

◆ meshsetsMask

const CubitBCType MoFEM::CubitMeshSets::meshsetsMask

Definition at line 33 of file BCMultiIndices.hpp.

◆ msId

int* MoFEM::CubitMeshSets::msId = nullptr

cubit meshset ID

Definition at line 26 of file BCMultiIndices.hpp.

◆ nsTag

Tag MoFEM::CubitMeshSets::nsTag

Definition at line 322 of file BCMultiIndices.hpp.

◆ nsTag_data

Tag MoFEM::CubitMeshSets::nsTag_data

Definition at line 322 of file BCMultiIndices.hpp.

◆ ssTag

Tag MoFEM::CubitMeshSets::ssTag

Definition at line 322 of file BCMultiIndices.hpp.

◆ ssTag_data

Tag MoFEM::CubitMeshSets::ssTag_data

Definition at line 322 of file BCMultiIndices.hpp.

◆ tag_handles

std::vector<Tag> MoFEM::CubitMeshSets::tag_handles

vector of tag handles to types of data passed from cubit

Definition at line 25 of file BCMultiIndices.hpp.

◆ tagBcData

char* MoFEM::CubitMeshSets::tagBcData = nullptr

Definition at line 27 of file BCMultiIndices.hpp.

◆ tagBcSize

int MoFEM::CubitMeshSets::tagBcSize

Definition at line 28 of file BCMultiIndices.hpp.

◆ tagBlockAttributes

double* MoFEM::CubitMeshSets::tagBlockAttributes = nullptr

Definition at line 30 of file BCMultiIndices.hpp.

◆ tagBlockAttributesSize

int MoFEM::CubitMeshSets::tagBlockAttributesSize

Definition at line 31 of file BCMultiIndices.hpp.

◆ tagBlockHeaderData

unsigned int* MoFEM::CubitMeshSets::tagBlockHeaderData = nullptr

Definition at line 29 of file BCMultiIndices.hpp.

◆ tagName

char* MoFEM::CubitMeshSets::tagName = nullptr

Definition at line 32 of file BCMultiIndices.hpp.

◆ thBlockAttribs

Tag MoFEM::CubitMeshSets::thBlockAttribs

Definition at line 322 of file BCMultiIndices.hpp.


The documentation for this struct was generated from the following files: