![]() |
v0.16.0 |
Go to the source code of this file.
Classes | |
| struct | ParsedMeshsetEntry |
Typedefs | |
| using | BlocksetParamKey = std::pair< std::string, int > |
| using | BlocksetParams = std::map< std::string, double > |
| using | BlocksetParamsByKey = std::map< BlocksetParamKey, BlocksetParams > |
Functions | |
| int | centerAttributeSlot (const std::string &lower_key, const int first_slot) |
| int | positionalBlockAttributeSlot (const std::string &lower_type, const std::string &lower_key) |
| int | parseGenericBlockUserIndex (const std::string &lower_key) |
| double | requireBlockAttributeValue (const JsonValue &value, const std::string &file_name, const std::string &context) |
| MoFEMErrorCode | applyBlockAttributes (MeshsetsManager &meshsets_manager, int id, const JsonObject &props, const std::string &file_name, const std::string &context, const std::string &type_name, const std::string &blockset_name) |
| std::string | meshsetContext (const std::string &mesh_context, const size_t meshset_index) |
| std::string | meshsetAttributesContext (const ParsedMeshsetEntry &entry) |
| std::string | appliedBlocksetName (const ParsedMeshsetEntry &entry) |
| MoFEMErrorCode | getUniqueBlocksetByName (MeshsetsManager &meshsets_manager, const std::string &meshset_name, const std::string &file_name, const std::string &context, const CubitMeshSets **blockset_ptr) |
| MoFEMErrorCode | getBlocksetById (MeshsetsManager &meshsets_manager, const int meshset_id, const std::string &file_name, const std::string &context, const CubitMeshSets **blockset_ptr) |
| MoFEMErrorCode | resolveMeshsetIdAndName (MeshsetsManager &meshsets_manager, const bool has_meshset_id, const int requested_meshset_id, const std::string &lookup_meshset_name, const std::string &file_name, const std::string &context, int &meshset_id, std::string &meshset_name) |
| MoFEMErrorCode | parseMeshsetEntry (const JsonObject &meshset_object, const std::string &file_name, const std::string &context, MeshsetsManager *meshsets_manager_ptr, ParsedMeshsetEntry &entry) |
| MoFEMErrorCode | parseMeshsets (const JsonArray &meshsets, const std::string &mesh_context, const std::string &file_name, MeshsetsManager *meshsets_manager_ptr, std::vector< ParsedMeshsetEntry > &parsed_meshsets) |
| MoFEMErrorCode | validateMeshsets (const JsonArray &meshsets, const std::string &mesh_context, const std::string &file_name) |
| BlocksetParams | getBlocksetParams (const ParsedMeshsetEntry &entry, const std::string &file_name) |
| BlocksetParamKey | getBlocksetParamKey (const ParsedMeshsetEntry &entry, const int meshset_id) |
| MoFEMErrorCode | cacheResolvedBlocksetParams (const std::vector< ParsedMeshsetEntry > &parsed_meshsets, const std::string &file_name, BlocksetParamsByKey ¶ms_by_key, std::set< int > &used_blockset_ids) |
| MoFEMErrorCode | cacheAppliedBlocksetParams (const std::vector< ParsedMeshsetEntry > &parsed_meshsets, const std::string &file_name, BlocksetParamsByKey ¶ms_by_key) |
| int | firstGeneratedBlocksetId (MeshsetsManager &meshsets_manager) |
| int | takeNextFreeBlocksetId (MeshsetsManager &meshsets_manager, int &next_id) |
| MoFEMErrorCode | createBlocksetCopy (MeshsetsManager &meshsets_manager, const int source_id, const int new_id, const std::string &name) |
| MoFEMErrorCode | applyParsedMeshsets (MeshsetsManager &meshsets_manager, std::vector< ParsedMeshsetEntry > &parsed_meshsets, const std::string &file_name) |
| using BlocksetParamKey = std::pair<std::string, int> |
Definition at line 166 of file JsonConfigManagerMeshsets.cpp.
| using BlocksetParams = std::map<std::string, double> |
Definition at line 167 of file JsonConfigManagerMeshsets.cpp.
| using BlocksetParamsByKey = std::map<BlocksetParamKey, BlocksetParams> |
Definition at line 168 of file JsonConfigManagerMeshsets.cpp.
| std::string appliedBlocksetName | ( | const ParsedMeshsetEntry & | entry | ) |
Definition at line 174 of file JsonConfigManagerMeshsets.cpp.
| MoFEMErrorCode applyBlockAttributes | ( | MeshsetsManager & | meshsets_manager, |
| int | id, | ||
| const JsonObject & | props, | ||
| const std::string & | file_name, | ||
| const std::string & | context, | ||
| const std::string & | type_name, | ||
| const std::string & | blockset_name | ||
| ) |
Definition at line 87 of file JsonConfigManagerMeshsets.cpp.
| MoFEMErrorCode applyParsedMeshsets | ( | MeshsetsManager & | meshsets_manager, |
| std::vector< ParsedMeshsetEntry > & | parsed_meshsets, | ||
| const std::string & | file_name | ||
| ) |
Definition at line 454 of file JsonConfigManagerMeshsets.cpp.
| MoFEMErrorCode cacheAppliedBlocksetParams | ( | const std::vector< ParsedMeshsetEntry > & | parsed_meshsets, |
| const std::string & | file_name, | ||
| BlocksetParamsByKey & | params_by_key | ||
| ) |
Definition at line 403 of file JsonConfigManagerMeshsets.cpp.
| MoFEMErrorCode cacheResolvedBlocksetParams | ( | const std::vector< ParsedMeshsetEntry > & | parsed_meshsets, |
| const std::string & | file_name, | ||
| BlocksetParamsByKey & | params_by_key, | ||
| std::set< int > & | used_blockset_ids | ||
| ) |
Definition at line 378 of file JsonConfigManagerMeshsets.cpp.
| int centerAttributeSlot | ( | const std::string & | lower_key, |
| const int | first_slot | ||
| ) |
Definition at line 1 of file JsonConfigManagerMeshsets.cpp.
| MoFEMErrorCode createBlocksetCopy | ( | MeshsetsManager & | meshsets_manager, |
| const int | source_id, | ||
| const int | new_id, | ||
| const std::string & | name | ||
| ) |
Definition at line 434 of file JsonConfigManagerMeshsets.cpp.
| int firstGeneratedBlocksetId | ( | MeshsetsManager & | meshsets_manager | ) |
Definition at line 416 of file JsonConfigManagerMeshsets.cpp.
| MoFEMErrorCode getBlocksetById | ( | MeshsetsManager & | meshsets_manager, |
| const int | meshset_id, | ||
| const std::string & | file_name, | ||
| const std::string & | context, | ||
| const CubitMeshSets ** | blockset_ptr | ||
| ) |
Definition at line 219 of file JsonConfigManagerMeshsets.cpp.
| BlocksetParamKey getBlocksetParamKey | ( | const ParsedMeshsetEntry & | entry, |
| const int | meshset_id | ||
| ) |
Definition at line 373 of file JsonConfigManagerMeshsets.cpp.
| BlocksetParams getBlocksetParams | ( | const ParsedMeshsetEntry & | entry, |
| const std::string & | file_name | ||
| ) |
Definition at line 362 of file JsonConfigManagerMeshsets.cpp.
| MoFEMErrorCode getUniqueBlocksetByName | ( | MeshsetsManager & | meshsets_manager, |
| const std::string & | meshset_name, | ||
| const std::string & | file_name, | ||
| const std::string & | context, | ||
| const CubitMeshSets ** | blockset_ptr | ||
| ) |
Definition at line 186 of file JsonConfigManagerMeshsets.cpp.
| std::string meshsetAttributesContext | ( | const ParsedMeshsetEntry & | entry | ) |
Definition at line 170 of file JsonConfigManagerMeshsets.cpp.
| std::string meshsetContext | ( | const std::string & | mesh_context, |
| const size_t | meshset_index | ||
| ) |
Definition at line 150 of file JsonConfigManagerMeshsets.cpp.
| int parseGenericBlockUserIndex | ( | const std::string & | lower_key | ) |
Definition at line 66 of file JsonConfigManagerMeshsets.cpp.
| MoFEMErrorCode parseMeshsetEntry | ( | const JsonObject & | meshset_object, |
| const std::string & | file_name, | ||
| const std::string & | context, | ||
| MeshsetsManager * | meshsets_manager_ptr, | ||
| ParsedMeshsetEntry & | entry | ||
| ) |
Definition at line 268 of file JsonConfigManagerMeshsets.cpp.
| MoFEMErrorCode parseMeshsets | ( | const JsonArray & | meshsets, |
| const std::string & | mesh_context, | ||
| const std::string & | file_name, | ||
| MeshsetsManager * | meshsets_manager_ptr, | ||
| std::vector< ParsedMeshsetEntry > & | parsed_meshsets | ||
| ) |
Definition at line 328 of file JsonConfigManagerMeshsets.cpp.
| int positionalBlockAttributeSlot | ( | const std::string & | lower_type, |
| const std::string & | lower_key | ||
| ) |
Definition at line 11 of file JsonConfigManagerMeshsets.cpp.
| double requireBlockAttributeValue | ( | const JsonValue & | value, |
| const std::string & | file_name, | ||
| const std::string & | context | ||
| ) |
Definition at line 78 of file JsonConfigManagerMeshsets.cpp.
| MoFEMErrorCode resolveMeshsetIdAndName | ( | MeshsetsManager & | meshsets_manager, |
| const bool | has_meshset_id, | ||
| const int | requested_meshset_id, | ||
| const std::string & | lookup_meshset_name, | ||
| const std::string & | file_name, | ||
| const std::string & | context, | ||
| int & | meshset_id, | ||
| std::string & | meshset_name | ||
| ) |
Definition at line 235 of file JsonConfigManagerMeshsets.cpp.
| int takeNextFreeBlocksetId | ( | MeshsetsManager & | meshsets_manager, |
| int & | next_id | ||
| ) |
Definition at line 427 of file JsonConfigManagerMeshsets.cpp.
| MoFEMErrorCode validateMeshsets | ( | const JsonArray & | meshsets, |
| const std::string & | mesh_context, | ||
| const std::string & | file_name | ||
| ) |
Definition at line 352 of file JsonConfigManagerMeshsets.cpp.