Collective Variables Module - Developer Documentation
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Public Attributes | List of all members
colvars_gpu::array1d< T, N > Class Template Reference

Public Types

using value_type = T
 
using size_type = decltype(N)
 
using reference = value_type &
 
using const_reference = const value_type &
 
using pointer = T *
 
using const_pointer = const T *
 

Public Member Functions

COLVARS_HOST_DEVICE constexpr size_type size () const
 
COLVARS_HOST_DEVICE reference operator[] (size_type pos)
 
COLVARS_HOST_DEVICE const_reference operator[] (size_type pos) const
 

Public Attributes

m_data [N]
 

The documentation for this class was generated from the following file: