Gradient Augmented Levelset Implementation in CPU & GPU
|
#include <array.h>
Public Types | |
using | value_type = T_ARRAY |
Public Member Functions | |
Array (const Grid< typename T_GRID::value_type, T_GRID::dim > &grid) | |
~Array () | |
const std::size_t | size () const |
const T_GRID & | grid () const |
const Vec3< int > | numCells () const |
const std::vector< T_ARRAY > & | data () const |
const T_ARRAY & | operator[] (const std::size_t idx) const |
T_ARRAY & | operator[] (const std::size_t idx) |
const T_ARRAY & | operator() (const int i, const int j, const int k) const |
T_ARRAY & | operator() (const int i, const int j, const int k) |
const T_ARRAY & | operator() (const Vec3< int > node_id) const |
T_ARRAY & | operator() (const Vec3< int > node_id) |
void | operator= (const Array< T_GRID, T_ARRAY > &array) |
Friends | |
std::ostream & | operator<< (std::ostream &out, const Array< T_GRID, T_ARRAY > &array) |
Class to create Array.
using value_type = T_ARRAY |
|
inline |
const GALS::CPU::Vec3< int > numCells | ( | ) | const |
const T_ARRAY & operator() | ( | const int | i, |
const int | j, | ||
const int | k | ||
) | const |
T_ARRAY & operator() | ( | const int | i, |
const int | j, | ||
const int | k | ||
) |
const T_ARRAY & operator() | ( | const Vec3< int > | node_id | ) | const |
T_ARRAY & operator() | ( | const Vec3< int > | node_id | ) |
void operator= | ( | const Array< T_GRID, T_ARRAY > & | array | ) |
const T_ARRAY & operator[] | ( | const std::size_t | idx | ) | const |
T_ARRAY & operator[] | ( | const std::size_t | idx | ) |
const std::size_t size | ( | ) | const |
|
friend |