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

#include <FieldComponent.hpp>

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

Public Types

using base_t = impl::FieldComponent<ScalarType, impl::MatrixFieldAccessPolicy<N, M>>
using ngp_field_type = stk::mesh::NgpField<ScalarType>
using canonical_access = access::matrix<ScalarType, N, M>
using ngp_component_t = NgpMatrixFieldComponent<ngp_field_type, N, M>

Public Member Functions

 MatrixFieldComponent ()=default
 MatrixFieldComponent (stk::mesh::Field< ScalarType > &field)
 MatrixFieldComponent (const MatrixFieldComponent &)=default
 MatrixFieldComponent (MatrixFieldComponent &&)=default
MatrixFieldComponentoperator= (const MatrixFieldComponent &)=default
MatrixFieldComponentoperator= (MatrixFieldComponent &&)=default
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 ()
const stk::mesh::FieldBase & field_base () const

Member Typedef Documentation

◆ base_t

template<typename ScalarType, size_t N, size_t M>
using mundy::mesh::MatrixFieldComponent< ScalarType, N, M >::base_t = impl::FieldComponent<ScalarType, impl::MatrixFieldAccessPolicy<N, M>>

◆ ngp_field_type

template<typename ScalarType, size_t N, size_t M>
using mundy::mesh::MatrixFieldComponent< ScalarType, N, M >::ngp_field_type = stk::mesh::NgpField<ScalarType>

◆ canonical_access

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

◆ ngp_component_t

template<typename ScalarType, size_t N, size_t M>
using mundy::mesh::MatrixFieldComponent< ScalarType, N, M >::ngp_component_t = NgpMatrixFieldComponent<ngp_field_type, N, M>

Constructor & Destructor Documentation

◆ MatrixFieldComponent() [1/4]

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

◆ MatrixFieldComponent() [2/4]

template<typename ScalarType, size_t N, size_t M>
mundy::mesh::MatrixFieldComponent< ScalarType, N, M >::MatrixFieldComponent ( stk::mesh::Field< ScalarType > & field)
inlineexplicit

◆ MatrixFieldComponent() [3/4]

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

◆ MatrixFieldComponent() [4/4]

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

Member Function Documentation

◆ operator=() [1/2]

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

◆ operator=() [2/2]

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

◆ sync_to_device()

void mundy::mesh::FieldComponentBase::sync_to_device ( )
inlineinherited

◆ sync_to_host()

void mundy::mesh::FieldComponentBase::sync_to_host ( )
inlineinherited

◆ modify_on_device()

void mundy::mesh::FieldComponentBase::modify_on_device ( )
inlineinherited

◆ modify_on_host()

void mundy::mesh::FieldComponentBase::modify_on_host ( )
inlineinherited

◆ clear_host_sync_state()

void mundy::mesh::FieldComponentBase::clear_host_sync_state ( )
inlineinherited

◆ clear_device_sync_state()

void mundy::mesh::FieldComponentBase::clear_device_sync_state ( )
inlineinherited

◆ field_base()

const stk::mesh::FieldBase & mundy::mesh::FieldComponentBase::field_base ( ) const
inlineinherited