|
Mundy: Multibody Nonlocal Dynamics Version of the Day
|
#include <LinkCSRPartition.hpp>
Public Types | |
Aliases | |
| using | memory_space = MemSpace |
| using | execution_space = typename MemSpace::execution_space |
| using | LinkCSRBucketConn = LinkCSRBucketConnT<MemSpace> |
| using | LinkCSRBucketConnView = Kokkos::View<LinkCSRBucketConn*, stk::ngp::UVMMemSpace> |
| using | ConnectedEntities = stk::util::StridedArray<const stk::mesh::Entity> |
Public Member Functions | |
Public constructors and destructor | |
| LinkCSRPartitionT () | |
| LinkCSRPartitionT (const stk::mesh::Ordinal &partition_id, const impl::PartitionKey key, const stk::mesh::EntityRank &link_rank, const unsigned link_dimensionality, const stk::mesh::BulkData &bulk_data) | |
| LinkCSRPartitionT (const LinkCSRPartitionT &other)=default | |
| LinkCSRPartitionT (LinkCSRPartitionT &&other)=default | |
| LinkCSRPartitionT & | operator= (const LinkCSRPartitionT &other)=default |
| LinkCSRPartitionT & | operator= (LinkCSRPartitionT &&other)=default |
| virtual | ~LinkCSRPartitionT () |
Getters | |
| const impl::NgpPartitionKey & | ngp_key () const noexcept |
| Fetch the partition key. | |
| stk::mesh::Ordinal | id () const noexcept |
| Fetch the partition id. | |
| stk::mesh::EntityRank | link_rank () const noexcept |
| Fetch the link rank. | |
| unsigned | link_dimensionality () const noexcept |
| Fetch the link dimensionality. | |
| stk::mesh::Selector | selector () const |
| Fetch the selector for this partition. | |
| bool | contains (stk::mesh::PartOrdinal part_ordinal) const |
| Check if this partition contains a given part. | |
CSR connectivity | |
| bool | connects_to (stk::mesh::EntityRank rank, const size_t &bucket_id) const |
| If any of our linkers connect to an entity in the given bucket within the CSR connectivity. | |
| size_t | num_buckets (stk::mesh::EntityRank rank) const |
| Get the number of linked buckets for a given rank. | |
| LinkCSRBucketConn & | get_crs_bucket_conn (stk::mesh::EntityRank rank, size_t bucket_id) |
| Get the linked bucket for a given rank and bucket id. | |
| const LinkCSRBucketConn & | get_crs_bucket_conn (stk::mesh::EntityRank rank, size_t bucket_id) const |
| ConnectedEntities | get_connected_links (stk::mesh::EntityRank rank, const stk::mesh::FastMeshIndex &entity_index) const |
| Get all links in the current partition that connect to the given entity in the CSR connectivity. | |
| unsigned | num_connected_links (stk::mesh::EntityRank rank, const stk::mesh::FastMeshIndex &entity_index) const |
| Get the number of links in the current partition that connect to the given entity in the CSR connectivity. | |
Helpers | |
| template<typename MemSpace1, typename MemSpace2> | |
| void | deep_copy (LinkCSRPartitionT< MemSpace1 > &dest, const LinkCSRPartitionT< MemSpace2 > &src) |
| using mundy::mesh::LinkCSRPartitionT< MemSpace >::memory_space = MemSpace |
| using mundy::mesh::LinkCSRPartitionT< MemSpace >::execution_space = typename MemSpace::execution_space |
| using mundy::mesh::LinkCSRPartitionT< MemSpace >::LinkCSRBucketConn = LinkCSRBucketConnT<MemSpace> |
| using mundy::mesh::LinkCSRPartitionT< MemSpace >::LinkCSRBucketConnView = Kokkos::View<LinkCSRBucketConn*, stk::ngp::UVMMemSpace> |
| using mundy::mesh::LinkCSRPartitionT< MemSpace >::ConnectedEntities = stk::util::StridedArray<const stk::mesh::Entity> |
|
inline |
|
inline |
|
default |
|
default |
|
inlinevirtual |
|
default |
|
default |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
friend |