Mundy: Multibody Nonlocal Dynamics Version of the Day
Loading...
Searching...
No Matches
mundy::mesh::SharedMatrixComponent< ScalarType, N, M > Class Template Reference

#include <SharedComponent.hpp>

Inheritance diagram for mundy::mesh::SharedMatrixComponent< ScalarType, N, M >:
[legend]

Public Types

using shared_value_type = Matrix<ScalarType, N, M>
using our_t = SharedMatrixComponent<ScalarType, N, M>
using base_t = SharedComponent<shared_value_type>
using canonical_access = access::matrix<ScalarType, N, M>
using view_t = typename base_t::view_t
using shared_type

Public Member Functions

 SharedMatrixComponent ()=default
 SharedMatrixComponent (shared_value_type shared_value)
template<typename HostViewType>
 SharedMatrixComponent (HostViewType host_view)
 SharedMatrixComponent (const SharedMatrixComponent &)=default
 SharedMatrixComponent (SharedMatrixComponent &&)=default
SharedMatrixComponentoperator= (const SharedMatrixComponent &)=default
SharedMatrixComponentoperator= (SharedMatrixComponent &&)=default
decltype(auto) operator() (stk::mesh::Entity) const
shared_typeshared_value ()
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

Member Typedef Documentation

◆ shared_value_type

template<typename ScalarType, size_t N, size_t M>
using mundy::mesh::SharedMatrixComponent< ScalarType, N, M >::shared_value_type = Matrix<ScalarType, N, M>

◆ our_t

template<typename ScalarType, size_t N, size_t M>
using mundy::mesh::SharedMatrixComponent< ScalarType, N, M >::our_t = SharedMatrixComponent<ScalarType, N, M>

◆ base_t

template<typename ScalarType, size_t N, size_t M>
using mundy::mesh::SharedMatrixComponent< ScalarType, N, M >::base_t = SharedComponent<shared_value_type>

◆ canonical_access

template<typename ScalarType, size_t N, size_t M>
using mundy::mesh::SharedMatrixComponent< ScalarType, N, M >::canonical_access = access::matrix<ScalarType, N, M>

◆ view_t

template<typename ScalarType, size_t N, size_t M>
using mundy::mesh::SharedMatrixComponent< ScalarType, N, M >::view_t = typename base_t::view_t

◆ shared_type

using mundy::mesh::SharedComponent< Matrix< ScalarType, N, M > >::shared_type
inherited

Constructor & Destructor Documentation

◆ SharedMatrixComponent() [1/5]

template<typename ScalarType, size_t N, size_t M>
mundy::mesh::SharedMatrixComponent< ScalarType, N, M >::SharedMatrixComponent ( )
default

◆ SharedMatrixComponent() [2/5]

template<typename ScalarType, size_t N, size_t M>
mundy::mesh::SharedMatrixComponent< ScalarType, N, M >::SharedMatrixComponent ( shared_value_type shared_value)
inlineexplicit

◆ SharedMatrixComponent() [3/5]

template<typename ScalarType, size_t N, size_t M>
template<typename HostViewType>
mundy::mesh::SharedMatrixComponent< ScalarType, N, M >::SharedMatrixComponent ( HostViewType host_view)
inlineexplicit

◆ SharedMatrixComponent() [4/5]

template<typename ScalarType, size_t N, size_t M>
mundy::mesh::SharedMatrixComponent< ScalarType, N, M >::SharedMatrixComponent ( const SharedMatrixComponent< ScalarType, N, M > & )
default

◆ SharedMatrixComponent() [5/5]

template<typename ScalarType, size_t N, size_t M>
mundy::mesh::SharedMatrixComponent< ScalarType, N, M >::SharedMatrixComponent ( SharedMatrixComponent< ScalarType, N, M > && )
default

Member Function Documentation

◆ operator=() [1/2]

template<typename ScalarType, size_t N, size_t M>
SharedMatrixComponent & mundy::mesh::SharedMatrixComponent< ScalarType, N, M >::operator= ( const SharedMatrixComponent< ScalarType, N, M > & )
default

◆ operator=() [2/2]

template<typename ScalarType, size_t N, size_t M>
SharedMatrixComponent & mundy::mesh::SharedMatrixComponent< ScalarType, N, M >::operator= ( SharedMatrixComponent< ScalarType, N, M > && )
default

◆ operator()()

decltype(auto) mundy::mesh::SharedComponent< Matrix< ScalarType, N, M > >::operator() ( stk::mesh::Entity ) const
inlineinherited

◆ shared_value()

shared_type & mundy::mesh::SharedComponent< Matrix< ScalarType, N, M > >::shared_value ( )
inlineinherited

◆ sync_to_device()

void mundy::mesh::SharedComponent< Matrix< ScalarType, N, M > >::sync_to_device ( )
inlineinherited

◆ sync_to_host()

void mundy::mesh::SharedComponent< Matrix< ScalarType, N, M > >::sync_to_host ( )
inlineinherited

◆ modify_on_device()

void mundy::mesh::SharedComponent< Matrix< ScalarType, N, M > >::modify_on_device ( )
inlineinherited

◆ modify_on_host()

void mundy::mesh::SharedComponent< Matrix< ScalarType, N, M > >::modify_on_host ( )
inlineinherited

◆ clear_host_sync_state()

void mundy::mesh::SharedComponent< Matrix< ScalarType, N, M > >::clear_host_sync_state ( )
inlineinherited

◆ clear_device_sync_state()

void mundy::mesh::SharedComponent< Matrix< ScalarType, N, M > >::clear_device_sync_state ( )
inlineinherited

◆ set_declaration_metadata()

void mundy::mesh::SharedComponent< Matrix< ScalarType, N, M > >::set_declaration_metadata ( std::string name,
stk::mesh::EntityRank rank )
inlineinherited

◆ name()

const std::string & mundy::mesh::SharedComponent< Matrix< ScalarType, N, M > >::name ( ) const
inlineinherited

◆ entity_rank()

stk::mesh::EntityRank mundy::mesh::SharedComponent< Matrix< ScalarType, N, M > >::entity_rank ( ) const
inlineinherited