|
Mundy: Multibody Nonlocal Dynamics Version of the Day
|
#include <LinkMetaData.hpp>
Public Types | |
Type aliases | |
| using | entity_rank_value_t = int |
| using | entity_id_value_t = stk::mesh::EntityId |
| using | entity_value_t = stk::mesh::Entity::entity_value_type |
| using | linked_entity_ids_field_t = stk::mesh::Field<entity_id_value_t> |
| using | linked_entity_ranks_field_t = stk::mesh::Field<entity_rank_value_t> |
| using | linked_entities_field_t = stk::mesh::Field<entity_value_t> |
Public Member Functions | |
Constructors and destructor | |
| LinkMetaData ()=delete | |
| No default constructor. | |
| LinkMetaData (stk::mesh::MetaData &meta_data, const std::string &our_name, stk::mesh::EntityRank link_rank) | |
| Construct and declare. | |
| LinkMetaData (const LinkMetaData &)=default | |
| Default copy/move constructors/operators. | |
| LinkMetaData (LinkMetaData &&)=default | |
| LinkMetaData & | operator= (const LinkMetaData &)=default |
| LinkMetaData & | operator= (LinkMetaData &&)=default |
| virtual | ~LinkMetaData ()=default |
| Destructor. | |
Getters | |
| const std::string & | name () const |
| Get the name of this link data. | |
| stk::mesh::EntityRank | link_rank () const |
| Fetch the link rank. | |
| const linked_entity_ids_field_t & | linked_entity_ids_field () const |
| Fetch the linked entity ids field. | |
| const linked_entity_ranks_field_t & | linked_entity_ranks_field () const |
| Fetch the linked entity ranks field. | |
| const Class & | universal_link_class () const |
| Fetch the universal link class. | |
| Class & | universal_link_class () |
| Fetch the universal link class. | |
| const stk::mesh::MetaData & | mesh_meta_data () const |
| Fetch the mesh meta data manager for this bulk data manager. | |
| stk::mesh::MetaData & | mesh_meta_data () |
| Fetch the mesh meta data manager for this bulk data manager. | |
Actions | |
| stk::mesh::Part & | declare_link_part (const std::string &part_name, unsigned link_dimensionality_for_this_part) |
| Declare a link-part (compatible with the current link data). | |
| Class & | declare_link_class (const std::string &class_name, unsigned link_dimensionality_for_this_class) |
| Declare a link class (compatible with the current link data). | |
| Class & | declare_link_class (const std::string &class_name, stk::topology::topology_t class_topology, unsigned link_dimensionality_for_this_class) |
| Declare a topological link class (compatible with the current link data). | |
| stk::mesh::Part & | declare_link_assembly_part (const std::string &part_name) |
| Declare a link assembly part (compatible with the current link data). | |
| void | add_link_support_to_part (stk::mesh::Part &part, unsigned link_dimensionality_for_this_part) |
| Make an existing part into a link-compatible part (compatible with the current link data). | |
| void | add_link_support_to_class (Class &link_class, unsigned link_dimensionality_for_this_class) |
| Make an existing class into a link-compatible class (compatible with the current link data). | |
| void | add_link_support_to_assembly_part (stk::mesh::Part &part) |
| Make an existing assembly part into a link-compatible part (compatible with the current link data). | |
Protected Types | |
Internal aliases | |
| using | link_crs_needs_updated_field_t = stk::mesh::Field<int> |
Protected Member Functions | |
Internal getters | |
| linked_entity_ids_field_t & | linked_entity_ids_field () noexcept |
| Fetch the linked entity ids field. | |
| linked_entity_ranks_field_t & | linked_entity_ranks_field () noexcept |
| Fetch the linked entity ranks field. | |
| const linked_entities_field_t & | linked_entities_field () const noexcept |
| Fetch the linked entities field. | |
| linked_entities_field_t & | linked_entities_field () noexcept |
| const linked_entities_field_t & | linked_entities_crs_field () const noexcept |
| Fetch the linked entities field (as last seen by the CSR). | |
| linked_entities_field_t & | linked_entities_crs_field () noexcept |
| const link_crs_needs_updated_field_t & | link_crs_needs_updated_field () const noexcept |
| Fetch the link crs needs updated field. | |
| link_crs_needs_updated_field_t & | link_crs_needs_updated_field () noexcept |
Friends | |
Friends <3 | |
| void | add_link_restart_fields (stk::io::StkMeshIoBroker &io_broker, size_t output_index, LinkMetaData &link_meta_data) |
Helper functions | |
| void | put_link_fields_on_part (stk::mesh::Part &part, unsigned link_dimensionality) |
| Add the linked entities and keys field to the part with the given dimensionality. | |
| void | put_link_fields_on_class (Class &link_class, unsigned link_dimensionality) |
| Add the linked entities and keys field to the class with the given dimensionality. | |
| static std::string | rank_to_string (stk::mesh::EntityRank rank) |
| Map the given rank to string. | |
| using mundy::mesh::LinkMetaData::entity_id_value_t = stk::mesh::EntityId |
| using mundy::mesh::LinkMetaData::entity_value_t = stk::mesh::Entity::entity_value_type |
| using mundy::mesh::LinkMetaData::linked_entity_ids_field_t = stk::mesh::Field<entity_id_value_t> |
| using mundy::mesh::LinkMetaData::linked_entity_ranks_field_t = stk::mesh::Field<entity_rank_value_t> |
| using mundy::mesh::LinkMetaData::linked_entities_field_t = stk::mesh::Field<entity_value_t> |
|
protected |
|
delete |
|
inline |
|
default |
|
default |
|
virtualdefault |
|
default |
|
default |
|
inline |
|
inline |
|
inline |
|
inline |
Same comment as linked_entity_ids_field. Treat this field as read-only.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
| part_name | [in] The name of the part. |
| link_dimensionality_for_this_part | [in] The number of linked entities per link. |
|
inline |
| class_name | [in] The name of the class. |
| link_dimensionality_for_this_class | [in] The number of linked entities per link. |
|
inline |
| class_name | [in] The name of the class. |
| class_topology | [in] The topology of the class. |
| link_dimensionality_for_this_class | [in] The number of linked entities per link. |
|
inline |
| part_name | [in] The name of the part. |
|
inline |
| part_name | [in] The name of the part. |
| link_dimensionality_for_this_part | [in] The number of linked entities per link. |
|
inline |
| link_class | [in] The class. |
| link_dimensionality_for_this_class | [in] The number of linked entities per link. |
|
inline |
| part_name | [in] The name of the part. |
|
inlineprotectednoexcept |
|
inlineprotectednoexcept |
|
inlineprotectednoexcept |
|
inlineprotectednoexcept |
|
inlineprotectednoexcept |
|
inlineprotectednoexcept |
|
inlineprotectednoexcept |
|
inlineprotectednoexcept |
|
inlinestaticprotected |
|
inlineprotected |
|
inlineprotected |
|
friend |