Gromacs  2019-beta1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Typedefs | Functions
paddedvector.h File Reference
#include <algorithm>
#include <vector>
#include "gromacs/math/vectypes.h"
#include "gromacs/utility/alignedallocator.h"
#include "gromacs/utility/allocator.h"
#include "gromacs/utility/arrayref.h"
+ Include dependency graph for paddedvector.h:
+ This graph shows which files directly or indirectly include this file:


Declares gmx::PaddedRVecVector.

Mark Abraham


struct  gmx::detail::PaddingTraits< T >
 Traits classes for handling padding for types used with PaddedVector. More...
class  gmx::PaddedVector< T, Allocator >
 PaddedVector is a container of elements in contiguous storage that allocates extra memory for safe SIMD-style loads for operations used in GROMACS. More...


template<typename T >
using gmx::PaddedArrayRef = ArrayRef< T >
 Temporary definition of a type usable for SIMD-style loads of RVec quantities from a view. More...


template<typename T >
index gmx::detail::computePaddedSize (index numElements)
 Returns the allocation size for PaddedVector that contains numElements elements plus padding for SIMD operations. More...
template<typename T , typename AllocatorType >
void gmx::detail::insertPaddingElements (std::vector< T, AllocatorType > *v, index newPaddedSize)
 Helper function to insert padding elements for most T.
template<typename T , typename AllocatorType >
void gmx::detail::insertPaddingElements (std::vector< BasicVector< T >, AllocatorType > *v, index newPaddedSize)
 Specialization of helper function to insert padding elements, used for BasicVector<T>.