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

#include <FieldComponent.hpp>

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

Public Types

using our_t = VectorFieldComponent<ScalarType, N>
using base_t = impl::FieldComponent<ScalarType, impl::VectorFieldAccessPolicy<N>>
using ngp_field_type = stk::mesh::NgpField<ScalarType>
using canonical_access = access::vector<ScalarType, N>
using ngp_component_t = NgpVectorFieldComponent<ngp_field_type, N>

Public Member Functions

 VectorFieldComponent ()=default
 VectorFieldComponent (stk::mesh::Field< ScalarType > &field)
 VectorFieldComponent (const VectorFieldComponent &)=default
 VectorFieldComponent (VectorFieldComponent &&)=default
VectorFieldComponentoperator= (const VectorFieldComponent &)=default
VectorFieldComponentoperator= (VectorFieldComponent &&)=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

◆ our_t

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

◆ base_t

template<typename ScalarType, size_t N>
using mundy::mesh::VectorFieldComponent< ScalarType, N >::base_t = impl::FieldComponent<ScalarType, impl::VectorFieldAccessPolicy<N>>

◆ ngp_field_type

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

◆ canonical_access

template<typename ScalarType, size_t N>
using mundy::mesh::VectorFieldComponent< ScalarType, N >::canonical_access = access::vector<ScalarType, N>

◆ ngp_component_t

template<typename ScalarType, size_t N>
using mundy::mesh::VectorFieldComponent< ScalarType, N >::ngp_component_t = NgpVectorFieldComponent<ngp_field_type, N>

Constructor & Destructor Documentation

◆ VectorFieldComponent() [1/4]

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

◆ VectorFieldComponent() [2/4]

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

◆ VectorFieldComponent() [3/4]

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

◆ VectorFieldComponent() [4/4]

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

Member Function Documentation

◆ operator=() [1/2]

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

◆ operator=() [2/2]

template<typename ScalarType, size_t N>
VectorFieldComponent & mundy::mesh::VectorFieldComponent< ScalarType, N >::operator= ( VectorFieldComponent< ScalarType, N > && )
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