OpenTwin 0.1
OpenTwin
 
Loading...
Searching...
No Matches
DimensionPadding.h
Go to the documentation of this file.
1#pragma once
2
3#include <memory>
4
8
9template<class T>
11{
12public:
13 DimensionPadding(Alignment alignment, index_t degreesOfFreedom);
16
17 const index_t GetPaddedDegreesOfFreedom() const { return _degreesOfFreedomPadded; };
18 const index_t GetNumberOfIntrinsicVectors() const { return _numberOfIntrinsicVectors; };
19
20 const IntrinsicMasks * GetIntrinsicMasks() const { return _masks.get(); }
21
22 const int GetLengthOfIntrinsicVector() const { return _lengthOfIntrinsicVector; };
23 const Alignment GetAlignment() const { return _alignment; };
24private:
25 Alignment _alignment;
26
27 index_t _degreesOfFreedomPadded = 0;
28 int _numberOfPaddedEntries = 0;
29 index_t _numberOfIntrinsicVectors = 0;
30
31 int _lengthOfIntrinsicVector = 0;
32 std::unique_ptr<IntrinsicMasks> _masks;
33
34};
35
Alignment
Definition Allignments.h:3
int64_t index_t
Definition SystemDependentDefines.h:13
Definition DimensionPadding.h:11
const IntrinsicMasks * GetIntrinsicMasks() const
Definition DimensionPadding.h:20
DimensionPadding & operator=(DimensionPadding &other)=delete
const index_t GetNumberOfIntrinsicVectors() const
Definition DimensionPadding.h:18
DimensionPadding(DimensionPadding &other)=delete
const Alignment GetAlignment() const
Definition DimensionPadding.h:23
DimensionPadding(Alignment alignment, index_t degreesOfFreedom)
Definition DimensionPadding.hpp:7
const int GetLengthOfIntrinsicVector() const
Definition DimensionPadding.h:22
const index_t GetPaddedDegreesOfFreedom() const
Definition DimensionPadding.h:17
Definition IntrinsicMasks.h:6