![]() |
v0.15.0 |
Interface for meshsets with entities with data and boundary conditions. More...
Files | |
| file | MeshsetsManager.hpp |
| Interface for managing mesh sets containing materials and boundary conditions. | |
Classes | |
| struct | MoFEM::MeshsetsManager |
| Interface for managing meshsets containing materials and boundary conditions. More... | |
Macros | |
| #define | _IT_CUBITMESHSETS_FOR_LOOP_(MESHSET_MANAGER, IT) |
| Iterator that loops over all the Cubit MeshSets in a moFEM field. | |
| #define | _IT_CUBITMESHSETS_BY_BCDATA_TYPE_FOR_LOOP_(MESHSET_MANAGER, CUBITBCTYPE, IT) |
| Iterator that loops over a specific Cubit MeshSet in a moFEM field. | |
| #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. | |
| #define | _IT_CUBITMESHSETS_BY_NAME_FOR_LOOP_(MESHSET_MANAGER, NAME, IT) |
| Iterator that loops over Cubit BlockSet having a particular name. | |
Functions | |
| MoFEMErrorCode | MoFEM::MeshsetsManager::getTags (int verb=-1) |
| Get tag handles used on meshsets. | |
| static MoFEMErrorCode | MoFEM::MeshsetsManager::getTags (moab::Interface &moab, Tag &nsTag, Tag &ssTag, Tag &nsTag_data, Tag &ssTag_data, Tag &bhTag, Tag &bhTag_header, int verb=-1) |
| Static version of getTags for external MOAB interface. | |
| MoFEMErrorCode | MoFEM::MeshsetsManager::clearMap () |
| Clear the multi-index container. | |
| MoFEMErrorCode | MoFEM::MeshsetsManager::initialiseDatabaseFromMesh (int verb=DEFAULT_VERBOSITY) |
| Initialize container from mesh data. | |
| MoFEMErrorCode | MoFEM::MeshsetsManager::readMeshsets (int verb=DEFAULT_VERBOSITY) |
| Read meshsets from mesh database. | |
| MoFEMErrorCode | MoFEM::MeshsetsManager::broadcastMeshsets (int verb=DEFAULT_VERBOSITY) |
| Broadcast meshsets across MPI processes. | |
| MoFEMErrorCode | MoFEM::MeshsetsManager::printDisplacementSet () const |
| Print meshsets with displacement boundary conditions. | |
| MoFEMErrorCode | MoFEM::MeshsetsManager::printPressureSet () const |
| Print meshsets with pressure boundary conditions. | |
| MoFEMErrorCode | MoFEM::MeshsetsManager::printForceSet () const |
| Print meshsets with force boundary conditions. | |
| MoFEMErrorCode | MoFEM::MeshsetsManager::printTemperatureSet () const |
| Print meshsets with temperature boundary conditions. | |
| MoFEMErrorCode | MoFEM::MeshsetsManager::printHeatFluxSet () const |
| Print meshsets with heat flux boundary conditions. | |
| MoFEMErrorCode | MoFEM::MeshsetsManager::printMaterialsSet () const |
| Print meshsets with material properties. | |
| CubitMeshSet_multiIndex::iterator | MoFEM::MeshsetsManager::getBegin () const |
| get begin iterator of cubit meshset of given type (instead you can use IT_CUBITMESHSETS_TYPE_FOR_LOOP(MFIELD,CUBITBCTYPE,IT) | |
| CubitMeshSet_multiIndex::iterator | MoFEM::MeshsetsManager::getEnd () const |
| get begin iterator of cubit meshset of given type (instead you can use IT_CUBITMESHSETS_TYPE_FOR_LOOP(MFIELD,CUBITBCTYPE,IT) | |
| CubitMeshsetByType::iterator | MoFEM::MeshsetsManager::getBegin (const unsigned int cubit_bc_type) const |
| get begin iterator of cubit meshset of given type (instead you can use IT_CUBITMESHSETS_BY_BCDATA_TYPE_FOR_LOOP(MFIELD,CUBITBCTYPE,IT) | |
| CubitMeshsetByType::iterator | MoFEM::MeshsetsManager::getEnd (const unsigned int cubit_bc_type) const |
| get begin iterator of cubit meshset of given type (instead you can use IT_CUBITMESHSETS_BY_BCDATA_TYPE_FOR_LOOP(MFIELD,CUBITBCTYPE,IT) | |
| 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) | |
| CubitMeshsetByMask::iterator | MoFEM::MeshsetsManager::getBySetTypeEnd (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) | |
| CubitMeshsetByName::iterator | MoFEM::MeshsetsManager::getBegin (const std::string &name) const |
| get begin iterator of cubit meshset of given type (instead you can use IT_CUBITMESHSETS_BY_SET_TYPE_FOR_LOOP(MFIELD,CUBITBCTYPE,IT) | |
| CubitMeshsetByName::iterator | MoFEM::MeshsetsManager::getEnd (const std::string &name) const |
| get begin iterator of cubit meshset of given type (instead you can use IT_CUBITMESHSETS_BY_SET_TYPE_FOR_LOOP(MFIELD,CUBITBCTYPE,IT) | |
| bool | MoFEM::MeshsetsManager::checkMeshset (const int ms_id, const CubitBCType cubit_bc_type) const |
| Check for CUBIT meshset by ID and type. | |
| bool | MoFEM::MeshsetsManager::checkMeshset (const string name, int *const number_of_meshsets_ptr=NULL) const |
| Check if meshset with given name exists. | |
| MoFEMErrorCode | MoFEM::MeshsetsManager::addMeshset (const CubitBCType cubit_bc_type, const int ms_id, const std::string name="") |
| Add CUBIT meshset to manager. | |
| MoFEMErrorCode | MoFEM::MeshsetsManager::addEntitiesToMeshset (const CubitBCType cubit_bc_type, const int ms_id, const Range &ents) |
| Add entities to CUBIT meshset. | |
| MoFEMErrorCode | MoFEM::MeshsetsManager::addEntitiesToMeshset (const CubitBCType cubit_bc_type, const int ms_id, const EntityHandle *ents, const int nb_ents) |
| Add entities to CUBIT meshset (array version) | |
| MoFEMErrorCode | MoFEM::MeshsetsManager::setAttributes (const CubitBCType cubit_bc_type, const int ms_id, const std::vector< double > &attributes, const std::string name="") |
| Set attributes for CUBIT meshset. | |
| MoFEMErrorCode | MoFEM::MeshsetsManager::setAttributesByDataStructure (const CubitBCType cubit_bc_type, const int ms_id, const GenericAttributeData &data, const std::string name="") |
| Set attributes using data structure. | |
| MoFEMErrorCode | MoFEM::MeshsetsManager::setBcData (const CubitBCType cubit_bc_type, const int ms_id, const GenericCubitBcData &data) |
| Set boundary condition data for meshset. | |
| MoFEMErrorCode | MoFEM::MeshsetsManager::getCubitMeshsetPtr (const int ms_id, const CubitBCType cubit_bc_type, const CubitMeshSets **cubit_meshset_ptr) const |
| get cubit meshset | |
| const CubitMeshSets * | MoFEM::MeshsetsManager::getCubitMeshsetPtr (const int ms_id, const CubitBCType cubit_bc_type) const |
| get cubit meshset | |
| MoFEMErrorCode | MoFEM::MeshsetsManager::getCubitMeshsetPtr (const CubitBCType cubit_bc_type, std::vector< const CubitMeshSets * > &vec_ptr) const |
| Get vector of pointer by bc type. | |
| std::vector< const CubitMeshSets * > | MoFEM::MeshsetsManager::getCubitMeshsetPtr (const CubitBCType cubit_bc_type) const |
| Get vector of pointer by bc type. | |
| MoFEMErrorCode | MoFEM::MeshsetsManager::getCubitMeshsetPtr (const string name, const CubitMeshSets **cubit_meshset_ptr) const |
| get cubit meshset | |
| MoFEMErrorCode | MoFEM::MeshsetsManager::getCubitMeshsetPtr (const std::regex reg_exp_name, std::vector< const CubitMeshSets * > &vec_ptr) const |
| Get vector of pointer to blocksets with name satisfying regular expression. | |
| std::vector< const CubitMeshSets * > | MoFEM::MeshsetsManager::getCubitMeshsetPtr (const std::regex reg_exp_name) const |
| Get vector of pointer to blocksets with name satisfying regular expression. | |
| 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 | |
| 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, | |
| 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 | |
| MoFEMErrorCode | MoFEM::MeshsetsManager::getMeshsetsByType (const unsigned int cubit_bc_type, Range &meshsets) const |
| get all CUBIT meshsets by CUBIT type | |
| MoFEMErrorCode | MoFEM::MeshsetsManager::setMeshsetFromFile () |
| Load meshset configuration from command line specified file. | |
Interface for meshsets with entities with data and boundary conditions.
| #define _IT_CUBITMESHSETS_BY_BCDATA_TYPE_FOR_LOOP_ | ( | MESHSET_MANAGER, | |
| CUBITBCTYPE, | |||
| IT | |||
| ) |
#include <src/interfaces/MeshsetsManager.hpp>
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 72 of file MeshsetsManager.hpp.
| #define _IT_CUBITMESHSETS_BY_NAME_FOR_LOOP_ | ( | MESHSET_MANAGER, | |
| NAME, | |||
| IT | |||
| ) |
#include <src/interfaces/MeshsetsManager.hpp>
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 117 of file MeshsetsManager.hpp.
| #define _IT_CUBITMESHSETS_BY_SET_TYPE_FOR_LOOP_ | ( | MESHSET_MANAGER, | |
| CUBITBCTYPE, | |||
| IT | |||
| ) |
#include <src/interfaces/MeshsetsManager.hpp>
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 |
Definition at line 94 of file MeshsetsManager.hpp.
| #define _IT_CUBITMESHSETS_FOR_LOOP_ | ( | MESHSET_MANAGER, | |
| IT | |||
| ) |
#include <src/interfaces/MeshsetsManager.hpp>
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 57 of file MeshsetsManager.hpp.
| MoFEMErrorCode MoFEM::MeshsetsManager::addEntitiesToMeshset | ( | const CubitBCType | cubit_bc_type, |
| const int | ms_id, | ||
| const EntityHandle * | ents, | ||
| const int | nb_ents | ||
| ) |
#include <src/interfaces/MeshsetsManager.hpp>
Add entities to CUBIT meshset (array version)
Adds an array of mesh entities to an existing meshset. This version accepts entities as a C-style array with explicit count.
| cubit_bc_type | type of meshset (NODESET, SIDESET, BLOCKSET, etc.) |
| ms_id | CUBIT ID of the target meshset |
| ents | pointer to array of entity handles |
| nb_ents | number of entities in the array |
Definition at line 449 of file MeshsetsManager.cpp.
| MoFEMErrorCode MoFEM::MeshsetsManager::addEntitiesToMeshset | ( | const CubitBCType | cubit_bc_type, |
| const int | ms_id, | ||
| const Range & | ents | ||
| ) |
#include <src/interfaces/MeshsetsManager.hpp>
Add entities to CUBIT meshset.
Adds a range of mesh entities to an existing meshset. The entities become part of the meshset for subsequent operations like applying boundary conditions or material properties.
| cubit_bc_type | type of meshset (NODESET, SIDESET, BLOCKSET, etc.) |
| ms_id | CUBIT ID of the target meshset |
| ents | range of entities to add to the meshset |
Definition at line 429 of file MeshsetsManager.cpp.
| MoFEMErrorCode MoFEM::MeshsetsManager::addMeshset | ( | const CubitBCType | cubit_bc_type, |
| const int | ms_id, | ||
| const std::string | name = "" |
||
| ) |
#include <src/interfaces/MeshsetsManager.hpp>
Add CUBIT meshset to manager.
Creates a new meshset entry in the manager's database with the specified CUBIT type and ID. The meshset can be given an optional name for easier identification and access.
| cubit_bc_type | type of meshset (NODESET, SIDESET, BLOCKSET, etc.) |
| ms_id | CUBIT ID for the meshset |
| name | optional name for the meshset (empty string if not specified) |
Definition at line 396 of file MeshsetsManager.cpp.
| MoFEMErrorCode MoFEM::MeshsetsManager::broadcastMeshsets | ( | int | verb = DEFAULT_VERBOSITY | ) |
#include <src/interfaces/MeshsetsManager.hpp>
Broadcast meshsets across MPI processes.
Synchronizes meshset information across all MPI processes to ensure consistent meshset data in parallel computations. Typically called after meshset modifications on specific processes.
| verb | verbosity level for output |
Definition at line 129 of file MeshsetsManager.cpp.
| bool MoFEM::MeshsetsManager::checkMeshset | ( | const int | ms_id, |
| const CubitBCType | cubit_bc_type | ||
| ) | const |
#include <src/interfaces/MeshsetsManager.hpp>
Check for CUBIT meshset by ID and type.
Verifies if a meshset with the specified CUBIT ID and type exists in the manager's database. Useful for validation before accessing meshset properties or entities.
| ms_id | CUBIT ID of the meshset (BLOCKSET/SIDESET/NODESET) |
| cubit_bc_type | type of meshset (NODESET, SIDESET, BLOCKSET, etc.) |
Definition at line 371 of file MeshsetsManager.cpp.
| bool MoFEM::MeshsetsManager::checkMeshset | ( | const string | name, |
| int *const | number_of_meshsets_ptr = NULL |
||
| ) | const |
#include <src/interfaces/MeshsetsManager.hpp>
Check if meshset with given name exists.
Searches for meshsets by name and optionally returns the count of matching meshsets. Multiple meshsets can have the same name.
| name | name of the meshset to search for |
| number_of_meshsets_ptr | optional pointer to store count of matching meshsets |
Definition at line 383 of file MeshsetsManager.cpp.
| MoFEMErrorCode MoFEM::MeshsetsManager::clearMap | ( | ) |
#include <src/interfaces/MeshsetsManager.hpp>
Clear the multi-index container.
Removes all stored meshset data from the internal container. Useful for reinitialization or memory cleanup.
Definition at line 59 of file MeshsetsManager.cpp.
|
inline |
#include <src/interfaces/MeshsetsManager.hpp>
get begin iterator of cubit meshset 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 435 of file MeshsetsManager.hpp.
|
inline |
#include <src/interfaces/MeshsetsManager.hpp>
get begin iterator of cubit meshset 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 543 of file MeshsetsManager.hpp.
|
inline |
#include <src/interfaces/MeshsetsManager.hpp>
get begin 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|DISPLACEMENTSET,it) { ... }
| type | of meshset (NODESET, SIDESET or BLOCKSET and more) |
Definition at line 468 of file MeshsetsManager.hpp.
|
inline |
#include <src/interfaces/MeshsetsManager.hpp>
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 506 of file MeshsetsManager.hpp.
|
inline |
#include <src/interfaces/MeshsetsManager.hpp>
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 524 of file MeshsetsManager.hpp.
| std::vector< const CubitMeshSets * > MoFEM::MeshsetsManager::getCubitMeshsetPtr | ( | const CubitBCType | cubit_bc_type | ) | const |
#include <src/interfaces/MeshsetsManager.hpp>
Get vector of pointer by bc type.
Definition at line 649 of file MeshsetsManager.cpp.
| MoFEMErrorCode MoFEM::MeshsetsManager::getCubitMeshsetPtr | ( | const CubitBCType | cubit_bc_type, |
| std::vector< const CubitMeshSets * > & | vec_ptr | ||
| ) | const |
#include <src/interfaces/MeshsetsManager.hpp>
Get vector of pointer by bc type.
| std::vector<const | CubitMeshSets *> |
Definition at line 635 of file MeshsetsManager.cpp.
| const CubitMeshSets * MoFEM::MeshsetsManager::getCubitMeshsetPtr | ( | const int | ms_id, |
| const CubitBCType | cubit_bc_type | ||
| ) | const |
#include <src/interfaces/MeshsetsManager.hpp>
get cubit meshset
Definition at line 608 of file MeshsetsManager.cpp.
| MoFEMErrorCode MoFEM::MeshsetsManager::getCubitMeshsetPtr | ( | const int | ms_id, |
| const CubitBCType | cubit_bc_type, | ||
| const CubitMeshSets ** | cubit_meshset_ptr | ||
| ) | const |
#include <src/interfaces/MeshsetsManager.hpp>
get cubit meshset
Definition at line 589 of file MeshsetsManager.cpp.
| std::vector< const CubitMeshSets * > MoFEM::MeshsetsManager::getCubitMeshsetPtr | ( | const std::regex | reg_exp_name | ) | const |
#include <src/interfaces/MeshsetsManager.hpp>
Get vector of pointer to blocksets with name satisfying regular expression.
| reg_exp_name |
Definition at line 673 of file MeshsetsManager.cpp.
| MoFEMErrorCode MoFEM::MeshsetsManager::getCubitMeshsetPtr | ( | const std::regex | reg_exp_name, |
| std::vector< const CubitMeshSets * > & | vec_ptr | ||
| ) | const |
#include <src/interfaces/MeshsetsManager.hpp>
Get vector of pointer to blocksets with name satisfying regular expression.
| reg_exp_name | |
| std::vector<const | CubitMeshSets *> |
Definition at line 656 of file MeshsetsManager.cpp.
| MoFEMErrorCode MoFEM::MeshsetsManager::getCubitMeshsetPtr | ( | const string | name, |
| const CubitMeshSets ** | cubit_meshset_ptr | ||
| ) | const |
#include <src/interfaces/MeshsetsManager.hpp>
get cubit meshset
Definition at line 617 of file MeshsetsManager.cpp.
|
inline |
#include <src/interfaces/MeshsetsManager.hpp>
get begin iterator of cubit meshset 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 449 of file MeshsetsManager.hpp.
|
inline |
#include <src/interfaces/MeshsetsManager.hpp>
get begin iterator of cubit meshset 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 561 of file MeshsetsManager.hpp.
|
inline |
#include <src/interfaces/MeshsetsManager.hpp>
get begin 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|DISPLACEMENTSET,it) { ... }
| type | of meshset (NODESET, SIDESET or BLOCKSET and more) |
Definition at line 488 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 |
#include <src/interfaces/MeshsetsManager.hpp>
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 680 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 |
#include <src/interfaces/MeshsetsManager.hpp>
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 700 of file MeshsetsManager.cpp.
| MoFEMErrorCode MoFEM::MeshsetsManager::getMeshset | ( | const int | ms_id, |
| const unsigned int | cubit_bc_type, | ||
| EntityHandle & | meshset | ||
| ) | const |
#include <src/interfaces/MeshsetsManager.hpp>
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 719 of file MeshsetsManager.cpp.
| MoFEMErrorCode MoFEM::MeshsetsManager::getMeshsetsByType | ( | const unsigned int | cubit_bc_type, |
| Range & | meshsets | ||
| ) | const |
#include <src/interfaces/MeshsetsManager.hpp>
get all CUBIT meshsets by CUBIT type
| see | CubitBC (NODESET, SIDESET or BLOCKSET and more). |
| meshsets | is range of meshsets |
Definition at line 753 of file MeshsetsManager.cpp.
| MoFEMErrorCode MoFEM::MeshsetsManager::getTags | ( | int | verb = -1 | ) |
#include <src/interfaces/MeshsetsManager.hpp>
Get tag handles used on meshsets.
Retrieves MOAB tag handles for meshset identification and data storage. These tags follow CUBIT/MOAB conventions for nodesets, sidesets, and blocksets. The function initializes internal tag handles for subsequent meshset operations.
| verb | verbosity level for output (-1 = default, higher values = more verbose) |
Definition at line 247 of file MeshsetsManager.cpp.
|
static |
#include <src/interfaces/MeshsetsManager.hpp>
Static version of getTags for external MOAB interface.
| moab | reference to MOAB interface |
| nsTag | reference to store nodeset tag handle |
| ssTag | reference to store sideset tag handle |
| nsTag_data | reference to store nodeset data tag handle |
| ssTag_data | reference to store sideset data tag handle |
| bhTag | reference to store blockset tag handle |
| bhTag_header | reference to store blockset header tag handle |
| verb | verbosity level for output |
Definition at line 256 of file MeshsetsManager.cpp.
| MoFEMErrorCode MoFEM::MeshsetsManager::initialiseDatabaseFromMesh | ( | int | verb = DEFAULT_VERBOSITY | ) |
#include <src/interfaces/MeshsetsManager.hpp>
Initialize container from mesh data.
Reads meshset information from the mesh database and populates the internal multi-index container. This includes discovering nodesets, sidesets, and blocksets with their associated tags and data.
| verb | verbosity level for output |
Definition at line 65 of file MeshsetsManager.cpp.
| MoFEMErrorCode MoFEM::MeshsetsManager::printDisplacementSet | ( | ) | const |
#include <src/interfaces/MeshsetsManager.hpp>
Print meshsets with displacement boundary conditions.
Outputs information about all meshsets containing displacement boundary condition data, including constraint flags and prescribed values.
Definition at line 301 of file MeshsetsManager.cpp.
| MoFEMErrorCode MoFEM::MeshsetsManager::printForceSet | ( | ) | const |
#include <src/interfaces/MeshsetsManager.hpp>
Print meshsets with force boundary conditions.
Outputs information about all meshsets containing force boundary condition data, including force and moment components.
Definition at line 315 of file MeshsetsManager.cpp.
| MoFEMErrorCode MoFEM::MeshsetsManager::printHeatFluxSet | ( | ) | const |
#include <src/interfaces/MeshsetsManager.hpp>
Print meshsets with heat flux boundary conditions.
Outputs information about all meshsets containing heat flux boundary condition data, including flux magnitudes and directions.
Definition at line 329 of file MeshsetsManager.cpp.
| MoFEMErrorCode MoFEM::MeshsetsManager::printMaterialsSet | ( | ) | const |
#include <src/interfaces/MeshsetsManager.hpp>
Print meshsets with material properties.
Outputs information about all meshsets containing material data, including material parameters and constitutive model information.
Definition at line 336 of file MeshsetsManager.cpp.
| MoFEMErrorCode MoFEM::MeshsetsManager::printPressureSet | ( | ) | const |
#include <src/interfaces/MeshsetsManager.hpp>
Print meshsets with pressure boundary conditions.
Outputs information about all meshsets containing pressure boundary condition data, including pressure magnitudes and application flags.
Definition at line 308 of file MeshsetsManager.cpp.
| MoFEMErrorCode MoFEM::MeshsetsManager::printTemperatureSet | ( | ) | const |
#include <src/interfaces/MeshsetsManager.hpp>
Print meshsets with temperature boundary conditions.
Outputs information about all meshsets containing temperature boundary condition data, including prescribed temperature values.
Definition at line 322 of file MeshsetsManager.cpp.
| MoFEMErrorCode MoFEM::MeshsetsManager::readMeshsets | ( | int | verb = DEFAULT_VERBOSITY | ) |
#include <src/interfaces/MeshsetsManager.hpp>
Read meshsets from mesh database.
Scans the mesh for existing meshsets and populates the manager's internal data structures. This is typically called after mesh loading to discover all available nodesets, sidesets, and blocksets.
| verb | verbosity level for output |
Definition at line 92 of file MeshsetsManager.cpp.
| MoFEMErrorCode MoFEM::MeshsetsManager::setAttributes | ( | const CubitBCType | cubit_bc_type, |
| const int | ms_id, | ||
| const std::vector< double > & | attributes, | ||
| const std::string | name = "" |
||
| ) |
#include <src/interfaces/MeshsetsManager.hpp>
Set attributes for CUBIT meshset.
Assigns attribute values to a meshset. Attributes are typically used for material properties or other numerical parameters associated with the meshset entities.
| cubit_bc_type | type of meshset (BLOCKSET, NODESET, SIDESET, etc.) |
| ms_id | CUBIT ID of the target meshset |
| attributes | vector of attribute values to assign |
| name | optional name to assign to the meshset |
Definition at line 470 of file MeshsetsManager.cpp.
| MoFEMErrorCode MoFEM::MeshsetsManager::setAttributesByDataStructure | ( | const CubitBCType | cubit_bc_type, |
| const int | ms_id, | ||
| const GenericAttributeData & | data, | ||
| const std::string | name = "" |
||
| ) |
#include <src/interfaces/MeshsetsManager.hpp>
Set attributes using data structure.
Assigns material or other attributes to a meshset using a structured data object. This provides a more organized way to handle complex attribute data with proper typing and validation.
| cubit_bc_type | type of meshset (BLOCKSET, NODESET, SIDESET, etc.) |
| ms_id | CUBIT ID of the target meshset |
| data | structured data containing attribute information |
| name | optional name to assign to the meshset |
Definition at line 510 of file MeshsetsManager.cpp.
| MoFEMErrorCode MoFEM::MeshsetsManager::setBcData | ( | const CubitBCType | cubit_bc_type, |
| const int | ms_id, | ||
| const GenericCubitBcData & | data | ||
| ) |
#include <src/interfaces/MeshsetsManager.hpp>
Set boundary condition data for meshset.
Assigns boundary condition data to a meshset. This includes constraint information, prescribed values, and application flags for various boundary condition types (displacement, force, pressure, etc.).
| cubit_bc_type | type of meshset (BLOCKSET, NODESET, SIDESET, etc.) |
| ms_id | CUBIT ID of the target meshset |
| data | boundary condition data structure |
Definition at line 541 of file MeshsetsManager.cpp.
| MoFEMErrorCode MoFEM::MeshsetsManager::setMeshsetFromFile | ( | ) |
#include <src/interfaces/MeshsetsManager.hpp>
Load meshset configuration from command line specified file.
Reads the configuration file name from the command line option '-meshsets_config' and loads meshset definitions from that file. This provides a convenient way to specify meshset configurations at runtime without hardcoding file paths.
Command line usage: -meshsets_config filename.cfg
Definition at line 1386 of file MeshsetsManager.cpp.