Go to the documentation of this file.
7 #ifndef INCLUDE_JET_ARRAY_UTILS_H_
8 #define INCLUDE_JET_ARRAY_UTILS_H_
24 template <
typename ArrayType,
typename T>
36 template <
typename ArrayType,
typename T>
49 template <
typename ArrayType1,
typename ArrayType2>
51 const ArrayType1& input,
61 template <
typename ArrayType1,
typename ArrayType2>
63 const ArrayType1& input,
76 template <
typename ArrayType1,
typename ArrayType2>
78 const ArrayType1& input,
91 template <
typename ArrayType1,
typename ArrayType2>
93 const ArrayType1& input,
108 template <
typename ArrayType1,
typename ArrayType2>
110 const ArrayType1& input,
124 template <
typename ArrayType1,
typename ArrayType2>
126 const ArrayType1& input,
149 template <
typename T>
153 unsigned int numberOfIterations,
170 template <
typename T>
174 unsigned int numberOfIterations,
183 template <
typename ArrayType>
188 #include "detail/array_utils-inl.h"
190 #endif // INCLUDE_JET_ARRAY_UTILS_H_
3-D read-only array accessor class.
Definition: array_accessor3.h:270
void convertToCsv(const ArrayType &data, std::ostream *strm)
Converts 2-D array to Comma Separated Value (CSV) stream.
void copyRange3(const ArrayType1 &input, size_t sizeX, size_t sizeY, size_t sizeZ, ArrayType2 *output)
Copies 3-D input array to output array with sizeX and sizeY.
void copyRange1(const ArrayType1 &input, size_t size, ArrayType2 *output)
Copies input array to output array with size.
Definition: advection_solver2.h:18
2-D read-only array accessor class.
Definition: array_accessor2.h:261
void setRange1(size_t size, const T &value, ArrayType *output)
Assigns value to 1-D array output with size.
3-D array accessor class.
Definition: array_accessor3.h:31
2-D array accessor class.
Definition: array_accessor2.h:31
void copyRange2(const ArrayType1 &input, size_t sizeX, size_t sizeY, ArrayType2 *output)
Copies 2-D input array to output array with sizeX and sizeY.
void extrapolateToRegion(const ConstArrayAccessor2< T > &input, const ConstArrayAccessor2< char > &valid, unsigned int numberOfIterations, ArrayAccessor2< T > output)
Extrapolates 2-D input data from 'valid' (1) to 'invalid' (0) region.