![]() |
v0.10.0 |
Interface for meshsets with entities with data and boundary conditions. More...
Files | |
file | MeshsetsManager.hpp |
MeshsetsManager interface. | |
Macros | |
#define | _IT_CUBITMESHSETS_FOR_LOOP_(MESHSET_MANAGER, IT) |
Iterator that loops over all the Cubit MeshSets in a moFEM field. More... | |
#define | _IT_CUBITMESHSETS_BY_BCDATA_TYPE_FOR_LOOP_(MESHSET_MANAGER, CUBITBCTYPE, IT) |
Iterator that loops over a specific Cubit MeshSet in a moFEM field. More... | |
#define | _IT_CUBITMESHSETS_BY_SET_TYPE_FOR_LOOP_(MESHSET_MANAGER, CUBITBCTYPE, IT) |
Iterator that loops over a specific Cubit MeshSet having a particular BC meshset in a moFEM field. More... | |
#define | _IT_CUBITMESHSETS_BY_NAME_FOR_LOOP_(MESHSET_MANAGER, NAME, IT) |
Iterator that loops over Cubit BlockSet having a particular name. More... | |
Functions | |
CubitMeshSet_multiIndex::iterator | MoFEM::MeshsetsManager::getBegin () const |
get begin iterator of cubit mehset of given type (instead you can use IT_CUBITMESHSETS_TYPE_FOR_LOOP(MFIELD,CUBITBCTYPE,IT) More... | |
CubitMeshSet_multiIndex::iterator | MoFEM::MeshsetsManager::getEnd () const |
get begin iterator of cubit mehset of given type (instead you can use IT_CUBITMESHSETS_TYPE_FOR_LOOP(MFIELD,CUBITBCTYPE,IT) More... | |
CubitMeshsetByType::iterator | MoFEM::MeshsetsManager::getBegin (const unsigned int cubit_bc_type) const |
get begin iterator of cubit mehset of given type (instead you can use IT_CUBITMESHSETS_BY_BCDATA_TYPE_FOR_LOOP(MFIELD,CUBITBCTYPE,IT) More... | |
CubitMeshsetByType::iterator | MoFEM::MeshsetsManager::getEnd (const unsigned int cubit_bc_type) const |
get begin iterator of cubit mehset of given type (instead you can use IT_CUBITMESHSETS_BY_BCDATA_TYPE_FOR_LOOP(MFIELD,CUBITBCTYPE,IT) More... | |
CubitMeshsetByMask::iterator | MoFEM::MeshsetsManager::getBySetTypeBegin (const unsigned int cubit_bc_type) const |
get end iterator of cubit meshset of given type (instead you can use IT_CUBITMESHSETS_BY_BCDATA_TYPE_FOR_LOOP(MFIELD,CUBITBCTYPE,IT) More... | |
CubitMeshsetByMask::iterator | MoFEM::MeshsetsManager::getBySetTypeEnd (const unsigned int cubit_bc_type) const |
get end iterator of cubit mehset of given type (instead you can use IT_CUBITMESHSETS_BY_BCDATA_TYPE_FOR_LOOP(MFIELD,CUBITBCTYPE,IT) More... | |
CubitMeshsetByName::iterator | MoFEM::MeshsetsManager::getBegin (const std::string &name) const |
get begin iterator of cubit mehset of given type (instead you can use IT_CUBITMESHSETS_BY_SET_TYPE_FOR_LOOP(MFIELD,CUBITBCTYPE,IT) More... | |
CubitMeshsetByName::iterator | MoFEM::MeshsetsManager::getEnd (const std::string &name) const |
get begin iterator of cubit mehset of given type (instead you can use IT_CUBITMESHSETS_BY_SET_TYPE_FOR_LOOP(MFIELD,CUBITBCTYPE,IT) More... | |
bool | MoFEM::MeshsetsManager::checkMeshset (const int ms_id, const CubitBCType cubit_bc_type) const |
check for CUBIT Id and CUBIT type More... | |
MoFEMErrorCode | MoFEM::MeshsetsManager::addMeshset (const CubitBCType cubit_bc_type, const int ms_id, const std::string name="") |
add cubit meshset More... | |
MoFEMErrorCode | MoFEM::MeshsetsManager::getCubitMeshsetPtr (const int ms_id, const CubitBCType cubit_bc_type, const CubitMeshSets **cubit_meshset_ptr) const |
get cubit meshset More... | |
MoFEMErrorCode | MoFEM::MeshsetsManager::getCubitMeshsetPtr (const string name, const CubitMeshSets **cubit_meshset_ptr) const |
get cubit meshset More... | |
MoFEMErrorCode | MoFEM::MeshsetsManager::getEntitiesByDimension (const int ms_id, const unsigned int cubit_bc_type, const int dimension, Range &entities, const bool recursive=true) const |
get entities from CUBIT/meshset of a particular entity dimension More... | |
MoFEMErrorCode | MoFEM::MeshsetsManager::getEntitiesByDimension (const int ms_id, const unsigned int cubit_bc_type, Range &entities, const bool recursive=true) const |
get entities related to CUBIT/meshset, More... | |
MoFEMErrorCode | MoFEM::MeshsetsManager::getMeshset (const int ms_id, const unsigned int cubit_bc_type, EntityHandle &meshset) const |
get meshset from CUBIT Id and CUBIT type More... | |
MoFEMErrorCode | MoFEM::MeshsetsManager::getMeshsetsByType (const unsigned int cubit_bc_type, Range &meshsets) const |
get all CUBIT meshsets by CUBIT type More... | |
Interface for meshsets with entities with data and boundary conditions.
#define _IT_CUBITMESHSETS_BY_BCDATA_TYPE_FOR_LOOP_ | ( | MESHSET_MANAGER, | |
CUBITBCTYPE, | |||
IT | |||
) |
Iterator that loops over a specific Cubit MeshSet in a moFEM field.
mField | moFEM Field |
see | CubitBC (NODESET, SIDESET or BLOCKSET and more) |
iterator |
Definition at line 69 of file MeshsetsManager.hpp.
#define _IT_CUBITMESHSETS_BY_NAME_FOR_LOOP_ | ( | MESHSET_MANAGER, | |
NAME, | |||
IT | |||
) |
Iterator that loops over Cubit BlockSet having a particular name.
MESHSET_MANAGER | meshset manager (works as well with Interface) |
NAME | name |
IT | iterator |
Definition at line 114 of file MeshsetsManager.hpp.
#define _IT_CUBITMESHSETS_BY_SET_TYPE_FOR_LOOP_ | ( | MESHSET_MANAGER, | |
CUBITBCTYPE, | |||
IT | |||
) |
Iterator that loops over a specific Cubit MeshSet having a particular BC meshset in a moFEM field.
MESHSET_MANAGER | meshset manager (works as well with Interface) |
see | CubitBC (NODESET, SIDESET or BLOCKSET and more) |
iterator | Example: |
Definition at line 91 of file MeshsetsManager.hpp.
#define _IT_CUBITMESHSETS_FOR_LOOP_ | ( | MESHSET_MANAGER, | |
IT | |||
) |
Iterator that loops over all the Cubit MeshSets in a moFEM field.
MESHSET_MANAGER | meshset manager (works as well with Interface) |
iterator |
Definition at line 54 of file MeshsetsManager.hpp.
MoFEMErrorCode MoFEM::MeshsetsManager::addMeshset | ( | const CubitBCType | cubit_bc_type, |
const int | ms_id, | ||
const std::string | name = "" |
||
) |
add cubit meshset
see | CubitBC (NODESET, SIDESET or BLOCKSET and more) |
ms_id | id of the BLOCKSET/SIDESET/BLOCKSET |
name | of set |
Definition at line 214 of file MeshsetsManager.cpp.
bool MoFEM::MeshsetsManager::checkMeshset | ( | const int | ms_id, |
const CubitBCType | cubit_bc_type | ||
) | const |
check for CUBIT Id and CUBIT type
ms_id | id of the BLOCKSET/SIDESET/BLOCKSET: from CUBIT |
see | CubitBC (NODESET, SIDESET or BLOCKSET and more) |
Definition at line 189 of file MeshsetsManager.cpp.
CubitMeshSet_multiIndex::iterator MoFEM::MeshsetsManager::getBegin | ( | ) | const |
get begin iterator of cubit mehset of given type (instead you can use IT_CUBITMESHSETS_TYPE_FOR_LOOP(MFIELD,CUBITBCTYPE,IT)
for(IT_CUBITMESHSETS_FOR_LOOP(mField,it) { ... }
Definition at line 250 of file MeshsetsManager.hpp.
CubitMeshsetByName::iterator MoFEM::MeshsetsManager::getBegin | ( | const std::string & | name | ) | const |
get begin iterator of cubit mehset of given type (instead you can use IT_CUBITMESHSETS_BY_SET_TYPE_FOR_LOOP(MFIELD,CUBITBCTYPE,IT)
for(IT_CUBITMESHSETS_BY_SET_TYPE_FOR_LOOP(mField,NODESET|DISPLACEMENTSET,it) { ... }
type | of meshset (NODESET, SIDESET or BLOCKSET and more) |
Definition at line 356 of file MeshsetsManager.hpp.
CubitMeshsetByType::iterator MoFEM::MeshsetsManager::getBegin | ( | const unsigned int | cubit_bc_type | ) | const |
get begin iterator of cubit mehset of given type (instead you can use IT_CUBITMESHSETS_BY_BCDATA_TYPE_FOR_LOOP(MFIELD,CUBITBCTYPE,IT)
for(IT_CUBITMESHSETS_BY_BCDATA_TYPE_FOR_LOOP(mField,NODESET|DISPLACEMENTSET,it) { ... }
type | of meshset (NODESET, SIDESET or BLOCKSET and more) |
Definition at line 283 of file MeshsetsManager.hpp.
CubitMeshsetByMask::iterator MoFEM::MeshsetsManager::getBySetTypeBegin | ( | const unsigned int | cubit_bc_type | ) | const |
get end iterator of cubit meshset of given type (instead you can use IT_CUBITMESHSETS_BY_BCDATA_TYPE_FOR_LOOP(MFIELD,CUBITBCTYPE,IT)
for(IT_CUBITMESHSETS_BY_BCDATA_TYPE_FOR_LOOP(mField,NODESET,it) { ... }
type | of meshset (NODESET, SIDESET or BLOCKSET and more) |
Definition at line 319 of file MeshsetsManager.hpp.
CubitMeshsetByMask::iterator MoFEM::MeshsetsManager::getBySetTypeEnd | ( | const unsigned int | cubit_bc_type | ) | const |
get end iterator of cubit mehset of given type (instead you can use IT_CUBITMESHSETS_BY_BCDATA_TYPE_FOR_LOOP(MFIELD,CUBITBCTYPE,IT)
for(IT_CUBITMESHSETS_BY_BCDATA_TYPE_FOR_LOOP(mField,NODESET,it) { ... }
type | of meshset (NODESET, SIDESET or BLOCKSET and more) |
Definition at line 337 of file MeshsetsManager.hpp.
MoFEMErrorCode MoFEM::MeshsetsManager::getCubitMeshsetPtr | ( | const int | ms_id, |
const CubitBCType | cubit_bc_type, | ||
const CubitMeshSets ** | cubit_meshset_ptr | ||
) | const |
MoFEMErrorCode MoFEM::MeshsetsManager::getCubitMeshsetPtr | ( | const string | name, |
const CubitMeshSets ** | cubit_meshset_ptr | ||
) | const |
CubitMeshSet_multiIndex::iterator MoFEM::MeshsetsManager::getEnd | ( | ) | const |
get begin iterator of cubit mehset of given type (instead you can use IT_CUBITMESHSETS_TYPE_FOR_LOOP(MFIELD,CUBITBCTYPE,IT)
for(IT_CUBITMESHSETS_FOR_LOOP(mField,it) { ... }
Definition at line 264 of file MeshsetsManager.hpp.
CubitMeshsetByName::iterator MoFEM::MeshsetsManager::getEnd | ( | const std::string & | name | ) | const |
get begin iterator of cubit mehset of given type (instead you can use IT_CUBITMESHSETS_BY_SET_TYPE_FOR_LOOP(MFIELD,CUBITBCTYPE,IT)
for(IT_CUBITMESHSETS_BY_SET_TYPE_FOR_LOOP(mField,NODESET|DISPLACEMENTSET,it) { ... }
type | of meshset (NODESET, SIDESET or BLOCKSET and more) |
Definition at line 374 of file MeshsetsManager.hpp.
CubitMeshsetByType::iterator MoFEM::MeshsetsManager::getEnd | ( | const unsigned int | cubit_bc_type | ) | const |
get begin iterator of cubit mehset of given type (instead you can use IT_CUBITMESHSETS_BY_BCDATA_TYPE_FOR_LOOP(MFIELD,CUBITBCTYPE,IT)
for(IT_CUBITMESHSETS_BY_BCDATA_TYPE_FOR_LOOP(mField,NODESET|DISPLACEMENTSET,it) { ... }
type | of meshset (NODESET, SIDESET or BLOCKSET and more) |
Definition at line 302 of file MeshsetsManager.hpp.
MoFEMErrorCode MoFEM::MeshsetsManager::getEntitiesByDimension | ( | const int | ms_id, |
const unsigned int | cubit_bc_type, | ||
const int | dimension, | ||
Range & | entities, | ||
const bool | recursive = true |
||
) | const |
get entities from CUBIT/meshset of a particular entity dimension
Nodeset can contain nodes, edges, triangles and tets. This applies to other meshsets too. The nodeset's meshset contain the nodes in the MIDDLE of the surface or volume which is done by default in Cubit, Hence if all nodes on a particular nodeset are required, one should get all triangles or tetrahedrons for which the nodeset was create in Cubit, and get all the connectivities of tris/tets.
ms_id | id of the BLOCKSET/SIDESET/BLOCKSET: from CUBIT |
see | CubitBC (NODESET, SIDESET or BLOCKSET and more) |
dimensions | (0 - Nodes, 1 - Edges, 2 - Faces, 3 - Volume(tetrahedral)) |
Range | containing the retrieved entities |
recursive | If true, meshsets containing meshsets are queried recursively. Returns the contents of meshsets, but not the meshsets themselves if true. |
Definition at line 434 of file MeshsetsManager.cpp.
MoFEMErrorCode MoFEM::MeshsetsManager::getEntitiesByDimension | ( | const int | ms_id, |
const unsigned int | cubit_bc_type, | ||
Range & | entities, | ||
const bool | recursive = true |
||
) | const |
get entities related to CUBIT/meshset,
NODESET will get Vertices only, even if the NODESET contains edges, tris and tets SIDESET will get Tris, BLOCKSET will get Tets, DISPLACEMENTSET and FORCESET are stored in NODESET, PRESSURESET is stored in Sideset.
ms_id | id of the BLOCKSET/SIDESET/BLOCKSET: from CUBIT |
see | CubitBC (NODESET, SIDESET or BLOCKSET and more) |
Range | containing the retrieved entities related to the |
recursive | If true, meshsets containing meshsets are queried recursively. Returns the contents of meshsets, but not the meshsets themselves if true. |
Definition at line 454 of file MeshsetsManager.cpp.
MoFEMErrorCode MoFEM::MeshsetsManager::getMeshset | ( | const int | ms_id, |
const unsigned int | cubit_bc_type, | ||
EntityHandle & | meshset | ||
) | const |
get meshset from CUBIT Id and CUBIT type
ms_id | id of the BLOCKSET/SIDESET/BLOCKSET: from CUBIT |
see | CubitBC (NODESET, SIDESET or BLOCKSET and more) |
meshset | where to store the retrieved entities |
Definition at line 473 of file MeshsetsManager.cpp.
MoFEMErrorCode MoFEM::MeshsetsManager::getMeshsetsByType | ( | const unsigned int | cubit_bc_type, |
Range & | meshsets | ||
) | const |
get all CUBIT meshsets by CUBIT type
see | CubitBC (NODESET, SIDESET or BLOCKSET and more). |
meshsets | is range of meshsets |
Definition at line 507 of file MeshsetsManager.cpp.