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

#include <SharedComponent.hpp>

Inheritance diagram for mundy::mesh::SharedQuaternionComponent< ScalarType >:
[legend]

Public Types

using shared_value_type = Quaternion<ScalarType>
using our_t = SharedQuaternionComponent<ScalarType>
using base_t = SharedComponent<shared_value_type>
using canonical_access = access::quaternion<ScalarType>
using view_t = typename base_t::view_t
using shared_type

Public Member Functions

 SharedQuaternionComponent ()=default
 SharedQuaternionComponent (shared_value_type shared_value)
template<typename HostViewType>
 SharedQuaternionComponent (HostViewType host_view)
 SharedQuaternionComponent (const SharedQuaternionComponent &)=default
 SharedQuaternionComponent (SharedQuaternionComponent &&)=default
SharedQuaternionComponentoperator= (const SharedQuaternionComponent &)=default
SharedQuaternionComponentoperator= (SharedQuaternionComponent &&)=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>
using mundy::mesh::SharedQuaternionComponent< ScalarType >::shared_value_type = Quaternion<ScalarType>

◆ our_t

template<typename ScalarType>
using mundy::mesh::SharedQuaternionComponent< ScalarType >::our_t = SharedQuaternionComponent<ScalarType>

◆ base_t

template<typename ScalarType>
using mundy::mesh::SharedQuaternionComponent< ScalarType >::base_t = SharedComponent<shared_value_type>

◆ canonical_access

template<typename ScalarType>
using mundy::mesh::SharedQuaternionComponent< ScalarType >::canonical_access = access::quaternion<ScalarType>

◆ view_t

template<typename ScalarType>
using mundy::mesh::SharedQuaternionComponent< ScalarType >::view_t = typename base_t::view_t

◆ shared_type

using mundy::mesh::SharedComponent< Quaternion< ScalarType > >::shared_type
inherited

Constructor & Destructor Documentation

◆ SharedQuaternionComponent() [1/5]

template<typename ScalarType>
mundy::mesh::SharedQuaternionComponent< ScalarType >::SharedQuaternionComponent ( )
default

◆ SharedQuaternionComponent() [2/5]

template<typename ScalarType>
mundy::mesh::SharedQuaternionComponent< ScalarType >::SharedQuaternionComponent ( shared_value_type shared_value)
inlineexplicit

◆ SharedQuaternionComponent() [3/5]

template<typename ScalarType>
template<typename HostViewType>
mundy::mesh::SharedQuaternionComponent< ScalarType >::SharedQuaternionComponent ( HostViewType host_view)
inlineexplicit

◆ SharedQuaternionComponent() [4/5]

template<typename ScalarType>
mundy::mesh::SharedQuaternionComponent< ScalarType >::SharedQuaternionComponent ( const SharedQuaternionComponent< ScalarType > & )
default

◆ SharedQuaternionComponent() [5/5]

template<typename ScalarType>
mundy::mesh::SharedQuaternionComponent< ScalarType >::SharedQuaternionComponent ( SharedQuaternionComponent< ScalarType > && )
default

Member Function Documentation

◆ operator=() [1/2]

template<typename ScalarType>
SharedQuaternionComponent & mundy::mesh::SharedQuaternionComponent< ScalarType >::operator= ( const SharedQuaternionComponent< ScalarType > & )
default

◆ operator=() [2/2]

template<typename ScalarType>
SharedQuaternionComponent & mundy::mesh::SharedQuaternionComponent< ScalarType >::operator= ( SharedQuaternionComponent< ScalarType > && )
default

◆ operator()()

decltype(auto) mundy::mesh::SharedComponent< Quaternion< ScalarType > >::operator() ( stk::mesh::Entity ) const
inlineinherited

◆ shared_value()

shared_type & mundy::mesh::SharedComponent< Quaternion< ScalarType > >::shared_value ( )
inlineinherited

◆ sync_to_device()

void mundy::mesh::SharedComponent< Quaternion< ScalarType > >::sync_to_device ( )
inlineinherited

◆ sync_to_host()

void mundy::mesh::SharedComponent< Quaternion< ScalarType > >::sync_to_host ( )
inlineinherited

◆ modify_on_device()

void mundy::mesh::SharedComponent< Quaternion< ScalarType > >::modify_on_device ( )
inlineinherited

◆ modify_on_host()

void mundy::mesh::SharedComponent< Quaternion< ScalarType > >::modify_on_host ( )
inlineinherited

◆ clear_host_sync_state()

void mundy::mesh::SharedComponent< Quaternion< ScalarType > >::clear_host_sync_state ( )
inlineinherited

◆ clear_device_sync_state()

void mundy::mesh::SharedComponent< Quaternion< ScalarType > >::clear_device_sync_state ( )
inlineinherited

◆ set_declaration_metadata()

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

◆ name()

const std::string & mundy::mesh::SharedComponent< Quaternion< ScalarType > >::name ( ) const
inlineinherited

◆ entity_rank()

stk::mesh::EntityRank mundy::mesh::SharedComponent< Quaternion< ScalarType > >::entity_rank ( ) const
inlineinherited