|
Mundy: Multibody Nonlocal Dynamics Version of the Day
|
A component that returns the same shared value for every entity. More...
#include <SharedComponent.hpp>
Public Types | |
| using | our_t = SharedComponent<SharedType> |
| using | canonical_access = access::raw<SharedType> |
| using | shared_type = SharedType |
| using | view_t = shared_type& |
Public Member Functions | |
| SharedComponent ()=default | |
| SharedComponent (shared_type shared_value) | |
| template<typename HostViewType> | |
| SharedComponent (HostViewType host_view) | |
| SharedComponent (const SharedComponent &)=default | |
| SharedComponent (SharedComponent &&)=default | |
| SharedComponent & | operator= (const SharedComponent &)=default |
| SharedComponent & | operator= (SharedComponent &&)=default |
| decltype(auto) | operator() (stk::mesh::Entity) const |
| shared_type & | shared_value () |
| const shared_type & | shared_value () const |
| void | sync_to_device () |
| void | sync_to_host () |
| void | modify_on_device () |
| void | modify_on_host () |
| void | clear_host_sync_state () |
| void | clear_device_sync_state () |
| void | set_declaration_metadata (std::string name, stk::mesh::EntityRank rank) |
| const std::string & | name () const |
| stk::mesh::EntityRank | entity_rank () const |
Friends | |
| template<typename NgpMemSpace, typename OtherSharedType> | |
| NgpSharedComponent< OtherSharedType, NgpMemSpace > & | get_updated_ngp_component (const SharedComponent< OtherSharedType > &component) |
Construct either from:
| using mundy::mesh::SharedComponent< SharedType >::our_t = SharedComponent<SharedType> |
| using mundy::mesh::SharedComponent< SharedType >::canonical_access = access::raw<SharedType> |
| using mundy::mesh::SharedComponent< SharedType >::shared_type = SharedType |
| using mundy::mesh::SharedComponent< SharedType >::view_t = shared_type& |
|
default |
|
inlineexplicit |
|
inlineexplicit |
|
default |
|
default |
|
default |
|
default |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
friend |