Nalu
Nalu: a generalized unstructured massively parallel low Mach flow code designed to support a variety of energy applications of interest (most notably Wind ECP) built on the Sierra Toolkit and Trilinos solver Tpetra/Epetra stack. The open source BSD, clause 3 license model has been chosen for the code base. See LICENSE for more information. http://NaluCFD.org
SimdInterface.h
Go to the documentation of this file.
1 /*------------------------------------------------------------------------*/
2 /* Copyright 2014 National Renewable Energy Laboratory. */
3 /* This software is released under the license detailed */
4 /* in the file, LICENSE, which is located in the top-level Nalu */
5 /* directory structure */
6 /*------------------------------------------------------------------------*/
7 
8 #ifndef SIMDINTERFACE_H
9 #define SIMDINTERFACE_H
10 
18 #include "stk_simd/Simd.hpp"
19 
20 #include <vector>
21 
22 namespace sierra {
23 namespace nalu {
24 
25 typedef stk::simd::Double SimdDouble;
26 
27 typedef SimdDouble DoubleType;
28 
29 template<typename T>
30 using AlignedVector = std::vector<T, non_std::AlignedAllocator<T, 64>>;
31 
33 
34 } // nalu
35 } // sierra
36 
38 #endif /* SIMDINTERFACE_H */
Definition: ABLForcingAlgorithm.C:26
std::vector< T, non_std::AlignedAllocator< T, 64 >> AlignedVector
Definition: SimdInterface.h:30
AlignedVector< DoubleType > ScalarAlignedVector
Definition: SimdInterface.h:32
SimdDouble DoubleType
Definition: SimdInterface.h:27
stk::simd::Double SimdDouble
Definition: SimdInterface.h:25